lib/good_job.rb in good_job-3.29.5 vs lib/good_job.rb in good_job-3.30.0
- old
+ new
@@ -284,11 +284,11 @@
# Whether all GoodJob migrations have been applied.
# For use in tests/CI to validate GoodJob is up-to-date.
# @return [Boolean]
def self.migrated?
# Always update with the most recent migration check
- GoodJob::Execution.reset_column_information
- GoodJob::Execution.process_lock_migrated?
+ GoodJob::DiscreteExecution.reset_column_information
+ GoodJob::DiscreteExecution.monotonic_duration_migrated?
end
ActiveSupport.run_load_hooks(:good_job, self)
end