Skip to content

Commit

Permalink
Delete orig_building_use from 012.type migration
Browse files Browse the repository at this point in the history
Remove syntax error from migration and remove unneeded column
  • Loading branch information
mz8i committed Oct 1, 2019
1 parent fb0358e commit 31454e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions migrations/012.type.down.sql
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
4 changes: 0 additions & 4 deletions migrations/012.type.up.sql
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit 31454e8

Please sign in to comment.