Model function in MyAppWeb module

Should the model function in the module MyAppWeb RIP since Phoenix 1.3?

  def model do
    quote do
      use Ecto.Schema

      import Ecto
      import Ecto.Changeset
      import Ecto.Query
    end
  end
1 Like

Just had a look and I have removed it in a project I moved from 1.2 -> 1.3 and alls working fine. So Iā€™ say yes but you can check the offical upgrade doc here.

2 Likes

I used this link. It will get you the exact changes based on exact version you left.

https://www.phoenixdiff.org/?source=1.2.1&target=1.3.0

2 Likes