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