feat: add unique constraint accounts(name, space_id)
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m46s

This commit is contained in:
juancwu 2026-05-10 13:09:58 +00:00
commit f7558c0eb5

View file

@ -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;