aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-01 13:54:48 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-01 13:54:48 +0200
commitd6cac6a13b02ae53896a359df85f7ee0e32b5ac1 (patch)
tree6bacb04cc1b36e2c9f9071b99d36c6867c797117 /sonar-server
parentd825f8703421eca5e22463c137f83884d8e7ad80 (diff)
downloadsonarqube-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.rb2
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