2015-03-19 14:27:04 +01:00
|
|
|
class CreateChildren < ActiveRecord::Migration
|
|
|
|
|
def change
|
|
|
|
|
create_table :children do |t|
|
|
|
|
|
t.string :name
|
|
|
|
|
t.integer :gender
|
|
|
|
|
t.date :date_of_birth
|
|
|
|
|
t.integer :user_id
|
2015-03-19 22:29:16 +01:00
|
|
|
t.boolean :on_the_way
|
2015-03-19 14:27:04 +01:00
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|