Programming Phoenix LiveView B7: Page 158

mix ecto.migrate
Compiling 4 files (.ex)
warning: invalid association `user` in schema Pento.Survey.Rating: associated schema User does not exist
  lib/pento/survey/rating.ex:1: Pento.Survey.Rating (module)

warning: invalid association `product` in schema Pento.Survey.Rating: associated schema Product does not exist
  lib/pento/survey/rating.ex:1: Pento.Survey.Rating (module)

I fixed those two warnings by adding these aliases to the Rating module in rating.ex

  alias Pento.Catalog.Product
  alias Pento.Accounts.User