Changeset 60 for ruby/trunk/rails/cancerehr/db
- Timestamp:
- May 21, 2008, 10:02:39 PM (16 years ago)
- Location:
- ruby/trunk/rails/cancerehr/db
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/trunk/rails/cancerehr/db/migrate/001_create_users.rb
r59 r60 1 1 class CreateUsers < ActiveRecord::Migration 2 2 def self.up 3 options = { 4 :options => "DEFAULT_CHAR_SET=utf8" 5 } 3 6 create_table :users do |t| 4 7 t.column :name, :string -
ruby/trunk/rails/cancerehr/db/schema.rb
r57 r60 10 10 # It's strongly recommended to check this file into your version control system. 11 11 12 ActiveRecord::Schema.define(:version => 1) do 12 ActiveRecord::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 13 21 14 22 create_table "users", :force => true do |t|
Note:
See TracChangeset
for help on using the changeset viewer.