internetee-registry/db/migrate/20200916125326_create_bounced_mail_addresses.rb
2020-09-21 13:34:34 +03:00

15 lines
434 B
Ruby

class CreateBouncedMailAddresses < ActiveRecord::Migration[6.0]
def change
create_table :bounced_mail_addresses do |t|
t.string :email, null: false
t.string :message_id, null: false
t.string :bounce_type, null: false
t.string :bounce_subtype, null: false
t.string :action, null: false
t.string :status, null: false
t.string :diagnostic, null: true
t.timestamps
end
end
end