Cogini Blog

Articles by deploy

Jake Morrison

Running Ecto migrations in production releases with Distillery custom commands

In a dev or test environment, we execute the mix ecto.migrate command to run database migrations. When running from a release, the mix command is not available, so we execute Ecto.Migrator.run/4 from code via a Distillery custom command command. Read more…

Categories

Development DevOps Products

Tags