aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-10-09 16:14:06 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-10-12 14:25:58 +0200
commit7696389734fae3eb1c1ec1463a3705d6f158eb67 (patch)
tree7e9165e919ee9583b0ecd63de2be48fb849ac8b4 /server
parent4a2da6ecf4c8b1d4e3e97f07ff5a4e48b2493c24 (diff)
downloadsonarqube-7696389734fae3eb1c1ec1463a3705d6f158eb67.tar.gz
sonarqube-7696389734fae3eb1c1ec1463a3705d6f158eb67.zip
Fix rules index name
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/419_add_index_to_rules_plugin_rule_key_and_plugin_name.rb2
1 files changed, 1 insertions, 1 deletions
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