summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-12-23 17:24:24 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-12-23 17:24:24 +0000
commitfdf1dbbcef0ea3b5fb25897bc09bc9267c7c63f9 (patch)
tree2061c65de29eb15b8c5f895219fd2b6535e67561
parentc148a77de1ddabc92c5df742c5fc12a8374df2a2 (diff)
downloadsonarqube-fdf1dbbcef0ea3b5fb25897bc09bc9267c7c63f9.tar.gz
sonarqube-fdf1dbbcef0ea3b5fb25897bc09bc9267c7c63f9.zip
fix migration on oracle
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/169_add_columns_for_profiles_inheritance.rb2
1 files changed, 1 insertions, 1 deletions
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