-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure name-website combination is unique in the organizationCache…
…Identities table
- Loading branch information
Uroš Marolt
committed
Jan 12, 2024
1 parent
b79fa02
commit e532f52
Showing
4 changed files
with
19 additions
and
57 deletions.
There are no files selected for viewing
Empty file.
2 changes: 2 additions & 0 deletions
2
backend/src/database/migrations/V1705060063__org-cache-identities-unique-key.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
alter table "organizationCacheIdentities" | ||
add constraint ix_unique_website_name unique (name, website); |
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