1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-03-01 01:03:23 -05:00
BikeShed-1/db/migrate/20121204223403_create_user_profile.rb

19 lines
419 B
Ruby
Raw Normal View History

2012-12-04 17:40:21 -05:00
class CreateUserProfile < ActiveRecord::Migration
def change
create_table :user_profiles do |t|
2012-12-04 23:36:50 -05:00
t.integer "user_id", :null => false
2012-12-04 17:40:21 -05:00
t.string "first_name"
t.string "last_name"
t.string "addrStreet1"
t.string "addrStreet2"
t.string "addrCity"
t.string "addrState"
t.string "addrZip"
t.string "phone"
t.string "email"
t.timestamps
end
end
end