corrected migration regarding user_id to rating