From 07d578cc9c27fb62b648709d4f338497a580ac48 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 14 Apr 2022 10:50:20 +0100 Subject: [PATCH] ADD MIGRATION --- migrations/027.demolish-date.down.sql | 2 ++ migrations/027.demolish-date.up.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 migrations/027.demolish-date.down.sql create mode 100644 migrations/027.demolish-date.up.sql diff --git a/migrations/027.demolish-date.down.sql b/migrations/027.demolish-date.down.sql new file mode 100644 index 00000000..f1546a0e --- /dev/null +++ b/migrations/027.demolish-date.down.sql @@ -0,0 +1,2 @@ +ALTER TABLE buildings +DROP COLUMN IF EXISTS latest_demolish_date; \ No newline at end of file diff --git a/migrations/027.demolish-date.up.sql b/migrations/027.demolish-date.up.sql new file mode 100644 index 00000000..8a96bb4d --- /dev/null +++ b/migrations/027.demolish-date.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE buildings +ADD COLUMN IF NOT EXISTS latest_demolish_date DATE; \ No newline at end of file