mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Remove incidents count from bounced mails
This commit is contained in:
parent
6a93395fa4
commit
818869d249
4 changed files with 11 additions and 8 deletions
|
@ -0,0 +1,9 @@
|
|||
class RemoveIncidentsFromBouncedMailAddresses < ActiveRecord::Migration[6.0]
|
||||
def up
|
||||
remove_column :bounced_mail_addresses, :incidents
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :bounced_mail_addresses, :incidents, :integer, null: false, default: 1
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue