summaryrefslogtreecommitdiffstats
path: root/lib/private/db/mdb2schemareader.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/db/mdb2schemareader.php')
-rw-r--r--lib/private/db/mdb2schemareader.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/db/mdb2schemareader.php b/lib/private/db/mdb2schemareader.php
index 511bd1c90bd..b1fd2454cb0 100644
--- a/lib/private/db/mdb2schemareader.php
+++ b/lib/private/db/mdb2schemareader.php
@@ -183,6 +183,14 @@ class MDB2SchemaReader {
$primary = $this->asBool($child);
$options['primary'] = $primary;
break;
+ case 'precision':
+ $precision = (string)$child;
+ $options['precision'] = $precision;
+ break;
+ case 'scale':
+ $scale = (string)$child;
+ $options['scale'] = $scale;
+ break;
default:
throw new \DomainException('Unknown element: ' . $child->getName());