##// END OF EJS Templates
Merged r4210 from trunk....
Merged r4210 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4212 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2274:12792d8068d0
r4098:38a2beb2c06f integration-to-sv...
Show More
102_add_custom_fields_editable.rb
9 lines | 216 B | text/x-ruby | RubyLexer
/ db / migrate / 102_add_custom_fields_editable.rb
Jean-Philippe Lang
User custom fields can now be set as editable so that users can edit them on 'My account'....
r2274 class AddCustomFieldsEditable < ActiveRecord::Migration
def self.up
add_column :custom_fields, :editable, :boolean, :default => true
end
def self.down
remove_column :custom_fields, :editable
end
end