From: Julien Lancelot Date: Fri, 9 Oct 2015 14:14:06 +0000 (+0200) Subject: Fix rules index name X-Git-Tag: 5.2-RC1~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7696389734fae3eb1c1ec1463a3705d6f158eb67;p=sonarqube.git Fix rules index name --- diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/419_add_index_to_rules_plugin_rule_key_and_plugin_name.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/419_add_index_to_rules_plugin_rule_key_and_plugin_name.rb index 5146886b431..85df9457171 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/419_add_index_to_rules_plugin_rule_key_and_plugin_name.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/419_add_index_to_rules_plugin_rule_key_and_plugin_name.rb @@ -24,7 +24,7 @@ class AddIndexToRulesPluginRuleKeyAndPluginName < ActiveRecord::Migration def self.up - add_index :rules, [:plugin_rule_key, :plugin_name], :unique => true, :name => 'rules_plugin_key_and_name' + add_index :rules, [:plugin_rule_key, :plugin_name], :unique => true, :name => 'rules_repo_key' end end