mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-08-18 14:05:26 +00:00
6 lines
268 B
Ruby
6 lines
268 B
Ruby
class AddParentIdToEmailDomainBlocks < ActiveRecord::Migration[5.2]
|
|
def change
|
|
safety_assured { add_reference :email_domain_blocks, :parent, null: true, default: nil, foreign_key: { on_delete: :cascade, to_table: :email_domain_blocks }, index: false }
|
|
end
|
|
end
|