Skip to content

Commit

Permalink
Merge pull request #302 from code0-tech/renovate/good_job-4.x-lockfile
Browse files Browse the repository at this point in the history
Update dependency good_job to v4.3.0
  • Loading branch information
Taucher2003 authored Sep 21, 2024
2 parents ade4774 + 654bc23 commit f51b98d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ GEM
raabro (~> 1.4)
globalid (1.2.1)
activesupport (>= 6.1)
good_job (4.2.1)
good_job (4.3.0)
activejob (>= 6.1.0)
activerecord (>= 6.1.0)
concurrent-ruby (>= 1.3.1)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# frozen_string_literal: true

class AddJobsFinishedAtToGoodJobBatches < Sagittarius::Database::Migration[1.0]
def change
reversible do |dir|
dir.up do
# Ensure this incremental update migration is idempotent
# with monolithic install migration.
return if connection.column_exists?(:good_job_batches, :jobs_finished_at)
end
end

change_table :good_job_batches do |t|
t.datetime_with_timezone :jobs_finished_at
end
end
end
1 change: 1 addition & 0 deletions db/schema_migrations/20240921163508
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d62cd0f817c25c9546fd3a13a0c7b2062b4e45f877d15f7eeb6e31bba9aabb94
3 changes: 2 additions & 1 deletion db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ CREATE TABLE good_job_batches (
callback_priority integer,
enqueued_at timestamp with time zone,
discarded_at timestamp with time zone,
finished_at timestamp with time zone
finished_at timestamp with time zone,
jobs_finished_at timestamp with time zone
);

CREATE TABLE good_job_executions (
Expand Down

0 comments on commit f51b98d

Please sign in to comment.