mirror of
https://github.com/mastodon/mastodon.git
synced 2026-03-21 18:05:23 -05:00
12 lines
406 B
Ruby
12 lines
406 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveRevertedConversationChanges < ActiveRecord::Migration[8.0]
|
|
def up
|
|
remove_index :statuses, :conversation_id if index_exists?(:statuses, :conversation_id)
|
|
safety_assured { remove_column :conversations, :parent_status_id, if_exists: true }
|
|
safety_assured { remove_column :conversations, :parent_account_id, if_exists: true }
|
|
end
|
|
|
|
def down; end
|
|
end
|