Skip to content
Snippets Groups Projects
Verified Commit 393bbaca authored by Martin Weise's avatar Martin Weise
Browse files

Wrong unique key

parent 412d8c6f
Branches
Tags
2 merge requests!387Wrong model,!384Wrong model
......@@ -545,7 +545,7 @@ CREATE TABLE IF NOT EXISTS `mdb_image_operators`
documentation TEXT NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (image_id) REFERENCES `mdb_images` (`id`),
UNIQUE (value)
UNIQUE (image_id, value)
) WITH SYSTEM VERSIONING;
COMMIT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment