diff --git a/migrations/028.landuse-source.up.sql b/migrations/028.landuse-source.up.sql index 01b47257..bc6925e3 100644 --- a/migrations/028.landuse-source.up.sql +++ b/migrations/028.landuse-source.up.sql @@ -11,4 +11,5 @@ ALTER TABLE buildings ADD COLUMN IF NOT EXISTS current_landuse_verified BOOLEAN UPDATE buildings as b SET current_landuse_verified = TRUE FROM building_verification as v -WHERE b.building_id = v.building_id; \ No newline at end of file +WHERE b.building_id = v.building_id +AND v.attribute = 'current_landuse_group'; \ No newline at end of file