instead of cwd and load the application before doing anything In OTP releases cwd != app directory and the configuration is read only if the application is loaded
ecto.migrate ecto.rollback