In a containerized application one need a way to automatically run database migrations whenever new changes are deployed. The easiest solution, that is often used, is to just run them within the production container, right before the actual app starts. yarn migrations:run
yarn start One drawback of this solution is…