Add ability to mark constructions as garden buildings
This commit is contained in:
parent
e12b544503
commit
f130578836
2
migrations/023.garden_buildings.down.sql
Normal file
2
migrations/023.garden_buildings.down.sql
Normal 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';
|
14
migrations/023.garden_buildings.up.sql
Normal file
14
migrations/023.garden_buildings.up.sql
Normal 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');
|
Loading…
Reference in New Issue
Block a user