summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b88e0f60419..e9561a7ef1d 100644
--- a/lib/db/mdb2schemareader.php
+++ b/lib/db/mdb2schemareader.php
@@ -138,6 +138,10 @@ class OC_DB_MDB2SchemaReader {
$comment = (string)$child;
$options['comment'] = $comment;
break;
+ case 'primary':
+ $primary = self::asBool($child);
+ $options['primary'] = $primary;
+ break;
default:
throw new DomainException('Unknown element: '.$child->getName());