added children to users
This commit is contained in:
10
front-api/db/migrate/20150319104317_create_children.rb
Normal file
10
front-api/db/migrate/20150319104317_create_children.rb
Normal 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
|
||||
Reference in New Issue
Block a user