12 lines
194 B
Ruby
12 lines
194 B
Ruby
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
|