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

8 lines
184 B
Ruby
Raw Normal View History

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