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