aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-02-22 16:23:37 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-02-29 13:26:54 +0100
commita530cb94df60f4293ee8524edc65eaa63c58e0a4 (patch)
treed6b07844249f5e360f4bad165322fa9c5ed0281a /server/sonar-web
parent2e404abaa6f46530f5322ec1ce09c4fc7ded14aa (diff)
downloadsonarqube-a530cb94df60f4293ee8524edc65eaa63c58e0a4.tar.gz
sonarqube-a530cb94df60f4293ee8524edc65eaa63c58e0a4.zip
SONAR-7330 Add long dates in active rules
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1104_add_active_rules_long_date_columns.rb31
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1105_feed_active_rules_long_date_columns.rb31
2 files changed, 62 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1104_add_active_rules_long_date_columns.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1104_add_active_rules_long_date_columns.rb
new file mode 100644
index 00000000000..2da4bd516c7
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1104_add_active_rules_long_date_columns.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-7330
+#
+class AddActiveRulesLongDateColumns < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v55.AddActiveRulesLongDateColumns')
+ end
+
+end
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1105_feed_active_rules_long_date_columns.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1105_feed_active_rules_long_date_columns.rb
new file mode 100644
index 00000000000..175925583cf
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1105_feed_active_rules_long_date_columns.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-7330
+#
+class FeedActiveRulesLongDateColumns < ActiveRecord::Migration
+
+ def self.up
+ execute_java_migration('org.sonar.db.version.v55.FeedActiveRulesLongDateColumns')
+ end
+
+end