-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add unique position contraint as deferred (#330)
- Loading branch information
1 parent
28e3b7c
commit 2f507df
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
crates/context_aware_config/migrations/2024-12-05-172909_dimension_priority_default/down.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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
-- This file should undo anything in `up.sql` | ||
ALTER TABLE public.dimensions | ||
ALTER COLUMN priority DROP DEFAULT; | ||
ALTER COLUMN priority DROP DEFAULT; | ||
|
||
ALTER table public.dimensions drop constraint if exists dimension_unique_position; |
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