#022 Running migrations in production with Patryk Bąk
We talk with Patryk Bąk about running migrations in production. For production systems where downtime or service interruptions are a problem, we sometimes need to take special care when migrating data structures or the data itself. Patryk shares some valuable tips and techniques along with examples of when to use them. We chime in with war stories, our own tips, and mistakes we’ve made. A great resource when migrating data in your own systems. Check it out!
Show Notes online – https://thinkingelixir.com/podcast-episodes/022-running-migrations-in-production-with-patryk-bak
Elixir Community News
- https://github.com/phoenixframework/phoenix_live_view/pull/1184 – LiveView uploads officially lands in master
- https://github.com/mcrumm/live_upload_example – LV upload example
- https://github.com/phoenixframework/phoenix_live_view/blob/master/guides/client/uploads-external.md – LV upload guide for client side
- https://github.com/phoenixframework/phoenix_live_view/blob/master/guides/server/uploads.md – LV upload guide for server side
- https://getoban.pro/ – Oban Pro v0.5.1 adds cancel support and a new Workflow module
- https://github.com/axelson/dep_viz – Jason Axelson launched DepViz
- https://dep-viz.herokuapp.com/ – DepViz online
- https://www.codebeambr.com/ – CodeBEAM Brazil happened – look for videos soon?
Do you know some Elixir news we don’t? Tell us at @ThinkingElixir
Discussion Resources
- https://patrykbak.com/2020/06/15/why-should-not-you-use-elixir-code-in-database-migrations.html
- https://patrykbak.com/2020/05/28/how-to-migrate-live-production-data.html
- https://appunite.com – AppUnite
- https://dashbit.co/blog/automatic-and-manual-ecto-migrations
- https://www.postgresql.org/docs/9.2/sql-createview.html – PostgreSQL views
- https://twitter.com/patrykbak91 – on Twitter
- https://github.com/patrykbak91 – on Github
- https://patrykbak.com – Blog
Find us online
- Message the show – @ThinkingElixir
- Mark Ericksen – @brainlid
- David Bernheisel – @bernheisel
- Cade Ward – Github
Podcast: Download