Skip to content

Commit

Permalink
wrong UNIQUE clause has been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
fmancardi committed Jun 15, 2015
1 parent cb0ccfe commit 6d80209
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
-- -----------------------------------------------------------------------------------
--
---
CREATE UNIQUE INDEX /*prefix*/executions_idx3 ON /*prefix*/executions ("tcversion_id");
CREATE UNIQUE INDEX /*prefix*/attachments_idx1 ON /*prefix*/executions ("fk_id");
CREATE INDEX /*prefix*/executions_idx3 ON /*prefix*/executions ("tcversion_id");
CREATE INDEX /*prefix*/attachments_idx1 ON /*prefix*/executions ("fk_id");
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* mysql */
ALTER TABLE /*prefix*/executions ADD UNIQUE KEY /*prefix*/executions_idx3 (tcversion_id);
ALTER TABLE /*prefix*/attachments ADD UNIQUE KEY /*prefix*/attachments_idx1 (fk_id);
ALTER TABLE /*prefix*/executions ADD KEY /*prefix*/executions_idx3 (tcversion_id);
ALTER TABLE /*prefix*/attachments ADD KEY /*prefix*/attachments_idx1 (fk_id);
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
--
--
--
CREATE UNIQUE INDEX /*prefix*/executions_idx3 ON /*prefix*/executions ("tcversion_id");
CREATE UNIQUE INDEX /*prefix*/attachments_idx1 ON /*prefix*/executions ("fk_id");
CREATE INDEX /*prefix*/executions_idx3 ON /*prefix*/executions ("tcversion_id");
CREATE INDEX /*prefix*/attachments_idx1 ON /*prefix*/executions ("fk_id");

0 comments on commit 6d80209

Please sign in to comment.