2021-09-24 13:31:03 -04:00
|
|
|
-- -- 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
|
2021-09-27 06:47:27 -04:00
|
|
|
DROP COLUMN IF EXISTS community_local_significance_total;
|
|
|
|
|
|
|
|
ALTER TABLE buildings
|
|
|
|
DROP COLUMN IF EXISTS community_activities;
|
|
|
|
|
|
|
|
ALTER TABLE buildings
|
|
|
|
DROP COLUMN IF EXISTS community_public_ownership;
|
|
|
|
|
|
|
|
DROP TYPE IF EXISTS public_ownership_type;
|
|
|
|
|
|
|
|
ALTER TABLE buildings
|
|
|
|
DROP COLUMN IF EXISTS community_public_ownership_source;
|
|
|
|
|