Handling Database Changes in FastAPI with PostgreSQL

𝗗𝗲𝗮𝗿 𝗕𝗮𝗰𝗸𝗲𝗻𝗱 𝗗𝗲𝘃𝘀, When building an application with FastAPI and PostgreSQL, how do you handle database changes that build on a previous migration? Do you prefer rolling back (downgrading) the existing migration before making changes, or do you apply a new migration on top of the existing one? Although, I prefer the latter, what do you think? 😊 #Python #FastAPI #BackendDevelopment #BackendEngineering

To view or add a comment, sign in

Explore content categories