summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-18 10:54:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-18 10:54:08 +0000
commit08304afe547da2460ca24f92474da7f677c21e75 (patch)
tree4db69a5457fd62dba2862c980966c132f022b638 /db
parent12792d8068d0ed0514e89267edefaab4df5cf2c3 (diff)
downloadredmine-08304afe547da2460ca24f92474da7f677c21e75.tar.gz
redmine-08304afe547da2460ca24f92474da7f677c21e75.zip
Fixes 103_set_custom_fields_editable migration from r2276 (#2526).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2279 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/103_set_custom_fields_editable.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/103_set_custom_fields_editable.rb b/db/migrate/103_set_custom_fields_editable.rb
index 465c929ec..937649e61 100644
--- a/db/migrate/103_set_custom_fields_editable.rb
+++ b/db/migrate/103_set_custom_fields_editable.rb
@@ -1,9 +1,9 @@
class SetCustomFieldsEditable < ActiveRecord::Migration
def self.up
- UserCustomField.update_all('editable = false')
+ UserCustomField.update_all("editable = #{CustomField.connection.quoted_false}")
end
def self.down
- UserCustomField.update_all('editable = true')
+ UserCustomField.update_all("editable = #{CustomField.connection.quoted_true}")
end
end