Sha256: e77ad1286b11047f8349641b5890e46e0e1f0dba94b5e0aa5b7a3d95901ac7f2

Contents?: true

Size: 890 Bytes

Versions: 13

Compression:

Stored size: 890 Bytes

Contents

# frozen_string_literal: true

ActiveRecord::Schema.define(version: 0) do

  create_table(:delayed_jobs, force: true) do |t|
    t.integer :priority, default: 0
    t.integer :attempts, default: 0
    t.text :handler
    t.text :last_error
    t.datetime :run_at
    t.datetime :locked_at
    t.datetime :failed_at
    t.string :locked_by
    t.string :queue
    t.timestamps
    t.boolean :blocked, default: false, null: false
    t.integer :job_group_id
  end
  add_index(:delayed_jobs, :job_group_id)

  create_table(:delayed_job_groups, force: true) do |t|
    t.text :on_completion_job
    t.text :on_completion_job_options
    t.text :on_cancellation_job
    t.text :on_cancellation_job_options
    t.boolean :failure_cancels_group, default: true, null: false
    t.boolean :queueing_complete, default: false, null: false
    t.boolean :blocked, default: false, null: false
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
delayed_job_groups_plugin-0.12.0 spec/db/schema.rb
delayed_job_groups_plugin-0.11.0 spec/db/schema.rb
delayed_job_groups_plugin-0.10.1 spec/db/schema.rb
delayed_job_groups_plugin-0.10.0 spec/db/schema.rb
delayed_job_groups_plugin-0.9.0 spec/db/schema.rb
delayed_job_groups_plugin-0.8.0 spec/db/schema.rb
delayed_job_groups_plugin-0.7.0 spec/db/schema.rb
delayed_job_groups_plugin-0.6.2 spec/db/schema.rb
delayed_job_groups_plugin-0.6.0 spec/db/schema.rb
delayed_job_groups_plugin-0.5.0 spec/db/schema.rb
delayed_job_groups_plugin-0.4.3 spec/db/schema.rb
delayed_job_groups_plugin-0.4.2 spec/db/schema.rb
delayed_job_groups_plugin-0.4.1 spec/db/schema.rb