1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-09 09:26:50 +00:00

Make column definition that works on both dbs

This commit is contained in:
David Baker 2018-03-28 14:23:00 +01:00
parent 352e1ff9ed
commit a164270833

View file

@ -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));