From d6cac6a13b02ae53896a359df85f7ee0e32b5ac1 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 1 Oct 2012 13:54:48 +0200 Subject: [PATCH] SONAR-3833 Fix compatibility with MsSQL and Oracle --- .../WEB-INF/db/migrate/334_remove_profiles_default_column.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/334_remove_profiles_default_column.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/334_remove_profiles_default_column.rb index 185be1b3a10..6ad81d11457 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/334_remove_profiles_default_column.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/334_remove_profiles_default_column.rb @@ -31,7 +31,7 @@ class RemoveProfilesDefaultColumn < ActiveRecord::Migration end def self.up - Profile.find(:all, :conditions => ['default_profile=true']).each do |profile| + Profile.find(:all, :conditions => ['default_profile=?', true]).each do |profile| Property.create :prop_key => "sonar.profile.#{profile.language}", :text_value => profile.name end -- 2.39.5