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 => 20130107212832) 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 create_table "metadata", :force => true do |t|
36 t.string "created_by_client"
37 t.string "created_by_user"
38 t.datetime "created_at"
39 t.string "modified_by_client"
40 t.string "modified_by_user"
41 t.datetime "modified_at"
42 t.string "target_uuid"
43 t.string "target_kind"
44 t.integer "native_target_id"
45 t.string "native_target_type"
46 t.string "metadata_class"
50 t.datetime "updated_at"
53 create_table "nodes", :force => true do |t|
55 t.string "created_by_client"
56 t.string "created_by_user"
57 t.datetime "created_at"
58 t.string "modified_by_client"
59 t.string "modified_by_user"
60 t.datetime "modified_at"
61 t.integer "slot_number"
65 t.datetime "first_ping_at"
66 t.datetime "last_ping_at"
68 t.datetime "updated_at"
71 add_index "nodes", ["hostname"], :name => "index_nodes_on_hostname", :unique => true
72 add_index "nodes", ["slot_number"], :name => "index_nodes_on_slot_number", :unique => true
73 add_index "nodes", ["uuid"], :name => "index_nodes_on_uuid", :unique => true