aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-12-05 16:59:22 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-12-05 17:19:12 +0100
commit0cfffa2b8c21b2a58363db5e0768f5598bebefb6 (patch)
tree72b353544d161ba73e9b1cf8b6b3837f4ec422da /server
parent9eee7106ac2aea65949216a18553b50f0d71cf9a (diff)
downloadsonarqube-0cfffa2b8c21b2a58363db5e0768f5598bebefb6.tar.gz
sonarqube-0cfffa2b8c21b2a58363db5e0768f5598bebefb6.zip
Revert name of FILE_SOURCES index
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/713_create_file_sources.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/713_create_file_sources.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/713_create_file_sources.rb
index 1820e207299..d7f3c5f3959 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/713_create_file_sources.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/713_create_file_sources.rb
@@ -38,7 +38,7 @@ class CreateFileSources < ActiveRecord::Migration
ActiveRecord::Base.connection.execute('alter table file_sources modify data longtext')
end
- add_index 'file_sources', 'file_uuid', :unique => true, :name => 'file_sources_file_uuid'
+ add_index 'file_sources', 'file_uuid', :unique => true, :name => 'file_sources_file_uuid_uniq'
['project_uuid', 'updated_at'].each do |column|
add_index 'file_sources', column, :name => 'file_sources_' + column