mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Merge pull request #372 from eikek/fix-duplicate-equipments
Add unique constraint for equipment names
This commit is contained in:
@ -0,0 +1,3 @@
|
||||
ALTER TABLE "equipment"
|
||||
ADD CONSTRAINT "equipment_cid_name_key"
|
||||
UNIQUE ("cid", "name");
|
@ -0,0 +1,3 @@
|
||||
ALTER TABLE `equipment`
|
||||
ADD CONSTRAINT `equipment_cid_name_key`
|
||||
UNIQUE (`cid`, `name`);
|
@ -0,0 +1,3 @@
|
||||
ALTER TABLE "equipment"
|
||||
ADD CONSTRAINT "equipment_cid_name_key"
|
||||
UNIQUE ("cid", "name");
|
Reference in New Issue
Block a user