diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-01 13:54:48 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-01 13:54:48 +0200 |
commit | d6cac6a13b02ae53896a359df85f7ee0e32b5ac1 (patch) | |
tree | 6bacb04cc1b36e2c9f9071b99d36c6867c797117 /sonar-server | |
parent | d825f8703421eca5e22463c137f83884d8e7ad80 (diff) | |
download | sonarqube-d6cac6a13b02ae53896a359df85f7ee0e32b5ac1.tar.gz sonarqube-d6cac6a13b02ae53896a359df85f7ee0e32b5ac1.zip |
SONAR-3833 Fix compatibility with MsSQL and Oracle
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/db/migrate/334_remove_profiles_default_column.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |