diff options
Diffstat (limited to 'db/schema.sql')
| -rw-r--r-- | db/schema.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/schema.sql b/db/schema.sql new file mode 100644 index 0000000..e6796c8 --- /dev/null +++ b/db/schema.sql @@ -0,0 +1,12 @@ +CREATE TABLE IF NOT EXISTS "schema_migrations" (version varchar(255) primary key); +CREATE TABLE mountain_passes ( + id integer primary key, + external_id text unique not null, + name text not null, + country_code text not null, + department_code text not null, + elevation integer not null +); +-- Dbmate schema migrations +INSERT INTO "schema_migrations" (version) VALUES + ('20250802140659'); |