4557611b28f8386f6a5dc6b1eecd7a6750f05df6
[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 => 20130107181109) 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   create_table "metadata", :force => true do |t|
35     t.string   "uuid"
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"
47     t.string   "key"
48     t.string   "value"
49     t.text     "info"
50     t.datetime "updated_at"
51   end
52
53 end