From: Simon Brandhof Date: Fri, 5 Dec 2014 15:59:22 +0000 (+0100) Subject: Revert name of FILE_SOURCES index X-Git-Tag: 5.0-RC1~45 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0cfffa2b8c21b2a58363db5e0768f5598bebefb6;p=sonarqube.git Revert name of FILE_SOURCES index --- 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