Syntax - Tasty Web Development Treats cover image

Supper Club × ORMs with Nikolas Burk from Prisma

Syntax - Tasty Web Development Treats

Prisma Migration - How Can I Change the Schema of My Database Without Taking the Application Down?

2min Snip

00:00
Play full episode
How can I change the schema of my database without taking the application down that's indeed a very interesting question. It also depends on whether this Schema would break your application and if you like rename a field then it would indeed also break your application code so you have to make sure that you either deploy these changes in sync or sometimes you can even have even more complicated migration scenarios. For that there is what's called the expand and contract pattern that we have written about in our documentation and also in the Prisma data guide.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode