Make `.next_migration_number` reusable for third party AR generators.