aboutsummaryrefslogtreecommitdiff
path: root/db/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema.sql')
-rw-r--r--db/schema.sql13
1 files changed, 3 insertions, 10 deletions
diff --git a/db/schema.sql b/db/schema.sql
index 4c03183..60505bb 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -1,13 +1,5 @@
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
-, latitude real, longitude real);
-CREATE TABLE osm_passes (
+CREATE TABLE IF NOT EXISTS "mountain_passes" (
id integer primary key,
osm_id integer unique not null,
name text,
@@ -47,4 +39,5 @@ INSERT INTO "schema_migrations" (version) VALUES
('20260804000000'),
('20260807000000'),
('20260813000000'),
- ('20260820184307');
+ ('20260820184307'),
+ ('20260821000000');