]> source.dussan.org Git - sonarqube.git/commit
SONAR-8520 index on DEPRECATED_RULE_KEYS.RULE_ID must not be unique
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 19 Jul 2019 14:26:41 +0000 (16:26 +0200)
committerSonarTech <sonartech@sonarsource.com>
Tue, 30 Jul 2019 18:24:26 +0000 (20:24 +0200)
commit0500f966a3ea0763d87ae4138210ada78dd4f33c
tree6135dc378fb938a082d9d5a352e61a2894010068
parent4c95b8f615865fcd430bca789b6d457c25018d60
SONAR-8520 index on DEPRECATED_RULE_KEYS.RULE_ID must not be unique

this is an old error which slipped through the radar because H2 schema was correct
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v80/DbVersion80.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v80/MakeDeprecatedRuleKeysRuleIdIndexNonUnique.java [new file with mode: 0644]
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v80/DbVersion80Test.java
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v80/MakeDeprecatedRuleKeysRuleIdIndexNonUniqueTest.java [new file with mode: 0644]
server/sonar-db-migration/src/test/resources/org/sonar/server/platform/db/migration/version/v80/MakeDeprecatedRuleKeysRuleIdIndexNonUniqueTest/deprecated_rule_keys.sql [new file with mode: 0644]