Commit 9694b47a authored by Gabriel Caruso's avatar Gabriel Caruso

CS Fixes

parent a5738956
......@@ -386,9 +386,9 @@ class OraclePlatform extends AbstractPlatform
*/
protected function _getCreateTableSQL($table, array $columns, array $options = [])
{
$indexes = $options['indexes'] ?? [];
$indexes = $options['indexes'] ?? [];
$options['indexes'] = [];
$sql = parent::_getCreateTableSQL($table, $columns, $options);
$sql = parent::_getCreateTableSQL($table, $columns, $options);
foreach ($columns as $name => $column) {
if (isset($column['sequence'])) {
......
......@@ -292,8 +292,8 @@ class SqliteSchemaManager extends AbstractSchemaManager
$tableColumn['length'] = $length;
}
$dbType = strtolower($tableColumn['type']);
$length = $tableColumn['length'] ?? null;
$dbType = strtolower($tableColumn['type']);
$length = $tableColumn['length'] ?? null;
$unsigned = false;
if (strpos($dbType, ' unsigned') !== false) {
......
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