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

@@ -1115,6 +1115,9 @@ class Schema
if (common_config('search', 'type') !== 'fulltext') {
unset($tableDef['fulltext indexes']);
}
if (!common_config('db', 'foreign_keys')) {
unset($tableDef['foreign keys']);
}
return $tableDef;
}