Closed airlanggacahya closed 7 years ago
Is timex
in your applications list in mix.exs
? If not, adding it there should fix it. It was my understanding that ecto.migrate
starts the application before running migrations, so if timex
is in the applications list, it should work as expected. If that's not the case, then your solution is the only way around that I'm afraid.
Error tzdata when running ecto.migrate that contains insertion command.
Model
Migration File
Temporary solution, add
Application.ensure_all_started :timex
before migration code. But it seems hacky....