source: ruby/trunk/rails/cancerehr/db/schema.rb@ 60

Last change on this file since 60 was 60, checked in by KOBAYASHI, Shinji, 16 years ago

add people scaffold

File size: 1.1 KB
Line 
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 ActiveRecord 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
12ActiveRecord::Schema.define(:version => 2) do
13
14 create_table "people", :force => true do |t|
15 t.string "name"
16 t.date "birthday"
17 t.string "sex"
18 t.datetime "created_at"
19 t.datetime "updated_at"
20 end
21
22 create_table "users", :force => true do |t|
23 t.string "name"
24 t.string "hashed_passwd"
25 t.string "salt"
26 t.datetime "created_at"
27 t.datetime "updated_at"
28 end
29
30end
Note: See TracBrowser for help on using the repository browser.