Browse Source

Edit migration to allow a user to own a bike

denney-disable-on-select
Jason Denney 12 years ago
parent
commit
56da361bca
  1. 1
      db/migrate/20121204223403_create_user_profile.rb

1
db/migrate/20121204223403_create_user_profile.rb

@ -2,6 +2,7 @@ class CreateUserProfile < ActiveRecord::Migration
def change def change
create_table :user_profiles do |t| create_table :user_profiles do |t|
t.integer "user_id", :null => false t.integer "user_id", :null => false
t.integer "bike_id"
t.string "first_name" t.string "first_name"
t.string "last_name" t.string "last_name"
t.string "addrStreet1" t.string "addrStreet1"

Loading…
Cancel
Save