Is there a way echo.migrate can read my models and update my database accordingly?

I don’t think so… it’s a feature I missed coming from python Django. But it is not something that is perfect and will work in any situation though…

Also models are deprecated in Ecto and we can have multiple schemas for the same db table.

What I do to keep track of my projects database structure is using some diagram tools such as draw.io. There are many interresting solutions in this thread:

2 Likes