I want my ERD file to always be up-to-date and don't have to have to remember to run it each time. For that, I've added two entries to the aliases method in my mix.exs:
These regenerate the ERD every time I migrate or rollback the database. I imagine I'm not the only one who benefits from this so I thought I'd mention in case you wanted to add something like this to the README!
I want my ERD file to always be up-to-date and don't have to have to remember to run it each time. For that, I've added two entries to the
aliases
method in my mix.exs:These regenerate the ERD every time I migrate or rollback the database. I imagine I'm not the only one who benefits from this so I thought I'd mention in case you wanted to add something like this to the README!