summaryrefslogtreecommitdiffstats
path: root/lib/private/db
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-05-01 23:03:45 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-05-01 23:03:45 +0200
commit6694129cbcbd8557434b50cbdad470c126aa9c88 (patch)
tree299dbfe9a350f406fc50de8cd349de761a8fd013 /lib/private/db
parentbf681713c85ae74e004b0684372940a7d86d64f1 (diff)
downloadnextcloud-server-6694129cbcbd8557434b50cbdad470c126aa9c88.tar.gz
nextcloud-server-6694129cbcbd8557434b50cbdad470c126aa9c88.zip
columns should be nullable by default
Diffstat (limited to 'lib/private/db')
-rw-r--r--lib/private/db/mdb2schemareader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/db/mdb2schemareader.php b/lib/private/db/mdb2schemareader.php
index 1c16d03eab2..d2541e66756 100644
--- a/lib/private/db/mdb2schemareader.php
+++ b/lib/private/db/mdb2schemareader.php
@@ -130,7 +130,7 @@ class MDB2SchemaReader {
* @throws \DomainException
*/
private function loadField($table, $xml) {
- $options = array();
+ $options = array( 'notnull' => false );
foreach ($xml->children() as $child) {
/**
* @var \SimpleXMLElement $child