Last change
on this file was 420, checked in by KOBAYASHI, Shinji, 14 years ago |
implementing terminology related tables
|
File size:
1.8 KB
|
Rev | Line | |
---|
[164] | 1 | # This file is auto-generated from the current state of the database. Instead of editing this file,
|
---|
| 2 | # please use the migrations feature of Active Record to incrementally modify your database, and
|
---|
| 3 | # then regenerate this schema definition.
|
---|
| 4 | #
|
---|
| 5 | # Note that this schema.rb definition is the authoritative source for your database schema. If you need
|
---|
| 6 | # to create the application database on another system, you should be using db:schema:load, not running
|
---|
| 7 | # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
---|
| 8 | # you'll amass, the slower it'll run and the greater likelihood for issues).
|
---|
| 9 | #
|
---|
| 10 | # It's strongly recommended to check this file into your version control system.
|
---|
| 11 |
|
---|
[420] | 12 | ActiveRecord::Schema.define(:version => 20100705082838) do
|
---|
[164] | 13 |
|
---|
[404] | 14 | create_table "archetype_data", :force => true do |t|
|
---|
| 15 | t.string "oid"
|
---|
| 16 | t.string "archetype_id"
|
---|
| 17 | t.string "concept"
|
---|
| 18 | t.string "path"
|
---|
| 19 | t.string "text_data"
|
---|
| 20 | t.integer "integer_data"
|
---|
[415] | 21 | t.float "real_data"
|
---|
[404] | 22 | t.datetime "created_at"
|
---|
| 23 | t.datetime "updated_at"
|
---|
| 24 | end
|
---|
| 25 |
|
---|
[419] | 26 | create_table "languages", :force => true do |t|
|
---|
[415] | 27 | t.string "code", :null => false
|
---|
| 28 | t.string "description", :null => false
|
---|
| 29 | end
|
---|
| 30 |
|
---|
[419] | 31 | add_index "languages", ["code"], :name => "index_languages_on_code"
|
---|
| 32 |
|
---|
[164] | 33 | create_table "terminologies", :force => true do |t|
|
---|
| 34 | t.string "code"
|
---|
| 35 | t.string "name"
|
---|
| 36 | t.string "lang"
|
---|
| 37 | t.text "group"
|
---|
| 38 | t.string "rubric"
|
---|
| 39 | t.text "description"
|
---|
| 40 | t.string "mappings"
|
---|
| 41 | end
|
---|
| 42 |
|
---|
[420] | 43 | create_table "terminology_identifiers", :force => true do |t|
|
---|
| 44 | t.string "vsab"
|
---|
| 45 | t.string "authority"
|
---|
| 46 | t.string "source_name"
|
---|
| 47 | end
|
---|
| 48 |
|
---|
| 49 | create_table "territories", :force => true do |t|
|
---|
| 50 | t.string "text"
|
---|
| 51 | t.string "three_letter"
|
---|
| 52 | t.string "numeric_code"
|
---|
| 53 | t.string "two_letter"
|
---|
| 54 | end
|
---|
| 55 |
|
---|
[164] | 56 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.