I don’t know about packages, but the nature of Ecto is clearly different from Active Record.
That means no callbacks. Also polymorphism in not done the same way. You can have a look at
This book has been updated to version 2.1.
I put a sample schema to show You how it can be done manually.
1 Like