]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add comment to column definition
authorBart Visscher <bartv@thisnet.nl>
Fri, 5 Jul 2013 19:42:37 +0000 (21:42 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 5 Jul 2013 19:42:37 +0000 (21:42 +0200)
lib/db/mdb2schemareader.php

index 702482b569fc1bd5a362e84a5a6ee8d6118aa7fe..c506aa26521976091c58ec259a41fd1cbadb5ca2 100644 (file)
@@ -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());