box-o-sand/RubyFun/rails/gerbil/db/migrate/20111114120238_create_people.rb

12 lines
194 B
Ruby
Raw Normal View History

2011-11-14 12:42:13 +00:00
class CreatePeople < ActiveRecord::Migration
def change
create_table :people do |t|
t.string :name
t.integer :age
t.string :zipcode
t.timestamps
end
end
end