##// END OF EJS Templates
3.1-stable: upgrade Rails to 4.2.7.1...
3.1-stable: upgrade Rails to 4.2.7.1 git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@15733 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2277:08304afe547d
r15351:14bc6a5310d9
Show More
103_set_custom_fields_editable.rb
9 lines | 270 B | text/x-ruby | RubyLexer
/ db / migrate / 103_set_custom_fields_editable.rb
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