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;
|
||||||
|
@ -5,3 +5,5 @@ ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_source_detail var
|
|||||||
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