From 0cfffa2b8c21b2a58363db5e0768f5598bebefb6 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 5 Dec 2014 16:59:22 +0100 Subject: [PATCH] Revert name of FILE_SOURCES index --- .../main/webapp/WEB-INF/db/migrate/713_create_file_sources.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5