be-graphes-map-generator/script/pgsnapshot_schema_0.6_upgrade_4-5.sql
2018-02-24 22:43:28 +01:00

5 lines
217 B
SQL

-- Add the relation members primary key.
ALTER TABLE ONLY relation_members ADD CONSTRAINT pk_relation_members PRIMARY KEY (relation_id, sequence_id);
-- Upgrade the schema version.
UPDATE schema_info SET version = 5;