Adding scaffolding for "Person"
This commit is contained in:
11
rails/gerbil/db/migrate/20111114120238_create_people.rb
Normal file
11
rails/gerbil/db/migrate/20111114120238_create_people.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
Reference in New Issue
Block a user