mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 13:56:49 +00:00
Add index on outboxes table for status and last_attempted_at
This commit is contained in:
parent
de7c304524
commit
e5ebfb84d0
@ -21,5 +21,7 @@ class CreateOutboxableOutboxes < ActiveRecord::Migration[7.0]
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :outboxes, %i[status last_attempted_at], name: 'index_outboxes_on_outboxable_status_and_last_attempted_at'
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user