Now with extra protection - tests!
[railsex.git] / test / db / migrate / 001_create_people.rb
blob5211e74286775ff8cbcce4f60c64a0f0729f5bcf
1 class CreatePeople < ActiveRecord::Migration
2   def self.up
3     create_table :people do |t|
4       t.string :name
5       t.text :address
6       t.integer :age
8       t.timestamps
9     end
10   end
12   def self.down
13     drop_table :people
14   end
15 end