Schema evolution, also known as “schema migrations,” is a core part of application development and is considered one of the riskiest - with the potential to bring down entire production systems with one innocent mistake.
Schema evolution becomes especially tricky for SaaS, where the same application serves many tenants. Whether the tenants share the same Postgres databases and schema or are more isolated, schema changes must be coordinated across tenants, application servers, and Postgres schemas.
In this talk, we’ll discuss the challenges of schema evolution in each of the common patterns developers use to implement multi-tenant applications. We’ll explore existing solutions and share how we are solving this problem at Nile, a Serverless Postgres built for SaaS.