diff --git a/migrations/028.landuse-source.down.sql b/migrations/028.landuse-source.down.sql index 1c6f7c09..d9ededda 100644 --- a/migrations/028.landuse-source.down.sql +++ b/migrations/028.landuse-source.down.sql @@ -3,3 +3,5 @@ ALTER TABLE buildings DROP COLUMN IF EXISTS current_landuse_source; ALTER TABLE buildings DROP COLUMN IF EXISTS current_landuse_source_detail; ALTER TABLE buildings DROP COLUMN IF EXISTS current_landuse_link; + +ALTER TABLE buildings DROP COLUMN IF NOT EXISTS current_landuse_verified; diff --git a/migrations/028.landuse-source.up.sql b/migrations/028.landuse-source.up.sql index 3dbd9557..4a295ff0 100644 --- a/migrations/028.landuse-source.up.sql +++ b/migrations/028.landuse-source.up.sql @@ -4,4 +4,6 @@ ALTER TABLE buildings ADD CONSTRAINT buildings_current_landuse_source_len CHECK ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_source_detail varchar; ALTER TABLE buildings ADD CONSTRAINT current_landuse_source_detail_len CHECK (length(current_landuse_source_detail) < 500); -ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_link text[]; \ No newline at end of file +ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_link text[]; + +ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_verified BOOLEAN NOT NULL DEFAULT FALSE; \ No newline at end of file