mirror of
https://github.com/redmine/redmine.git
synced 2025-10-30 09:56:20 +01:00
10 lines
223 B
Ruby
10 lines
223 B
Ruby
|
|
class AddCustomFieldsSearchable < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
add_column :custom_fields, :searchable, :boolean, :default => false
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
remove_column :custom_fields, :searchable
|
||
|
|
end
|
||
|
|
end
|