mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
Add missing migrations for good_job 4x (#967)
* Goodjob 3.99 * Properly bump to good_job 4.0.0 * Remove accidently tracked .tool-versions
This commit is contained in:
parent
538b00712c
commit
de5a2e55b3
5 changed files with 96 additions and 1 deletions
|
@ -0,0 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class CreateGoodJobExecutionDuration < ActiveRecord::Migration[7.2]
|
||||
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, :duration)
|
||||
end
|
||||
end
|
||||
|
||||
add_column :good_job_executions, :duration, :interval
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue