aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-08-09 13:09:32 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-08-10 18:17:07 +0200
commitfd96c6fd9bbaca53c0e8cb914525f3e043bc23ee (patch)
tree5d2e1be5640afa77fcc8af7338720496bd919fd1 /server/sonar-web/src/main
parentc12f3d56cb99478c36242fd122258ebf0d26f740 (diff)
downloadsonarqube-fd96c6fd9bbaca53c0e8cb914525f3e043bc23ee.tar.gz
sonarqube-fd96c6fd9bbaca53c0e8cb914525f3e043bc23ee.zip
SONAR_7958 add column PROJECTS.B_UUID_PATH
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1304_shrink_module_uuid_path_and_add_b_uuid_path_to_projects.rb30
1 files changed, 30 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1304_shrink_module_uuid_path_and_add_b_uuid_path_to_projects.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1304_shrink_module_uuid_path_and_add_b_uuid_path_to_projects.rb
new file mode 100644
index 00000000000..f79599b56da
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1304_shrink_module_uuid_path_and_add_b_uuid_path_to_projects.rb
@@ -0,0 +1,30 @@
+#
+# 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.1
+#
+class ShrinkModuleUuidPathAndAddBUuidPathToProjects < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v61.ShrinkModuleUuidPathOfProjects')
+ execute_java_migration('org.sonar.db.version.v61.AddBUuidPathToProjects')
+ end
+end