Updated pick table & user_pick_history definitions

Updated pick table so picture_ids can be null. Updated user_pick_history so it had a foreign key on pick_id and moved it to be created after the pick table.