Create bounced_mail_addresses table

This commit is contained in:
Karl Erik Õunapuu 2020-09-16 15:59:02 +03:00
parent 300561a881
commit 0f3b033f79
No known key found for this signature in database
GPG key ID: C9DD647298A34764
2 changed files with 70 additions and 7 deletions

View file

@ -0,0 +1,12 @@
class CreateBouncedMailAddresses < ActiveRecord::Migration[6.0]
def change
create_table :bounced_mail_addresses do |t|
t.string :email, null: false
t.string :bounce_reason, null: false
t.integer :incidents, null: false, default: 1
t.jsonb :response_json
t.timestamps
end
end
end