add current_landuse_verified update to buildings
This commit is contained in:
parent
adb4bfa904
commit
8b761b8ddc
@ -6,4 +6,9 @@ ALTER TABLE buildings ADD CONSTRAINT current_landuse_source_detail_len CHECK (le
|
||||
|
||||
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;
|
||||
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_verified BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
UPDATE buildings as b
|
||||
SET current_landuse_verified = TRUE
|
||||
FROM building_verification as v
|
||||
WHERE b.building_id = v.building_id;
|
Loading…
Reference in New Issue
Block a user