Sha256: 942c6d16d7a622c3a3ccd91a5ac2fd65f70a33d45b5aa7ac2cf1ca79575e85ed

Contents?: true

Size: 468 Bytes

Versions: 33

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true
class CreateGoodJobProcesses < ActiveRecord::Migration<%= migration_version %>
  def change
    reversible do |dir|
      dir.up do
        # Ensure this incremental update migration is idempotent
        # with monolithic install migration.
        return if connection.table_exists?(:good_job_processes)
      end
    end

    create_table :good_job_processes, id: :uuid do |t|
      t.timestamps
      t.jsonb :state
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
good_job-2.99.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.17.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.17.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.16.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.16.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.15.2 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.15.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.15.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.14.4 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.14.3 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.14.2 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.14.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.14.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.13.2 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.13.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.13.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.12.2 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.12.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.12.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.11.3 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb