2022-09-20 04:34:22 -04:00
|
|
|
--into a single link from array of links
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_nhle_link text[];
|
|
|
|
|
|
|
|
--changed into URL
|
|
|
|
ALTER TABLE buildings DROP COLUMN IF EXISTS planning_in_apa_url;
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_in_apa boolean DEFAULT FALSE;
|
|
|
|
|
|
|
|
ALTER TABLE buildings DROP COLUMN IF EXISTS planning_heritage_at_risk_url;
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_heritage_at_risk_id int DEFAULT NULL;
|
|
|
|
|
2022-09-29 08:40:06 -04:00
|
|
|
ALTER TABLE buildings DROP COLUMN IF EXISTS planning_in_conservation_area_id;
|
2022-09-20 04:34:22 -04:00
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_in_conservation_area boolean DEFAULT FALSE;
|
2022-09-29 08:40:06 -04:00
|
|
|
ALTER TABLE buildings DROP COLUMN IF EXISTS planning_in_conservation_area_url;
|
2022-09-20 04:34:22 -04:00
|
|
|
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_in_glher boolean DEFAULT FALSE;
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_apa_name VARCHAR DEFAULT '';
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_apa_tier smallint DEFAULT NULL;
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_in_local_list boolean DEFAULT FALSE;
|
|
|
|
ALTER TABLE buildings ADD COLUMN IF NOT EXISTS planning_in_historic_area_assessment boolean DEFAULT FALSE;
|
|
|
|
|