aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-09-23 15:33:41 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-09-28 17:36:49 +0200
commit4001c8d81a33d6f090d21dde02fb1facd692c4c4 (patch)
tree84bcf005edad15963a65a77118b2dfcd3d3e5cad /server/sonar-web/src/main/webapp
parent4cd20ab6fd2459a5c29483479c15d7c37119e90d (diff)
downloadsonarqube-4001c8d81a33d6f090d21dde02fb1facd692c4c4.tar.gz
sonarqube-4001c8d81a33d6f090d21dde02fb1facd692c4c4.zip
SONAR-8173 delete existing permissions "shareDashboard" from db
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1402_delete_permission_share_dashboard.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1402_delete_permission_share_dashboard.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1402_delete_permission_share_dashboard.rb
new file mode 100644
index 00000000000..0a469670eef
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1402_delete_permission_share_dashboard.rb
@@ -0,0 +1,29 @@
+#
+# 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 6.2
+#
+class DeletePermissionShareDashboard < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v62.DeletePermissionShareDashboard')
+ end
+end