From: simonbrandhof Date: Thu, 23 Dec 2010 17:24:24 +0000 (+0000) Subject: fix migration on oracle X-Git-Tag: 2.6~230 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fdf1dbbcef0ea3b5fb25897bc09bc9267c7c63f9;p=sonarqube.git fix migration on oracle --- diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/169_add_columns_for_profiles_inheritance.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/169_add_columns_for_profiles_inheritance.rb index 62775358dde..9b6e23b62a4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/169_add_columns_for_profiles_inheritance.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/169_add_columns_for_profiles_inheritance.rb @@ -24,7 +24,7 @@ class AddColumnsForProfilesInheritance < ActiveRecord::Migration def self.up - add_column 'active_rules', 'inheritance', :varchar, :limit => 10, :null => true + add_column 'active_rules', 'inheritance', :string, :limit => 10, :null => true ActiveRule.reset_column_information add_column 'rules_profiles', 'parent_name', :string, :limit => 100, :null => true