Gab-Social/db/migrate/20210103150000_add_index_on_status_stats_created_at.rb

8 lines
186 B
Ruby
Raw Normal View History

class AddIndexOnStatusStatsCreatedAt < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :status_stats, :created_at, algorithm: :concurrently
end
end