From 1b66cd246d725c88f1fcac683f5619bf67470208 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 23 Feb 2022 01:06:20 +0100 Subject: [PATCH] Add missing migrations --- migrations/026.community_use.down.sql | 8 ++++++++ migrations/026.community_use.up.sql | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 migrations/026.community_use.down.sql create mode 100644 migrations/026.community_use.up.sql diff --git a/migrations/026.community_use.down.sql b/migrations/026.community_use.down.sql new file mode 100644 index 00000000..79497c3f --- /dev/null +++ b/migrations/026.community_use.down.sql @@ -0,0 +1,8 @@ +ALTER TABLE buildings +DROP COLUMN IF EXISTS community_activities_current; + +ALTER TABLE buildings +DROP COLUMN IF EXISTS community_activities_past; + +ALTER TABLE buildings +DROP COLUMN IF EXISTS community_activities_always; diff --git a/migrations/026.community_use.up.sql b/migrations/026.community_use.up.sql new file mode 100644 index 00000000..1243eefa --- /dev/null +++ b/migrations/026.community_use.up.sql @@ -0,0 +1,8 @@ +ALTER TABLE buildings +ADD COLUMN community_activities_current BOOLEAN NULL; + +ALTER TABLE buildings +ADD COLUMN community_activities_past BOOLEAN NULL; + +ALTER TABLE buildings +ADD COLUMN community_activities_always BOOLEAN NULL;