From f0d6d2816997ae4272bf4fdfb6eebf3d025acfe2 Mon Sep 17 00:00:00 2001 From: Mike Simpson Date: Thu, 6 Apr 2023 15:43:55 +0100 Subject: [PATCH] Add Survival Status migrations --- migrations/038.survival_status.down.sql | 2 ++ migrations/038.survival_status.up.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 migrations/038.survival_status.down.sql create mode 100644 migrations/038.survival_status.up.sql diff --git a/migrations/038.survival_status.down.sql b/migrations/038.survival_status.down.sql new file mode 100644 index 00000000..abb4ce65 --- /dev/null +++ b/migrations/038.survival_status.down.sql @@ -0,0 +1,2 @@ +ALTER TABLE buildings DROP COLUMN IF EXISTS survival_status; +ALTER TABLE buildings DROP COLUMN IF EXISTS survival_source; \ No newline at end of file diff --git a/migrations/038.survival_status.up.sql b/migrations/038.survival_status.up.sql new file mode 100644 index 00000000..7d2775e4 --- /dev/null +++ b/migrations/038.survival_status.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE buildings ADD COLUMN IF NOT EXISTS survival_status text; +ALTER TABLE buildings ADD COLUMN IF NOT EXISTS survival_source text; \ No newline at end of file