]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4464 Fixed text_value type insertion failure on Oracle
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Wed, 10 Jul 2013 11:25:27 +0000 (13:25 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Wed, 10 Jul 2013 11:25:27 +0000 (13:25 +0200)
sonar-server/src/main/webapp/WEB-INF/db/migrate/418_migrate_default_permissions.rb

index 6b6d6914e1465146b5504484ee8f7758bde65a51..f4c10ac97f82a2800d8797f5429a4996c5c03749 100644 (file)
@@ -152,7 +152,7 @@ class MigrateDefaultPermissions < ActiveRecord::Migration
         end
       end
 
-      Property.create(:prop_key => "sonar.permission.template.#{qualifier}.default", :text_value => qualifier_template.id)
+      Property.create(:prop_key => "sonar.permission.template.#{qualifier}.default", :text_value => qualifier_template.id.to_s)
 
     end