add missing promised migration of data

This commit is contained in:
Mateusz Konieczny 2022-10-03 08:51:56 +02:00
parent 38223aa0de
commit 548aefed24

View File

@ -6,6 +6,11 @@ SET planning_local_list_url = 'identified as listed: please replace with link'
WHERE planning_local_list_url = '' WHERE planning_local_list_url = ''
AND planning_in_local_list; AND planning_in_local_list;
UPDATE buildings
SET planning_in_conservation_area_url = 'identified as within conservation area: please replace with link'
WHERE planning_in_conservation_area_url = ''
AND planning_in_conservation_area;
--no need to store both id and link that can be derived from it --no need to store both id and link that can be derived from it
ALTER TABLE buildings DROP COLUMN IF EXISTS planning_nhle_link; ALTER TABLE buildings DROP COLUMN IF EXISTS planning_nhle_link;