2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
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, %i[skipped created_at]
|
|
|
|
end
|
|
|
|
end
|