aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-10 13:25:27 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-10 13:25:27 +0200
commite47b58928ca9c31d23d1651f8d40d8974404fdd8 (patch)
tree432a3eeb32149fb96917b89ca7433f61366faf86
parent68f2569be422634fae7f32eba8056e90fffe9684 (diff)
downloadsonarqube-e47b58928ca9c31d23d1651f8d40d8974404fdd8.tar.gz
sonarqube-e47b58928ca9c31d23d1651f8d40d8974404fdd8.zip
SONAR-4464 Fixed text_value type insertion failure on Oracle
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/418_migrate_default_permissions.rb2
1 files changed, 1 insertions, 1 deletions
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