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;
|
|
|
|
|
2023-01-04 07:17:56 -05:00
|
|
|
-- -- Ownership perception, would you describe this as a community asset?
|
2021-09-24 13:31:03 -04:00
|
|
|
-- -- 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
|
2021-10-08 08:19:48 -04:00
|
|
|
DROP COLUMN IF EXISTS community_public_ownership_sources;
|
2021-09-27 06:47:27 -04:00
|
|
|
|