Commit d6da2ffa authored by Bob den Otter's avatar Bob den Otter Committed by Benjamin Eberlei

Extra fix: Don't throw a notice, when length has no comma.

parent 9d4695fa
......@@ -163,6 +163,9 @@ class SqliteSchemaManager extends AbstractSchemaManager
case 'decimal':
case 'numeric':
if (isset($tableColumn['length'])) {
if (strpos($tableColumn['length'], ',') === false) {
$tableColumn['length'] .= ",0";
}
list($precision, $scale) = array_map('trim', explode(',', $tableColumn['length']));
}
$length = null;
......
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