mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
Create bounced_mail_addresses table
This commit is contained in:
parent
300561a881
commit
0f3b033f79
2 changed files with 70 additions and 7 deletions
12
db/migrate/20200916125326_create_bounced_mail_addresses.rb
Normal file
12
db/migrate/20200916125326_create_bounced_mail_addresses.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue