Sha256: 3594a2fe928df8308d8cbd6d9d11441f970f57d3fb34f31561612a06be79da1d
Contents?: true
Size: 897 Bytes
Versions: 11
Compression:
Stored size: 897 Bytes
Contents
# frozen_string_literal: true class CreateGoodJobExecutions < 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_executions) end end create_table :good_job_executions, id: :uuid do |t| t.timestamps t.uuid :active_job_id, null: false t.text :job_class t.text :queue_name t.jsonb :serialized_params t.datetime :scheduled_at t.datetime :finished_at t.text :error t.index [:active_job_id, :created_at], name: :index_good_job_executions_on_active_job_id_and_created_at end change_table :good_jobs do |t| t.boolean :is_discrete t.integer :executions_count t.text :job_class end end end
Version data entries
11 entries across 11 versions & 1 rubygems