mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 09:45:07 +00:00
Merge pull request #372 from eikek/fix-duplicate-equipments
Add unique constraint for equipment names
This commit is contained in:
commit
1fdbf8b469
@ -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");
|
Loading…
x
Reference in New Issue
Block a user