colouring-montreal/migrations/017.construction-materials.down.sql
Tom Russell d1c42a40a6 Rename construction migration to 017, fix tile definition
Note that enum types need to be cast to ::text for mapnik
rules to work as expected.
2020-04-17 17:01:21 +01:00

13 lines
485 B
SQL

-- Primary material (brick/clay tile, slate, steel/metal, timber, stone, glass, concrete,
-- natural-green or thatch, asphalt or other)
ALTER TABLE buildings DROP COLUMN IF EXISTS construction_core_material;
--Secondary material
ALTER TABLE buildings DROP COLUMN IF EXISTS construction_secondary_materials;
--Primary roof material
ALTER TABLE buildings DROP COLUMN IF EXISTS construction_roof_covering;
DROP TYPE IF EXISTS construction_materials;
DROP TYPE IF EXISTS roof_covering;