This is the correct solution. Once I put Application.ensure_all_started(@app)
I was able to run my migrations without error. Now I will need to figure out what that does haha.
I got the idea for Application.ensure_all_started(@app)
from here: Error: DBConnection.ConnectionError, ssl_not_started