colouring-montreal/migrations/024.unclassified_buildings.up.sql
Mateusz Konieczny fe94a51da4 Modify already commited migration
this avoids confusing migration in repository that could damage data, as meaning of the data in database mismatched decription
2022-02-14 13:36:19 +01:00

31 lines
832 B
SQL

-- equivalent to 015 migration
INSERT INTO reference_tables.landuse_classifications
(landuse_id, description, level, parent_id, is_used)
VALUES
-- order
('U15X','Unclassified, presumed non-residential','order',NULL,True);
-- equivalent to 016 migration
INSERT INTO reference_tables.buildings_landuse_order
(landuse_id, description)
VALUES
-- order
('U15X','Unclassified, presumed non-residential');
-- equivalent to 015 migration
INSERT INTO reference_tables.landuse_classifications
(landuse_id, description, level, parent_id, is_used)
VALUES
-- group
('U073X','Unclassified, presumed non-residential','group','U15X',True);
-- equivalent to 016 migration
INSERT INTO reference_tables.buildings_landuse_group
(landuse_id, description, parent_order_id)
VALUES
-- group
('U073X','Unclassified, presumed non-residential','U15X');