0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-18 09:08:55 +02: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));