Thinking Elixir Podcast cover image

22: Running migrations in production with Patryk Bąk

Thinking Elixir Podcast

00:00

Renaming Tables Using Postgres Views

The tip of renaming tables using Postgres views. So I'd love to hear about that one and kind of what that means for you. Let's imagine that we have two instances of our application. Usually it's not a problem unless we deploy a migration, which renames the table name. But until the second instance is replaced with the new one, each request handled by a handle will trigger errors as the code refers to the table, which doesn't exist anymore.

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