]> source.dussan.org Git - sonarqube.git/commitdiff
Fix rules index name
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 9 Oct 2015 14:14:06 +0000 (16:14 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 12 Oct 2015 12:25:58 +0000 (14:25 +0200)
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/419_add_index_to_rules_plugin_rule_key_and_plugin_name.rb

index 5146886b431b4dbed1f5a46e055178271a281d75..85df945717140d588fe5639f366be18aa0b69005 100644 (file)
@@ -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