added children to users

This commit is contained in:
Edin Dazdarevic
2015-03-19 14:27:04 +01:00
parent 1d16951fcf
commit 69f5faffe4
5 changed files with 55 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
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
end
end
end