diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-06-24 22:37:07 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-06-24 22:37:07 +0200 |
commit | d1b76f1b8829bcaad62f987650929abebf2faf03 (patch) | |
tree | ae65dcd6a7ada0d2e27afb4efdce7ca5a6f2d8a6 /lib | |
parent | 377e9a8677afc92bca61fb1bb055901db8457896 (diff) | |
download | nextcloud-server-d1b76f1b8829bcaad62f987650929abebf2faf03.tar.gz nextcloud-server-d1b76f1b8829bcaad62f987650929abebf2faf03.zip |
Fix not null with empty default
Diffstat (limited to 'lib')
-rw-r--r-- | lib/db/mdb2schemareader.php | 1 |
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; |