class ChangeColumnDefaultPhone < ActiveRecord::Migration[6.0]
  def self.up
    change_table :users do |t|
      t.change :phone, :string, default: nil
      t.change :fax, :string, default: nil
    end
  end
  def self.down
    change_table :users do |t|
      t.change :phone, :string, default: 0
      t.change :fax, :string, default: 0
    end
  end
end
