limit current_landuse_verified to the correct attribute
This commit is contained in:
parent
8b761b8ddc
commit
0e58f0ccca
@ -11,4 +11,5 @@ ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_verified BOOLEAN
|
|||||||
UPDATE buildings as b
|
UPDATE buildings as b
|
||||||
SET current_landuse_verified = TRUE
|
SET current_landuse_verified = TRUE
|
||||||
FROM building_verification as v
|
FROM building_verification as v
|
||||||
WHERE b.building_id = v.building_id;
|
WHERE b.building_id = v.building_id
|
||||||
|
AND v.attribute = 'current_landuse_group';
|
Loading…
Reference in New Issue
Block a user