add Project resource
[arvados.git] / db / schema.rb
1 # encoding: UTF-8
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.
5 #
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).
11 #
12 # It's strongly recommended to check this file into your version control system.
13
14 ActiveRecord::Schema.define(:version => 20130116215213) do
15
16   create_table "collections", :force => true do |t|
17     t.string   "locator"
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"
25     t.string   "name"
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"
31     t.string   "uuid"
32   end
33
34   add_index "collections", ["uuid"], :name => "index_collections_on_uuid", :unique => true
35
36   create_table "metadata", :force => true do |t|
37     t.string   "uuid"
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"
49     t.string   "key"
50     t.string   "value"
51     t.text     "info"
52     t.datetime "updated_at"
53   end
54
55   add_index "metadata", ["uuid"], :name => "index_metadata_on_uuid", :unique => true
56
57   create_table "nodes", :force => true do |t|
58     t.string   "uuid"
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"
66     t.string   "hostname"
67     t.string   "domain"
68     t.string   "ip_address"
69     t.datetime "first_ping_at"
70     t.datetime "last_ping_at"
71     t.text     "info"
72     t.datetime "updated_at"
73   end
74
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
78
79   create_table "pipeline_invocations", :force => true do |t|
80     t.string   "uuid"
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"
88     t.string   "name"
89     t.text     "components"
90     t.boolean  "success"
91     t.boolean  "active",             :default => false
92     t.datetime "updated_at"
93   end
94
95   add_index "pipeline_invocations", ["uuid"], :name => "index_pipeline_invocations_on_uuid", :unique => true
96
97   create_table "pipelines", :force => true do |t|
98     t.string   "uuid"
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"
105     t.string   "name"
106     t.text     "components"
107     t.datetime "updated_at"
108   end
109
110   add_index "pipelines", ["uuid"], :name => "index_pipelines_on_uuid", :unique => true
111
112   create_table "projects", :force => true do |t|
113     t.string   "uuid"
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"
120     t.string   "name"
121     t.text     "description"
122     t.datetime "updated_at"
123   end
124
125   add_index "projects", ["uuid"], :name => "index_projects_on_uuid", :unique => true
126
127   create_table "specimens", :force => true do |t|
128     t.string   "uuid"
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"
135     t.string   "material"
136     t.datetime "updated_at"
137   end
138
139   add_index "specimens", ["uuid"], :name => "index_specimens_on_uuid", :unique => true
140
141 end