summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/db/mdb2schemareader.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/db/mdb2schemareader.php b/lib/db/mdb2schemareader.php
index 7a7efe551c1..00b880a68b4 100644
--- a/lib/db/mdb2schemareader.php
+++ b/lib/db/mdb2schemareader.php
@@ -144,6 +144,7 @@ class OC_DB_MDB2SchemaReader {
if (empty($options['default'])) {
if (empty($options['notnull']) || !$options['notnull']) {
unset($options['default']);
+ $options['notnull'] = false;
}
if ($type == 'integer') {
$options['default'] = 0;