Skip to content

Commit

Permalink
Ignore the is_discrete column
Browse files Browse the repository at this point in the history
For a safe migration, this column must be ignored first
  • Loading branch information
Earlopain committed Jul 8, 2024
1 parent 5be5c28 commit 20e3814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/good_job/base_execution.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class BaseExecution < BaseRecord
self.advisory_lockable_column = 'active_job_id'
self.implicit_order_column = 'created_at'

self.ignored_columns += ["is_discrete"]

define_model_callbacks :perform
define_model_callbacks :perform_unlocked, only: :after

Expand Down

0 comments on commit 20e3814

Please sign in to comment.