be-graphes-map-generator/script/pgsnapshot_schema_0.6_upgra...

5 lines
217 B
SQL
Executable File

-- 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;