update buildings table to have current_landuse_verified bool
This commit is contained in:
parent
2025a286ed
commit
aa138198d8
@ -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_source_detail;
|
||||||
|
|
||||||
ALTER TABLE buildings DROP COLUMN IF EXISTS current_landuse_link;
|
ALTER TABLE buildings DROP COLUMN IF EXISTS current_landuse_link;
|
||||||
|
|
||||||
|
ALTER TABLE buildings DROP COLUMN IF NOT EXISTS current_landuse_verified;
|
||||||
|
@ -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 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 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[];
|
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;
|
Loading…
Reference in New Issue
Block a user