mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 13:45:59 +08:00
10 lines
280 B
Ruby
10 lines
280 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
|