Skip to content

Commit

Permalink
Ensure migration warning for DiscreteExecution constant is in expli…
Browse files Browse the repository at this point in the history
…cit `GoodJob::` namespace (#963)
  • Loading branch information
bensheldon authored May 22, 2023
1 parent 1c4fc07 commit 4ba26e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/good_job/base_execution.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def coalesce_scheduled_at_created_at
end

def discrete_support?
if connection.table_exists?(DiscreteExecution.table_name)
if connection.table_exists?(GoodJob::DiscreteExecution.table_name)
true
else
migration_pending_warning!
Expand Down

0 comments on commit 4ba26e4

Please sign in to comment.