Deploying Elixir eBook Debugging Elixir Phoenix: Beyond IO.inspect/2

Safe Ecto Migrations - Community Resource

There is a new community resource available on writing “Safe Ecto Migrations”. When we get a migration wrong, it can lock up your production servers with table locks!

This 4 part guide walks through:

  • Understanding Ecto migrations and what Postgres is actually doing
  • Setting up your mix release project for running migrations
  • Recipes for safely making many common changes
  • How to safely make batch data changes
  • Includes a Github repo with samples!

A valuable new resource for the community!

https://fly.io/phoenix-files/safe-ecto-migrations/