Databases as Code
By Kostas Bariotis
Databases as Code
A database is a vital part of every complex application. Databases change very often and contain data that can even disintegrate our whole application if they get out of sync. Changing a live database, whether it's related to schema or data, can be hard. Modern apps, where Agile methodologies along with processes such as Continuous Integration apply, have raised the bar of complexity so maintaining a database separately from the application's business logic can be quite painful. Fortunately, we have Database Migrations, a technique to help us keep our database changes under control.