Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

455 B
Raw Blame
# frozen_string_literal: true

class CreateGoodJobExecutionErrorBacktrace < 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, :error_backtrace)
      end
    end

    add_column :good_job_executions, :error_backtrace, :text, array: true
  end
end