summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Gamard <stephane.gamard@searchbox.com>2014-06-06 16:51:16 +0200
committerStephane Gamard <stephane.gamard@searchbox.com>2014-06-06 16:51:16 +0200
commit53c86d69a945096a84b1c2360f518713e13ec1c2 (patch)
tree965e9eb4f8826ba9165f49512fd7b09feb6e796b
parent1519d5a5e3591085fecf60cbc6e26de8b9132633 (diff)
downloadsonarqube-53c86d69a945096a84b1c2360f518713e13ec1c2.tar.gz
sonarqube-53c86d69a945096a84b1c2360f518713e13ec1c2.zip
SONAR-5082 - Fixed Migration script
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/541_create_active_rule_index.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/541_create_active_rule_index.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/541_create_active_rule_index.rb
index 791b78ecb78..272faaa2493 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/541_create_active_rule_index.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/541_create_active_rule_index.rb
@@ -17,9 +17,15 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
-class CreateLogTable < ActiveRecord::Migration
+class CreateActiveRuleIndex < ActiveRecord::Migration
+ class ActiveRuleParameters < ActiveRecord::Base
+ end
+
+ class ActiveRule < ActiveRecord::Base
+ end
+
def self.up
# Search for all rules activated many times on a same profile