Files
sure/db/migrate/20250605031616_add_index_to_sync_status.rb
Iuri G. 1d2e7fcae0 perf: Add index to sync status (#2337)
* - Add index to sync status

* - revert typo

* - revert unrelated schema.rb change
2025-06-09 10:18:52 -04:00

8 lines
186 B
Ruby

class AddIndexToSyncStatus < ActiveRecord::Migration[7.2]
disable_ddl_transaction!
def change
add_index :syncs, :status, if_not_exists: true, algorithm: :concurrently
end
end