feat: add unique index to label name column
All checks were successful
Frontend CI / build (push) Successful in 1m22s

This commit is contained in:
SquidSpirit 2025-10-12 20:49:47 +08:00
parent f900c2dc2b
commit 88aceb3a51
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- Remove unique index from label name column
DROP INDEX IF EXISTS "idx_label_name";

View File

@ -0,0 +1,2 @@
-- Add unique index to label name column
CREATE UNIQUE INDEX "idx_label_name" ON "label" ("name");