diff --git a/Gemfile.lock b/Gemfile.lock index 7d5466b5..f2a21291 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -119,7 +119,7 @@ GEM raabro (~> 1.4) globalid (1.2.1) activesupport (>= 6.1) - good_job (3.28.2) + good_job (3.28.3) activejob (>= 6.0.0) activerecord (>= 6.0.0) concurrent-ruby (>= 1.0.2) diff --git a/db/migrate/20240518124933_create_good_job_execution_error_backtrace.rb b/db/migrate/20240518124933_create_good_job_execution_error_backtrace.rb new file mode 100644 index 00000000..6b054b64 --- /dev/null +++ b/db/migrate/20240518124933_create_good_job_execution_error_backtrace.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +class CreateGoodJobExecutionErrorBacktrace < ActiveRecord::Migration[7.1] + 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_executions, :error_backtrace) + end + end + + add_column :good_job_executions, :error_backtrace, :text, array: true + end +end diff --git a/db/schema.rb b/db/schema.rb index aba59cdf..c66f06c2 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.1].define(version: 2024_01_27_110542) do +ActiveRecord::Schema[7.1].define(version: 2024_05_18_124933) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -180,6 +180,7 @@ t.datetime "finished_at" t.text "error" t.integer "error_event", limit: 2 + t.text "error_backtrace", array: true t.index ["active_job_id", "created_at"], name: "index_good_job_executions_on_active_job_id_and_created_at" end diff --git a/gemset.nix b/gemset.nix index 1f94316e..b638cc30 100644 --- a/gemset.nix +++ b/gemset.nix @@ -388,10 +388,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1i3kyrlds4r81zssbn67g009r21j7s7n2wjwsjv91c7lmj06azgc"; + sha256 = "1k4yqlsqsf44nicc32z5xdcrdsxr34wzlyqb5v4a8caabp0wnrrh"; type = "gem"; }; - version = "3.28.2"; + version = "3.28.3"; }; has_scope = { dependencies = ["actionpack" "activesupport"];