colouring-montreal/migrations/012.community.down.sql
Dominic H 83ce6423d1 WIP for #432
- Also noted agreed standard for file naming extensions to migrations 
file
2019-09-27 16:05:35 +01:00

14 lines
492 B
SQL

-- Remove community fields
-- Ownership type, enumerate type from:
ALTER TABLE buildings DROP COLUMN IF EXISTS ownership_type;
-- Ownerhsip perception, would you describe this as a community asset?
-- Boolean yes / no
ALTER TABLE buildings DROP COLUMN IF EXISTS ownership_perception;
-- Historic ownership type / perception
-- Has this building ever been used for community or public services activities?
-- Boolean yes / no
ALTER TABLE buildings DROP COLUMN IF EXISTS ownership_historic;