mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
![Eugen Rochko](/assets/img/avatar_default.png)
* 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
|