Gab-Social/db/migrate/20200707212832_add_index_to_account_created_at.rb

8 lines
175 B
Ruby
Raw Normal View History

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