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 => 20130107181109) 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"