From f79a88b35470ae2c52ed6e272b4470c97f901f97 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Fri, 3 Dec 2010 00:15:13 +0000 Subject: [PATCH] document the sonar version in db migration scripts --- .../src/main/webapp/WEB-INF/db/migrate/110_add_events_data.rb | 4 ++++ .../main/webapp/WEB-INF/db/migrate/111_create_extensions.rb | 4 ++++ .../WEB-INF/db/migrate/112_delete_checkstyle_jee_rules.rb | 4 ++++ .../webapp/WEB-INF/db/migrate/113_rename_clover_properties.rb | 4 ++++ .../main/webapp/WEB-INF/db/migrate/114_add_user_properties.rb | 4 ++++ .../src/main/webapp/WEB-INF/db/migrate/115_create_filters.rb | 4 ++++ .../webapp/WEB-INF/db/migrate/116_set_resource_long_names.rb | 4 ++++ .../webapp/WEB-INF/db/migrate/117_remove_measure_sid_index.rb | 4 ++++ .../WEB-INF/db/migrate/118_add_snapshots_qualifier_index.rb | 4 ++++ .../WEB-INF/db/migrate/119_add_measures_sid_metric_index.rb | 4 ++++ .../WEB-INF/db/migrate/120_add_extensions_core_column.rb | 4 ++++ 11 files changed, 44 insertions(+) diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/110_add_events_data.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/110_add_events_data.rb index 95e70b46316..376bfcbb23c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/110_add_events_data.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/110_add_events_data.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.2 +# class AddEventsData < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/111_create_extensions.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/111_create_extensions.rb index bb1a8b36ef6..6047e6b08ee 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/111_create_extensions.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/111_create_extensions.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.2 +# class CreateExtensions < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/112_delete_checkstyle_jee_rules.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/112_delete_checkstyle_jee_rules.rb index 95f7afe33e2..030380445d3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/112_delete_checkstyle_jee_rules.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/112_delete_checkstyle_jee_rules.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.2 +# class DeleteCheckstyleJeeRules < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/113_rename_clover_properties.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/113_rename_clover_properties.rb index 41385b701a6..570367391f2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/113_rename_clover_properties.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/113_rename_clover_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.2 +# class RenameCloverProperties < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/114_add_user_properties.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/114_add_user_properties.rb index 45225a6322b..8c98a680c96 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/114_add_user_properties.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/114_add_user_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.2 +# class AddUserProperties < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/115_create_filters.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/115_create_filters.rb index 107452b15cd..35eae9bcdea 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/115_create_filters.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/115_create_filters.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.2 +# class CreateFilters < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/116_set_resource_long_names.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/116_set_resource_long_names.rb index 9ae33951b2d..43c310e949f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/116_set_resource_long_names.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/116_set_resource_long_names.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.2 +# class SetResourceLongNames < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/117_remove_measure_sid_index.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/117_remove_measure_sid_index.rb index 8d263963a44..3fc09b20966 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/117_remove_measure_sid_index.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/117_remove_measure_sid_index.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.2 +# class RemoveMeasureSidIndex < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/118_add_snapshots_qualifier_index.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/118_add_snapshots_qualifier_index.rb index 8a2760c283d..cdd3f690de2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/118_add_snapshots_qualifier_index.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/118_add_snapshots_qualifier_index.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.2 +# class AddSnapshotsQualifierIndex < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/119_add_measures_sid_metric_index.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/119_add_measures_sid_metric_index.rb index 12437fa9fb7..9649ac93c49 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/119_add_measures_sid_metric_index.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/119_add_measures_sid_metric_index.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.2 +# class AddMeasuresSidMetricIndex < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/120_add_extensions_core_column.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/120_add_extensions_core_column.rb index 6e18beb2300..c9df90d98c5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/120_add_extensions_core_column.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/120_add_extensions_core_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.2 +# class AddExtensionsCoreColumn < ActiveRecord::Migration def self.up -- 2.39.5