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
|
2023-12-06 07:19:09 -05:00
|
|
|
add_column :email_logs, :skipped, :boolean, default: false
|
2014-02-14 13:06:21 -05:00
|
|
|
add_column :email_logs, :skipped_reason, :string
|
|
|
|
add_index :email_logs, %i[skipped created_at]
|
|
|
|
end
|
|
|
|
end
|