2 # This file is auto-generated from the current state of the database. Instead
3 # of editing this file, please use the migrations feature of Active Record to
4 # incrementally modify your database, and then regenerate this schema definition.
6 # Note that this schema.rb definition is the authoritative source for your
7 # database schema. If you need to create the application database on another
8 # system, you should be using db:schema:load, not running all the migrations
9 # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10 # you'll amass, the slower it'll run and the greater likelihood for issues).
12 # It's strongly recommended to check this file into your version control system.
14 ActiveRecord::Schema.define(:version => 20130116215213) do
16 create_table "collections", :force => true do |t|
18 t.string "created_by_client"
19 t.string "created_by_user"
20 t.datetime "created_at"
21 t.string "modified_by_client"
22 t.string "modified_by_user"
23 t.datetime "modified_at"
24 t.string "portable_data_hash"
26 t.integer "redundancy"
27 t.string "redundancy_confirmed_by_client"
28 t.datetime "redundancy_confirmed_at"
29 t.integer "redundancy_confirmed_as"
30 t.datetime "updated_at"
34 add_index "collections", ["uuid"], :name => "index_collections_on_uuid", :unique => true
36 create_table "metadata", :force => true do |t|
38 t.string "created_by_client"
39 t.string "created_by_user"
40 t.datetime "created_at"
41 t.string "modified_by_client"
42 t.string "modified_by_user"
43 t.datetime "modified_at"
44 t.string "target_uuid"
45 t.string "target_kind"
46 t.integer "native_target_id"
47 t.string "native_target_type"
48 t.string "metadata_class"
52 t.datetime "updated_at"
55 add_index "metadata", ["uuid"], :name => "index_metadata_on_uuid", :unique => true
57 create_table "nodes", :force => true do |t|
59 t.string "created_by_client"
60 t.string "created_by_user"
61 t.datetime "created_at"
62 t.string "modified_by_client"
63 t.string "modified_by_user"
64 t.datetime "modified_at"
65 t.integer "slot_number"
69 t.datetime "first_ping_at"
70 t.datetime "last_ping_at"
72 t.datetime "updated_at"
75 add_index "nodes", ["hostname"], :name => "index_nodes_on_hostname", :unique => true
76 add_index "nodes", ["slot_number"], :name => "index_nodes_on_slot_number", :unique => true
77 add_index "nodes", ["uuid"], :name => "index_nodes_on_uuid", :unique => true
79 create_table "pipeline_invocations", :force => true do |t|
81 t.string "created_by_client"
82 t.string "created_by_user"
83 t.datetime "created_at"
84 t.string "modified_by_client"
85 t.string "modified_by_user"
86 t.datetime "modified_at"
87 t.string "pipeline_uuid"
91 t.boolean "active", :default => false
92 t.datetime "updated_at"
95 add_index "pipeline_invocations", ["uuid"], :name => "index_pipeline_invocations_on_uuid", :unique => true
97 create_table "pipelines", :force => true do |t|
99 t.string "created_by_client"
100 t.string "created_by_user"
101 t.datetime "created_at"
102 t.string "modified_by_client"
103 t.string "modified_by_user"
104 t.datetime "modified_at"
107 t.datetime "updated_at"
110 add_index "pipelines", ["uuid"], :name => "index_pipelines_on_uuid", :unique => true
112 create_table "projects", :force => true do |t|
114 t.string "created_by_client"
115 t.string "created_by_user"
116 t.datetime "created_at"
117 t.string "modified_by_client"
118 t.string "modified_by_user"
119 t.datetime "modified_at"
122 t.datetime "updated_at"
125 add_index "projects", ["uuid"], :name => "index_projects_on_uuid", :unique => true
127 create_table "specimens", :force => true do |t|
129 t.string "created_by_client"
130 t.string "created_by_user"
131 t.datetime "created_at"
132 t.string "modified_by_client"
133 t.string "modified_by_user"
134 t.datetime "modified_at"
136 t.datetime "updated_at"
139 add_index "specimens", ["uuid"], :name => "index_specimens_on_uuid", :unique => true