I don’t often use change/2 so I went to the docs and noticed this:
Changed attributes will only be added if the change does not have the same value as the field in the data
9.0 == 9.0 so there is no change. maybe try:
product
|> change() # make a changeset
|> put_change(:unit_price, new_price)






















