Sha256: c6f18d968ad74a9e3301874af606a3ba2c90819372f4b89e2dd36e9a42d6bad4

Contents?: true

Size: 399 Bytes

Versions: 5

Compression:

Stored size: 399 Bytes

Contents

class CreateAsyncRequestJobs < ActiveRecord::Migration
  def change
    create_table :async_request_jobs do |t|
      t.string :worker
      t.integer :status
      t.integer :status_code
      t.text :response
      t.string :uid
      t.text :params

      t.timestamps null: false
    end
    add_index :async_request_jobs, :status
    add_index :async_request_jobs, :uid, unique: true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
async_request-1.0.0 spec/dummy/db/migrate/20170815023204_create_async_request_jobs.rb
async_request-0.0.7 lib/templates/create_async_request_jobs.rb
async_request-0.0.6 lib/templates/create_async_request_jobs.rb
async_request-0.0.2 db/migrate/20160411190611_create_async_request_jobs.rb
async_request-0.0.1 db/migrate/20160411190611_create_async_request_jobs.rb