2020-08-07 01:14:14 +02:00
|
|
|
class CreateMailDeliveryStatus < ActiveRecord::Migration[4.2]
|
2017-08-18 09:17:19 +02:00
|
|
|
def change
|
|
|
|
create_table :mail_delivery_status do |t|
|
|
|
|
t.datetime :created_at
|
2023-05-12 13:01:12 +02:00
|
|
|
t.string :email, null: false
|
|
|
|
t.string :message, null: false
|
2017-08-18 09:17:19 +02:00
|
|
|
t.string :attachment_mime
|
|
|
|
t.binary :attachment_data, limit: 16.megabyte
|
|
|
|
|
|
|
|
t.index :email
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|