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
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
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.
I used this link. It will get you the exact changes based on exact version you left.