mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-11 20:57:44 +00:00
8 lines
207 B
Ruby
8 lines
207 B
Ruby
|
class AddIndexReblogOfIdAndAccountToStatuses < ActiveRecord::Migration[5.1]
|
||
|
disable_ddl_transaction!
|
||
|
|
||
|
def change
|
||
|
add_index :statuses, [:reblog_of_id, :account_id], algorithm: :concurrently
|
||
|
end
|
||
|
end
|