We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getForeignKeys()
SQLite:
[['auth_item', 'child' => 'name'], ['auth_item', 'parent' => 'name']];
MySQL:
['auth_item_child_ibfk_1' => ['auth_item', 'child' => 'name'], 'auth_item_child_ibfk_2' => ['auth_item', 'parent' => 'name']];
The text was updated successfully, but these errors were encountered:
Do you mean that SQLite does not return FK names?
Sorry, something went wrong.
I mean integer and string keys difference. Maybe add docs for now.
Foreign key in MySQL supports index name, and in SQLite don't supports, so in SQLite used integer ID (seems, it's just number in order) as name.
I think improve phpdoc and make more specified psalm type for TableSchemaInterface::getForeignKeys() result will be enough.
TableSchemaInterface::getForeignKeys()
Decided to use ForeignKeyConstraint[] instead of arrays. Related with #734
ForeignKeyConstraint[]
arrays
No branches or pull requests
SQLite:
MySQL:
The text was updated successfully, but these errors were encountered: