summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2018-03-28 14:23:00 +0100
committerDavid Baker <dave@matrix.org>2018-03-28 14:23:00 +0100
commita1642708331ef64e38f4d2708cee9eefbc3d391e (patch)
tree1a68061903514637c36bbc11b291e05c069a9272 /synapse/storage
parentAdd schema delta file (diff)
downloadsynapse-a1642708331ef64e38f4d2708cee9eefbc3d391e.tar.xz
Make column definition that works on both dbs
Diffstat (limited to 'synapse/storage')
-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 fb9c7a8d1c..39c8fed46c 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 0;
+ALTER TABLE groups ADD COLUMN is_joinable BOOLEAN NOT NULL DEFAULT (CAST(0 AS BOOLEAN));