• pbair's avatar
    Change migration table scopes to use id column · 99aa25b9
    pbair authored
    Change the scopes that are used to fetch batched_background_migrations
    and batched_background_migration_jobs to use the `id` column rather than
    `created_at`. This saves an index one of the tables, and ensures we
    don't need a tiebreaker for the sort.
    99aa25b9
batched_migration.rb 1.58 KB