From e47b58928ca9c31d23d1651f8d40d8974404fdd8 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Vilain Date: Wed, 10 Jul 2013 13:25:27 +0200 Subject: [PATCH] SONAR-4464 Fixed text_value type insertion failure on Oracle --- .../WEB-INF/db/migrate/418_migrate_default_permissions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/418_migrate_default_permissions.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/418_migrate_default_permissions.rb index 6b6d6914e14..f4c10ac97f8 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/418_migrate_default_permissions.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/418_migrate_default_permissions.rb @@ -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 -- 2.39.5