title: How to handle updates of a web application in with multi tenant databases?
body: <p>I am about to develop a new SaaS solution where i want to use single web application (SPA), with multi tenant databases which share the same schema. However i have a concerns regards update and deployment routines.</p>
  
  <p><a href="https://i.stack.imgur.com/IKnum.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IKnum.png" alt="enter image description here"></a></p>
  
  <p>Lets assume i made a change in web application and database where i added a new column to some table. Now i want to update Web application and at the same time i want to update all the databases with new column without application going down for maintenance. I can start by updating a single tenant database, but as soon as changes to tenant are made, web app is not current anymore for the tenant. Other way around i can update Web application first, but then application is not current for any tenants anymore. </p>
  
  <p>How do i solve this? </p>