mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-11 20:57:44 +00:00
* Add shortcuts to blacklist a user's e-mail domain in admin UI * Add option to blacklist resolved MX and IP records for e-mail domains
6 lines
249 B
Ruby
6 lines
249 B
Ruby
class AddParentIdToEmailDomainBlocks < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_reference :email_domain_blocks, :parent, null: true, default: nil, foreign_key: { on_delete: :cascade, to_table: :email_domain_blocks }, index: false
|
|
end
|
|
end
|