-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: do not allow reference FK partial unique constraints
This commit prevents users from creating a FK with a reference column that has a partial unique constraint. These constraints do not guarantee uniqueness in the entire table so they cannot be used. There is no release note because these constraints are gated behind the experimental_enable_unique_without_index_constraints session variable. Release note: None
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters