summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-03-28 14:50:30 +0100
committerDavid Baker <dave@matrix.org>2018-03-28 14:50:30 +0100
commita838444a70195588de55a514524c4af720099177 (patch)
treea703026db1e8d299487b9c0e97f8763cd42feeed /synapse
parentpep8 (diff)
downloadsynapse-a838444a70195588de55a514524c4af720099177.tar.xz
Grr. Copy the definition from is_admin
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/schema/delta/48/groups_joinable.sql2
1 files changed, 1 insertions, 1 deletions
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;