aboutsummaryrefslogtreecommitdiffstats
path: root/lib/db
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-07-05 21:42:37 +0200
committerBart Visscher <bartv@thisnet.nl>2013-07-05 21:42:37 +0200
commitb8a7e9730159f66d86e2b09f80c7c420b479646b (patch)
treefc1a946d2c0213b608c5e92d1aa2f4c5aa4c7c7c /lib/db
parentb04e09a90118bfba8faa1fc6a5381c26148a4796 (diff)
downloadnextcloud-server-b8a7e9730159f66d86e2b09f80c7c420b479646b.tar.gz
nextcloud-server-b8a7e9730159f66d86e2b09f80c7c420b479646b.zip
Add comment to column definition
Diffstat (limited to 'lib/db')
-rw-r--r--lib/db/mdb2schemareader.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/db/mdb2schemareader.php b/lib/db/mdb2schemareader.php
index 702482b569f..c506aa26521 100644
--- a/lib/db/mdb2schemareader.php
+++ b/lib/db/mdb2schemareader.php
@@ -134,6 +134,10 @@ class OC_DB_MDB2SchemaReader {
$default = (string)$child;
$options['default'] = $default;
break;
+ case 'comments':
+ $comment = (string)$child;
+ $options['comment'] = $comment;
+ break;
default:
throw new DomainException('Unknown element: '.$child->getName());