Well hello there, its my first post. Loving Elixir/Phoenix so far.
I have a question about phx.gen.context. Trying to understand how the Ecto.Schema table fields are declared in the gen context mix task. I roughly get it goes fieldname:type:options etc but wondering specifics. The :references option is confusing me as it does not say if its using belongs_to(), has_many(), or has_one() functions.
I am following through the awesome Contexts guide.
mix phx.gen.context ShoppingCart CartItem cart_items
cart_id:references:carts product_id:references:products
price_when_carted:decimal quantity:integer