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

Multiple foreign key constraints can exist on the same column #7110

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

ericharmeling
Copy link
Contributor

Fixes #6607.

  • Added notes and example to Foreign Key docs page.
  • Removed single-column requirement from Foreign Key docs page.
  • Removed note from Performance docs.

cockroachdb/cockroach#43417 affects more than just docs about foreign keys... In specific, we need to update the MovR schema to take advantage of this lifted restriction. That schema needs to be updated for a number of other things as well, so I consider updating the schema out of the scope of this docs issue.

@ericharmeling ericharmeling requested a review from otan April 9, 2020 20:36
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@cockroach-teamcity
Copy link
Member

@ericharmeling ericharmeling requested a review from jseldess April 13, 2020 15:04
Copy link
Contributor

@jseldess jseldess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm_strong:

Thanks, @ericharmeling!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jseldess)

@ericharmeling ericharmeling merged commit 1d79a5d into master Apr 13, 2020
@ericharmeling ericharmeling deleted the fk-multiple-columns branch April 13, 2020 21:49
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

Successfully merging this pull request may close these issues.

sql: remove restriction of foreign key on multiple outbound columns
4 participants