25 lines
880 B
SQL
25 lines
880 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;
|
|
|
|
ALTER TABLE building_user_attributes
|
|
DROP COLUMN IF EXISTS community_type_worth_keeping;
|
|
|
|
ALTER TABLE building_user_attributes
|
|
DROP COLUMN IF EXISTS community_type_worth_keeping_reasons;
|
|
|
|
ALTER TABLE building_user_attributes
|
|
DROP COLUMN IF EXISTS community_local_significance;
|
|
|
|
ALTER TABLE buildings
|
|
DROP COLUMN IF EXISTS community_local_significance_total; |