1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00
Maybe/db/migrate/20250605031616_add_index_to_sync_status.rb

8 lines
186 B
Ruby
Raw Permalink Normal View History

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