Skip to content
New issue

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

Access to getForeignKeys of the adapter #1129

Closed
apopescu-im opened this issue Jul 6, 2017 · 0 comments
Closed

Access to getForeignKeys of the adapter #1129

apopescu-im opened this issue Jul 6, 2017 · 0 comments

Comments

@apopescu-im
Copy link

There appears to be no way to retrieve the existing (not pending) foreign keys of a table. Some adapters implement a getForeignKeys, however it is protected.

This would be useful in order to find existing an existing FK when it has not been named (or is inconsistently named), but knowing what column it would involved. For example I would like to find a pre-existing FK involving a given column and re-create it giving it a predefined name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant