mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
-Moved bikes to User model instead of profile -User can copy user log to a bike log with new actsasloggable -Added user stats -some css was messing up checkboxes, need to figure out which stylesheet was doing that
19 lines
419 B
Ruby
19 lines
419 B
Ruby
class CreateUserProfile < ActiveRecord::Migration
|
|
def change
|
|
create_table :user_profiles do |t|
|
|
t.integer "user_id", :null => false
|
|
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
|