1 # This file is auto-generated from the current state of the database. Instead
2 # of editing this file, please use the migrations feature of Active Record to
3 # incrementally modify your database, and then regenerate this schema definition.
5 # Note that this schema.rb definition is the authoritative source for your
6 # database schema. If you need to create the application database on another
7 # system, you should be using db:schema:load, not running all the migrations
8 # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9 # you'll amass, the slower it'll run and the greater likelihood for issues).
11 # It's strongly recommended to check this file into your version control system.
13 ActiveRecord::Schema.define(:version => 20130109220548) do
15 create_table "collections", :force => true do |t|
17 t.string "created_by_client"
18 t.string "created_by_user"
19 t.datetime "created_at"
20 t.string "modified_by_client"
21 t.string "modified_by_user"
22 t.datetime "modified_at"
23 t.string "portable_data_hash"
25 t.integer "redundancy"
26 t.string "redundancy_confirmed_by_client"
27 t.datetime "redundancy_confirmed_at"
28 t.integer "redundancy_confirmed_as"
29 t.datetime "updated_at"
33 create_table "metadata", :force => true do |t|
35 t.string "created_by_client"
36 t.string "created_by_user"
37 t.datetime "created_at"
38 t.string "modified_by_client"
39 t.string "modified_by_user"
40 t.datetime "modified_at"
41 t.string "target_uuid"
42 t.string "target_kind"
43 t.integer "native_target_id"
44 t.string "native_target_type"
45 t.string "metadata_class"
49 t.datetime "updated_at"
52 create_table "nodes", :force => true do |t|
54 t.string "created_by_client"
55 t.string "created_by_user"
56 t.datetime "created_at"
57 t.string "modified_by_client"
58 t.string "modified_by_user"
59 t.datetime "modified_at"
60 t.integer "slot_number"
64 t.datetime "first_ping_at"
65 t.datetime "last_ping_at"
67 t.datetime "updated_at"
70 add_index "nodes", ["hostname"], :name => "index_nodes_on_hostname", :unique => true
71 add_index "nodes", ["slot_number"], :name => "index_nodes_on_slot_number", :unique => true
72 add_index "nodes", ["uuid"], :name => "index_nodes_on_uuid", :unique => true
74 create_table "pipeline_invocations", :force => true do |t|
76 t.string "created_by_client"
77 t.string "created_by_user"
78 t.datetime "created_at"
79 t.string "modified_by_client"
80 t.string "modified_by_user"
81 t.datetime "modified_at"
82 t.string "pipeline_uuid"
86 t.boolean "active", :default => false
87 t.datetime "updated_at"
90 add_index "pipeline_invocations", ["uuid"], :name => "index_pipeline_invocations_on_uuid", :unique => true
92 create_table "pipelines", :force => true do |t|
94 t.string "created_by_client"
95 t.string "created_by_user"
96 t.datetime "created_at"
97 t.string "modified_by_client"
98 t.string "modified_by_user"
99 t.datetime "modified_at"
102 t.datetime "updated_at"
105 add_index "pipelines", ["uuid"], :name => "index_pipelines_on_uuid", :unique => true