forked from asonix/mastodon
5 lines
179 B
Ruby
5 lines
179 B
Ruby
class AddReblogOfIdForeignKeyToStatuses < ActiveRecord::Migration[5.0]
|
|
def change
|
|
add_foreign_key :statuses, :statuses, column: :reblog_of_id, on_delete: :cascade
|
|
end
|
|
end
|