diff --git a/lib/db/mdb2schemareader.php b/lib/db/mdb2schemareader.php index 0ead9528c93..b88e0f60419 100644 --- a/lib/db/mdb2schemareader.php +++ b/lib/db/mdb2schemareader.php @@ -167,6 +167,9 @@ class OC_DB_MDB2SchemaReader { $type = 'bigint'; } } + if ($type == 'boolean' && isset($options['default'])){ + $options['default'] = self::asBool($options['default']); + } if (!empty($options['autoincrement']) && !empty($options['notnull'])) { $options['primary'] = true;