Sha256: 2b7faa632d502f3d1cec37baf05522eec83c9840f9cf647d534c70817b25b586
Contents?: true
Size: 521 Bytes
Versions: 10
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true class AddActiveJobIdConcurrencyKeyCronKeyToGoodJobs < ActiveRecord::Migration[5.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_jobs, :active_job_id) end end add_column :good_jobs, :active_job_id, :uuid add_column :good_jobs, :concurrency_key, :text add_column :good_jobs, :cron_key, :text end end
Version data entries
10 entries across 10 versions & 1 rubygems