aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-12-03 19:12:42 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-12-03 19:16:08 +0100
commiteb849e55a39f19d0b7333da65331c3fb5c4a314d (patch)
tree8ca820121bbf562b7d48ae2042b9fd30eb29fa0e /server
parentcda69c78eb72a9bc6f8c54f154935a6da666c127 (diff)
downloadsonarqube-eb849e55a39f19d0b7333da65331c3fb5c4a314d.tar.gz
sonarqube-eb849e55a39f19d0b7333da65331c3fb5c4a314d.zip
SONAR-6884 Update existing collation columns on MsSQL
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1002_fix_mssql_collation.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1002_fix_mssql_collation.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1002_fix_mssql_collation.rb
new file mode 100644
index 00000000000..8a98bad3de5
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1002_fix_mssql_collation.rb
@@ -0,0 +1,33 @@
+#
+# 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.3
+# SONAR-6884
+#
+class FixMssqlCollation < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v53.FixMsSqlCollation')
+ end
+
+end
+
+