class CreateCustomers < ActiveRecord::Migration
  def change
    create_table :customers do |t|
      t.string :first_name, null: false
      t.string :last_name
      t.string :email, null: false
      t.string :phone_number
      t.string :city
      t.string :country

      t.timestamps null: false
    end
  end
end

class CreateCustomers < ActiveRecord::Migration
  def change
    create_table :customers do |t|
      t.string :first_name
      t.string :last_name
      t.string :email, null: false
      t.string :phone_number
      t.string :city
      t.string :country

      t.timestamps null: false
    end
  end
end

Edit migration to remove not_null constraint from customer
Edit migration to remove not_null constraint from customer
