Rename the mysql_foreign_keys option to foreign_keys

And apply it universally.
This commit is contained in:
Alexei Sorokin
2020-08-17 14:12:49 +03:00
parent 27045f03f5
commit be5bec9887
3 changed files with 4 additions and 4 deletions

View File

@@ -616,9 +616,6 @@ class MysqlSchema extends Schema
$col['type'] = $this->mapType($col);
unset($col['size']);
}
if (!common_config('db', 'mysql_foreign_keys')) {
unset($tableDef['foreign keys']);
}
return $tableDef;
}
}