Easy Database Migration using Flyway and Spring | synyx - Blog
My team and I are currently working on an project we first started in early 2010. The application is in production since sometime late 2010 and there has been no active development except for minor enhancements and bugfixes since then. Even if our code, processes and tools were good in 2010 we've improved a lot since then. Working on my old projects is one of the occasions, where this becomes most evident.
When we start a new project today we usually use the database migration tool Liquibase right from the beginning. The tool keeps code and the database schema in sync and usually takes care of automatic migration during application startup.
Back then we usually used SQL scripts, which had to be executed manually during deployment, to keep the database up to date. Out of laziness or lack of time, this was also the first approach we took this week to handle database changes. These scripts are checked into version control along with any code changes.
Read full article from Easy Database Migration using Flyway and Spring | synyx - Blog
No comments:
Post a Comment