Sha256: 7c8b683d16db585869c0b9c9fa7ddc381f386e59762443062136af48c71540fa
Contents?: true
Size: 491 Bytes
Versions: 5
Compression:
Stored size: 491 Bytes
Contents
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
5 entries across 5 versions & 1 rubygems