```ruby
class AddCustomFieldCloseDefaults < ActiveRecord::Migration
  def self.up
    add_column :custom_fields, :close_default, :string, {:null => "", :default => ""}
  end

  def self.down
    remove_column :custom_fields, :close_default
  end
end
```

Duplicate default_value field for close_default.
user
```ruby
class AddCustomFieldCloseDefaults < ActiveRecord::Migration
  def self.up
    add_column :custom_fields, :close_default, :text
  end

  def self.down
    remove_column :custom_fields, :close_default
  end
end
```
assistant