From: Simon Brandhof Date: Wed, 18 Jan 2012 15:46:43 +0000 (+0100) Subject: Add missing sonar versions to database scripts X-Git-Tag: 2.14~279 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=15194b498ca574882fc17c841a294fc47e7225a1;p=sonarqube.git Add missing sonar versions to database scripts --- diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/079_create_groups.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/079_create_groups.rb index e7255f6cc9f..17bf1acb4bc 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/079_create_groups.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/079_create_groups.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class CreateGroups < ActiveRecord::Migration def self.up create_table :groups do |t| diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/080_create_groups_users.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/080_create_groups_users.rb index df42447c445..cdd9a6d2b9a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/080_create_groups_users.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/080_create_groups_users.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class CreateGroupsUsers < ActiveRecord::Migration def self.up create_table :groups_users, :id => false do |t| diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/086_create_group_roles.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/086_create_group_roles.rb index 84c7930420f..769ca926943 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/086_create_group_roles.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/086_create_group_roles.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class CreateGroupRoles < ActiveRecord::Migration def self.up create_table :group_roles do |t| diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/087_create_user_roles.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/087_create_user_roles.rb index 43e5652197d..a04aecba554 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/087_create_user_roles.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/087_create_user_roles.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class CreateUserRoles < ActiveRecord::Migration def self.up create_table :user_roles do |t| diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/088_create_default_users_and_groups.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/088_create_default_users_and_groups.rb index ac7c4d172f4..04cfe08ec21 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/088_create_default_users_and_groups.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/088_create_default_users_and_groups.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class CreateDefaultUsersAndGroups < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/089_set_default_project_roles.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/089_set_default_project_roles.rb index 4faf56839e3..fde5fc3ed14 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/089_set_default_project_roles.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/089_set_default_project_roles.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class SetDefaultProjectRoles < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/090_add_name_to_users.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/090_add_name_to_users.rb index 8b694cf2555..9ddaa48a671 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/090_add_name_to_users.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/090_add_name_to_users.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class AddNameToUsers < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/093_create_dependencies_table.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/093_create_dependencies_table.rb index 2bd8e93a21f..e75847637fd 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/093_create_dependencies_table.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/093_create_dependencies_table.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class CreateDependenciesTable < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/095_increase_measure_id_size.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/095_increase_measure_id_size.rb index c58c1c1de8b..77aed0d4179 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/095_increase_measure_id_size.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/095_increase_measure_id_size.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class IncreaseMeasureIdSize < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/096_mssql_change_text_columns_to_varchar.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/096_mssql_change_text_columns_to_varchar.rb index 3a3496b282c..43d2be4f3ac 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/096_mssql_change_text_columns_to_varchar.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/096_mssql_change_text_columns_to_varchar.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.0 class MssqlChangeTextColumnsToVarchar < ActiveRecord::Migration def self.up diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/101_remove_null_snapshot_created_at.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/101_remove_null_snapshot_created_at.rb index 5a4bc54ebbb..024fe69f7f4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/101_remove_null_snapshot_created_at.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/101_remove_null_snapshot_created_at.rb @@ -17,6 +17,7 @@ # License along with Sonar; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 # +# sonar 2.1.2 class RemoveNullSnapshotCreatedAt < ActiveRecord::Migration def self.up