mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
bea0bb39d6
* 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
|