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.11.2 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.11.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.11.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.10.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.9.6 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.9.5 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.9.4 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.9.3 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.9.2 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.9.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.9.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.8.1 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb
good_job-2.8.0 lib/generators/good_job/templates/update/migrations/04_create_good_job_processes.rb.erb