diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-14 15:23:48 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-14 15:23:48 +0200 |
| commit | eac1145e29e1a2a2ff5d9654ca010071a5840843 (patch) | |
| tree | 59e62e1e0f67b71083c30e4d7f234a8370075c9a /db/migrations | |
| parent | 991ab2f179b2d84e8b0ce6d0634b4033f20e4b86 (diff) | |
feat: add official climb workflow
Diffstat (limited to 'db/migrations')
| -rw-r--r-- | db/migrations/20260813000000_official_climbs.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrations/20260813000000_official_climbs.sql b/db/migrations/20260813000000_official_climbs.sql new file mode 100644 index 0000000..0b1696a --- /dev/null +++ b/db/migrations/20260813000000_official_climbs.sql @@ -0,0 +1,14 @@ +-- migrate:up +create table official_climbs ( + id integer primary key, + name text not null, + start_latitude real not null, + start_longitude real not null, + end_latitude real not null, + end_longitude real not null, + created_at text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')), + updated_at text not null default (strftime('%Y-%m-%dT%H:%M:%SZ', 'now')) +); + +-- migrate:down +drop table official_climbs; |