##// END OF EJS Templates
change new line 'LF' to 'CRLF' at db/migrate/001_setup.rb (#9510)...
change new line 'LF' to 'CRLF' at db/migrate/001_setup.rb (#9510) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7734 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2277:08304afe547d
r7614:313965e68359
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