Fix user_id type error in DB