Introducing database migration tools

As often repeated in this book, maintaining every aspect of getting your application built and deployed to production needs to be maintained in version control. This includes the database too. The database changes need to be integrated pretty much like source code changes.

It is obvious, then, that database definitions and changes are tracked and integrated through files checked into the VCS.

Database migrations make the process of integration the database schema, and the changes made to the database are part of day-to-day development, straightforward, in a CI setup.

When using such tools, migrations are written whenever there are changes to the database. These migrations are like steps needed to move the database ...

Get Learning Continuous Integration with TeamCity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.