aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-04-29 16:05:54 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-05-03 14:26:31 +0200
commita474078fe7086eae9d30fa506ce77f525ac199d3 (patch)
treecd9568aed3108423cf06f5a0b0a2e6b6093f5372 /server/sonar-web/src/main/webapp
parente1f3c47a66989f592545792c8cc3daa78eccebe1 (diff)
downloadsonarqube-a474078fe7086eae9d30fa506ce77f525ac199d3.tar.gz
sonarqube-a474078fe7086eae9d30fa506ce77f525ac199d3.zip
SONAR-7212 Add migration to remove default assignee properties on removed users
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1200_remove_default_assignee_properties_on_disabled_users.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1200_remove_default_assignee_properties_on_disabled_users.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1200_remove_default_assignee_properties_on_disabled_users.rb
new file mode 100644
index 00000000000..17356447b5c
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1200_remove_default_assignee_properties_on_disabled_users.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.6
+# SONAR-7212
+#
+class RemoveDefaultAssigneePropertiesOnDisabledUsers < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v56.RemoveDefaultAssigneePropertiesOnDisabledUsers')
+ end
+
+end