You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: