1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00
redmine/db/migrate/102_add_custom_fields_editable.rb

10 lines
221 B
Ruby

class AddCustomFieldsEditable < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :editable, :boolean, :default => true
end
def self.down
remove_column :custom_fields, :editable
end
end