Thinking Elixir Podcast cover image

22: Running migrations in production with Patryk Bąk

Thinking Elixir Podcast

00:00

Is There a Concurrency Option for Concurrent Migrations?

In those situations, I've just P-sequeled into it, ran the migration just manually. If I'm adding a new table or a new column, just do it manually and then deploying it with the new code. Then the migration will run. It'll see, ah, we're done. We've already migrated and keep on going. That's like manual stuff that you have to do. Ecto has a concurrent option that you can add to a specific migration and to an index so that it won't block everything if you happen to be doing something like an index on a big table in Postgres. So these are just considerations and concerns that we need to make when we

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app