Commit 1bd39f36 authored by Bob den Otter's avatar Bob den Otter

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

parent eb67796f
......@@ -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