gab-social/db/migrate/20210102225500_add_index_on...

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