1 2 3 4 5
class AddLastEmailedAtToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :last_emailed_at, :datetime, null: true, default: nil end end