gab-social/db/migrate/20210102225500_add_index_on_status_revisions.rb
2021-01-02 23:12:32 -05:00

8 lines
184 B
Ruby

class AddIndexOnStatusRevisions < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :status_revisions, :status_id, algorithm: :concurrently
end
end