Commit 8fd4886a authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-380' into 2.3

parents 8d0bd31e d6da2ffa
......@@ -163,7 +163,10 @@ class SqliteSchemaManager extends AbstractSchemaManager
case 'decimal':
case 'numeric':
if (isset($tableColumn['length'])) {
list($precision, $scale) = array_map('trim', explode(', ', $tableColumn['length']));
if (strpos($tableColumn['length'], ',') === false) {
$tableColumn['length'] .= ",0";
}
list($precision, $scale) = array_map('trim', explode(',', $tableColumn['length']));
}
$length = null;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment