Make column definition that works on both dbs

pull/3045/head
David Baker 2018-03-28 14:23:00 +01:00
parent 352e1ff9ed
commit a164270833
1 changed files with 1 additions and 1 deletions

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