08304afe54
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2279 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 lines
270 B
Ruby
10 lines
270 B
Ruby
class SetCustomFieldsEditable < ActiveRecord::Migration
|
|
def self.up
|
|
UserCustomField.update_all("editable = #{CustomField.connection.quoted_false}")
|
|
end
|
|
|
|
def self.down
|
|
UserCustomField.update_all("editable = #{CustomField.connection.quoted_true}")
|
|
end
|
|
end
|