diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-12-02 14:55:57 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-12-03 19:11:09 +0100 |
commit | 2b70390d8da047ffebf5f841786644e591c2f45a (patch) | |
tree | 1bba23582125aecc9c2b983ed39f46e2555f0967 /sonar-db | |
parent | 835f86b6a48db711dc1109bccf7e86e3af02089b (diff) | |
download | sonarqube-2b70390d8da047ffebf5f841786644e591c2f45a.tar.gz sonarqube-2b70390d8da047ffebf5f841786644e591c2f45a.zip |
Fix index name on FILE_SOURCES on H2
On H2, index name was FILE_SOURCES_UUID_TYPE_UNIQUE, but it's FILE_SOURCES_UUID_TYPE on other database
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl index 00275ed9fe0..97655698ec4 100644 --- a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl +++ b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl @@ -695,7 +695,7 @@ CREATE UNIQUE INDEX "UNIQ_QPROF_KEY" ON "RULES_PROFILES" ("KEE"); CREATE INDEX "FILE_SOURCES_PROJECT_UUID" ON "FILE_SOURCES" ("PROJECT_UUID"); -CREATE UNIQUE INDEX "FILE_SOURCES_UUID_TYPE_UNIQUE" ON "FILE_SOURCES" ("FILE_UUID", "DATA_TYPE"); +CREATE UNIQUE INDEX "FILE_SOURCES_UUID_TYPE" ON "FILE_SOURCES" ("FILE_UUID", "DATA_TYPE"); CREATE INDEX "FILE_SOURCES_UPDATED_AT" ON "FILE_SOURCES" ("UPDATED_AT"); |