discourse/db/migrate/20140214151255_add_skipped_to_email_logs.rb
2023-12-06 13:19:09 +01:00

10 lines
279 B
Ruby

# frozen_string_literal: true
class AddSkippedToEmailLogs < ActiveRecord::Migration[4.2]
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