Commit 9b4ef6e9 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-101' into 2.0.x

parents 986830ef 8c1132ea
......@@ -155,7 +155,9 @@ class SqliteSchemaManager extends AbstractSchemaManager
case 'real':
case 'decimal':
case 'numeric':
list($precision, $scale) = array_map('trim', explode(', ', $tableColumn['length']));
if (isset($tableColumn['length'])) {
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