mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 06:09:38 +02:00
* Goodjob 3.99 * Properly bump to good_job 4.0.0 * Remove accidently tracked .tool-versions
15 lines
426 B
Ruby
15 lines
426 B
Ruby
# 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
|