Add ability to mark constructions as garden buildings

This commit is contained in:
Mateusz Konieczny 2022-01-11 17:51:07 +01:00
parent e12b544503
commit f130578836
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DELETE FROM reference_tables.landuse_classifications WHERE landuse_id = 'U071X';
DELETE FROM reference_tables.buildings_landuse_group WHERE landuse_id = 'U071X';

View File

@ -0,0 +1,14 @@
-- equivalent to 015 migration
INSERT INTO reference_tables.landuse_classifications
(landuse_id, description, level, parent_id, is_used)
VALUES
-- group
('U071X','Garden buildings','group','U070',True);
-- equivalent to 016 migration
INSERT INTO reference_tables.buildings_landuse_group
(landuse_id, description, parent_order_id)
VALUES
-- group
('U071X','Garden buildings','U070');