forked from GNUsocial/gnu-social
Rename the mysql_foreign_keys option to foreign_keys
And apply it universally.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user