From a838444a70195588de55a514524c4af720099177 Mon Sep 17 00:00:00 2001
From: David Baker <dave@matrix.org>
Date: Wed, 28 Mar 2018 14:50:30 +0100
Subject: [PATCH] Grr. Copy the definition from is_admin

---
 synapse/storage/schema/delta/48/groups_joinable.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/synapse/storage/schema/delta/48/groups_joinable.sql b/synapse/storage/schema/delta/48/groups_joinable.sql
index 39c8fed46c..9e106e909c 100644
--- a/synapse/storage/schema/delta/48/groups_joinable.sql
+++ b/synapse/storage/schema/delta/48/groups_joinable.sql
@@ -13,4 +13,4 @@
  * limitations under the License.
  */
 
-ALTER TABLE groups ADD COLUMN is_joinable BOOLEAN NOT NULL DEFAULT (CAST(0 AS BOOLEAN));
+ALTER TABLE groups ADD COLUMN is_joinable BOOL DEFAULT 0 NOT NULL;
-- 
GitLab