Skip to content

Commit

Permalink
Removing uniq constraint.
Browse files Browse the repository at this point in the history
  • Loading branch information
asurendra authored and asurendra committed Feb 20, 2016
1 parent 329f75d commit 5a358f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/resources/db/migration/V7__ChangeSet5.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';

DROP INDEX ec_testplan_unq1 ON `excord`.`ec_testplan`;
DROP INDEX requirement_idx2 ON `excord`.`ec_requirement`;

SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;

0 comments on commit 5a358f8

Please sign in to comment.