diff options
author | David Baker <dave@matrix.org> | 2018-03-28 14:23:00 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-03-28 14:23:00 +0100 |
commit | a1642708331ef64e38f4d2708cee9eefbc3d391e (patch) | |
tree | 1a68061903514637c36bbc11b291e05c069a9272 /synapse/storage/schema/delta | |
parent | Add schema delta file (diff) | |
download | synapse-a1642708331ef64e38f4d2708cee9eefbc3d391e.tar.xz |
Make column definition that works on both dbs
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r-- | synapse/storage/schema/delta/48/groups_joinable.sql | 2 |
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)); |