Sha256: 87dd4007966fcde7cfd2b244c80d4330d09cf361018f04e31a72027cd788b0cb

Contents?: true

Size: 816 Bytes

Versions: 2

Compression:

Stored size: 816 Bytes

Contents

# encoding: UTF-8

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 :queueing_complete, default: false, null: false
    t.boolean :blocked, default: false, null: false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
delayed_job_groups_plugin-0.1.1 spec/db/schema.rb
delayed_job_groups_plugin-0.1.0 spec/db/schema.rb