Sha256: 0782d6365f49d6b56596bb357820d831eb1cdb389e6508b4fcce3476f2ee4492

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

# Complete schema for CloudCrowd.
ActiveRecord::Schema.define(:version => 1) do

  create_table "jobs", :force => true do |t|
    t.integer  "status",                      :null => false
    t.text     "inputs",                      :null => false
    t.string   "action",                      :null => false
    t.text     "options",                     :null => false
    t.text     "outputs"
    t.float    "time"
    t.string   "callback_url"
    t.string   "owner_email"
    t.integer  "lock_version", :default => 0, :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "work_units", :force => true do |t|
    t.integer  "status",                          :null => false
    t.integer  "job_id",                          :null => false
    t.text     "input",                           :null => false
    t.integer  "attempts",     :default => 0,     :null => false
    t.integer  "lock_version", :default => 0,     :null => false
    t.boolean  "taken",        :default => false, :null => false
    t.float    "time"
    t.text     "output"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "work_units", ["job_id"], :name => "index_work_units_on_job_id"
  add_index "work_units", ["status", "taken"], :name => "index_work_units_on_status_and_taken"

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
documentcloud-cloud-crowd-0.0.1 lib/cloud_crowd/schema.rb
documentcloud-cloud-crowd-0.0.2 lib/cloud_crowd/schema.rb
documentcloud-cloud-crowd-0.0.3 lib/cloud_crowd/schema.rb
documentcloud-cloud-crowd-0.0.4 lib/cloud_crowd/schema.rb