summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-03-24 18:03:34 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-03-29 19:12:01 +0200
commitc6534874a02f9a54caf765ca050f07b404762abb (patch)
treeab46b9d4f9a1e4a9e3b1d7594c4035566a1834af /server
parente2e23d7aefd4b8a0938412327f2d9f57c3389cda (diff)
downloadsonarqube-c6534874a02f9a54caf765ca050f07b404762abb.tar.gz
sonarqube-c6534874a02f9a54caf765ca050f07b404762abb.zip
SONAR-7470 Delete manual rules from DB
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1124_delete_manual_rules.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1124_delete_manual_rules.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1124_delete_manual_rules.rb
new file mode 100644
index 00000000000..7a4b93224cd
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1124_delete_manual_rules.rb
@@ -0,0 +1,31 @@
+#
+# SonarQube, open source software quality management tool.
+# Copyright (C) 2008-2014 SonarSource
+# mailto:contact AT sonarsource DOT com
+#
+# SonarQube is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# SonarQube is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+
+#
+# SonarQube 5.5
+# SONAR-7472
+#
+class DeleteManualRules < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v55.DeleteManualRules')
+ end
+
+end