From 31454e8299a4318f517413cafc40900d6bc8510b Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Tue, 1 Oct 2019 17:44:04 +0100 Subject: [PATCH] Delete orig_building_use from 012.type migration Remove syntax error from migration and remove unneeded column --- migrations/012.type.down.sql | 3 --- migrations/012.type.up.sql | 4 ---- 2 files changed, 7 deletions(-) diff --git a/migrations/012.type.down.sql b/migrations/012.type.down.sql index 776a86d3..414d04b0 100644 --- a/migrations/012.type.down.sql +++ b/migrations/012.type.down.sql @@ -1,6 +1,3 @@ ---Original building use, this is same NLUD fields as current building use -ALTER TABLE buildings DROP COLUMN IF EXISTS original_building_use; - -- Building attachment, ENUM: Detached, Semi-detached, End-Terrace, Mid-Terrace ALTER TABLE buildings DROP COLUMN IF EXISTS building_attachment_form; diff --git a/migrations/012.type.up.sql b/migrations/012.type.up.sql index 496ae71d..f925dedf 100644 --- a/migrations/012.type.up.sql +++ b/migrations/012.type.up.sql @@ -1,7 +1,3 @@ ---Original building use, this is same NLUD fields as current building use -ALTER TABLE buildings - ADD COLUMN IF NOT EXISTS original_building_use; - -- Building attachment, ENUM: Detached, Semi-detached, End-Terrace, Mid-Terrace CREATE TYPE building_attachment_form AS ENUM ('Detached',