feat: add unique constraint accounts(name, space_id)
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m46s
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m46s
This commit is contained in:
parent
d6d968d209
commit
f7558c0eb5
1 changed files with 5 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
-- +goose Up
|
||||
CREATE UNIQUE INDEX unique_account_name_per_space_index ON accounts(name, space_id);
|
||||
|
||||
-- +goose Down
|
||||
DROP INDEX unique_account_name_per_space_index;
|
||||
Loading…
Add table
Add a link
Reference in a new issue