Improve add_concurrent_foreign_key to support custom target column
So far the `add_concurrent_foreign_key` migration helper supports only FKs targeting `id` column. This updates the helper so that custom column can be specifed. This will be helpful when swapping columns for PK conversion. Related to https://gitlab.com/gitlab-org/gitlab/-/issues/288005.
Showing
Please register or sign in to comment