From 548aefed24f3243342349a068549d69d7212c2a4 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Mon, 3 Oct 2022 08:51:56 +0200 Subject: [PATCH] add missing promised migration of data --- migrations/033.redesign_protection_designation.up.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/migrations/033.redesign_protection_designation.up.sql b/migrations/033.redesign_protection_designation.up.sql index b3694ddb..b23ad38e 100644 --- a/migrations/033.redesign_protection_designation.up.sql +++ b/migrations/033.redesign_protection_designation.up.sql @@ -6,6 +6,11 @@ SET planning_local_list_url = 'identified as listed: please replace with link' WHERE planning_local_list_url = '' 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 ALTER TABLE buildings DROP COLUMN IF EXISTS planning_nhle_link;