2017-08-31 00:06:56 -04:00
|
|
|
class AddSkippedToEmailLogs < ActiveRecord::Migration[4.2]
|
2014-02-14 13:06:21 -05:00
|
|
|
def change
|
|
|
|
add_column :email_logs, :skipped, :boolean, default: :false
|
|
|
|
add_column :email_logs, :skipped_reason, :string
|
|
|
|
add_index :email_logs, [:skipped, :created_at]
|
|
|
|
end
|
|
|
|
end
|