aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-12-03 00:13:09 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-12-03 00:13:09 +0000
commitc3b8fd1beb8da4f2e72cbe2b6e695c14859d6745 (patch)
tree209412d2badec46f9607306d1cd0cbac8e4b391b /sonar-server
parent3ed6a62ad9e0fa21c108ab1e13724c90269ad2ca (diff)
downloadsonarqube-c3b8fd1beb8da4f2e72cbe2b6e695c14859d6745.tar.gz
sonarqube-c3b8fd1beb8da4f2e72cbe2b6e695c14859d6745.zip
document the sonar version in db migration scripts
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/131_create_quality_models.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/132_add_characteristic_id_to_measures.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/133_create_plugins.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/134_delete_checkstyle_translations.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/135_add_rules_enabled_column.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/136_increase_violations_size.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/137_add_rules_cardinality.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/139_add_characteristic_enabled.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/140_create_characteristic_properties.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/141_add_rule_failures_cost.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/142_delete_active_rules_orphans.rb4
12 files changed, 48 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/131_create_quality_models.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/131_create_quality_models.rb
index 85b178057f7..2bc3678d79e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/131_create_quality_models.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/131_create_quality_models.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class CreateQualityModels < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/132_add_characteristic_id_to_measures.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/132_add_characteristic_id_to_measures.rb
index 16f064c29bd..1aacfa706a3 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/132_add_characteristic_id_to_measures.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/132_add_characteristic_id_to_measures.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class AddCharacteristicIdToMeasures < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/133_create_plugins.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/133_create_plugins.rb
index 061eeaff70f..0474d771ee7 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/133_create_plugins.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/133_create_plugins.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class CreatePlugins < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/134_delete_checkstyle_translations.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/134_delete_checkstyle_translations.rb
index 412d150692b..f15f6ec3518 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/134_delete_checkstyle_translations.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/134_delete_checkstyle_translations.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class DeleteCheckstyleTranslations < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/135_add_rules_enabled_column.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/135_add_rules_enabled_column.rb
index 162e0f76882..41a68b9173a 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/135_add_rules_enabled_column.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/135_add_rules_enabled_column.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class AddRulesEnabledColumn < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/136_increase_violations_size.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/136_increase_violations_size.rb
index 2b3443b94df..6f4868b8885 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/136_increase_violations_size.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/136_increase_violations_size.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class IncreaseViolationsSize < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/137_add_rules_cardinality.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/137_add_rules_cardinality.rb
index 1b5d1c72cbf..106ff2374a0 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/137_add_rules_cardinality.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/137_add_rules_cardinality.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class AddRulesCardinality < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb
index cef6e279898..c4a9d1d8aea 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class AddCharacteristicDescription < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/139_add_characteristic_enabled.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/139_add_characteristic_enabled.rb
index ec149acfb09..c146ef9f9d4 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/139_add_characteristic_enabled.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/139_add_characteristic_enabled.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class AddCharacteristicEnabled < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/140_create_characteristic_properties.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/140_create_characteristic_properties.rb
index ced0fc586ff..3faa46fc0d3 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/140_create_characteristic_properties.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/140_create_characteristic_properties.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class CreateCharacteristicProperties < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/141_add_rule_failures_cost.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/141_add_rule_failures_cost.rb
index c2cf2737298..bcdfb838226 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/141_add_rule_failures_cost.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/141_add_rule_failures_cost.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3
+#
class AddRuleFailuresCost < ActiveRecord::Migration
def self.up
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/142_delete_active_rules_orphans.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/142_delete_active_rules_orphans.rb
index 8c56dc3caf3..9ba2eb52e3c 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/142_delete_active_rules_orphans.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/142_delete_active_rules_orphans.rb
@@ -17,6 +17,10 @@
# License along with Sonar; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
#
+
+#
+# Sonar 2.3.1
+#
class DeleteActiveRulesOrphans < ActiveRecord::Migration
def self.up