
76: Safe Ecto Migrations with David Bernheisel
About this episode
We talk with host David Bernheisel about his Safe Ecto Migrations guide that was recently released. Intended as a resource for the community, it’s a 4-part series covering how Ecto migrations work, running migrations on production, provides a set of common-task recipes and strategies for migrating data in addition to DB structure. We discuss ideas around migrations like avoiding table locks on production, how to safely add DB check constraints, separating data migrations from structure changes, painful learning experiences and much more!
Show Notes online - http://podcast.thinkingelixir.com/76
Elixir Community News
- https://github.com/elixir-nx/nx/pull/558 – Implement hooks and tokens for Nx
- https://twitter.com/josevalim/status/1463239485685129216 – José Valim's explanation and excitement for the Nx PR
- https://twitter.com/chris_mccord/status/1462851686352015361 – Chris McCord teased a fully accessible Tailwind UI styled dropdown component along with something he's working on.
- https://twitter.com/josevalim/status/1463605416861081602 – José shares what Philip Sampaio is doing with R&D towards precompiled NIFs
- https://twitter.com/philipsampaio/status/1463602239558270980 – Philip Sampaio is working on precompiled NIFs using Rustler
- https://www.empex.co/mtn – Empex Mountain Conference - Held in Salt Lake City, Utah on May 6th 2022 - CFP is open
- https://www.twitch.tv/josevalim – Advent of Code is getting started. Jose Valim will be live-coding solutions using Elixir on Twitch.
Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at [email protected]
Discussion Resources
- https://github.com/fly-apps/safe-ecto-migrations
- https://fly.io/phoenix-files/safe-ecto-migrations/
- https://fly.io/phoenix-files/
- https://elixirmix.com/68 – ElixirMix - Contributing to the Elixir Community with David Bernheisel & Cory Schmitt
- https://elixirmix.com/92 – ElixirMix - Managing Change with Ecto with David Bernheisel
Guest Information
- https://twitter.com/bernheisel – on Twitter
- https://github.com/dbernheisel – on Github
- https://bernheisel.com/blog – Blog
Find us online
- Message the show - @ThinkingElixir
- Email the show - [email protected]
- Mark Ericksen - @brainlid
- David Bernheisel - @bernheisel
- Cade Ward - @cadebward
Get every episode summarized
Each time Thinking Elixir Podcast publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Thinking Elixir Podcast

299: Don't Paste That Into Your Terminal
Thinking Elixir Podcast

298: Hex Gets a Glow Up
Thinking Elixir Podcast

297: JavaScript Joins the BEAM?
Thinking Elixir Podcast

296: OpenAI Chose Elixir and A VM Inside a VMV
Thinking Elixir Podcast