I am using Elixir 1.9 and it’s release structure to deploy a Phoenix application, and I’m having some trouble getting migrations to trigger on start of the application. So far, I’ve been manually running a migration task within a module before running start, but I’m hoping for a more modular solution.
I noticed that that MixRelease struct has a
:boot_scripts field. However, I can’t find any examples on exactly how it should be used. I was wondering if it would help me bundle any pre-launch tasks though within my application cleanly, and how exactly I could do that. Could anyone advise me?