Liquibase is a tool required for database schema migration. The Data Defintion Queries that we saw need to be run on the database. But in a production database, it is not scalable to migrate the database by running the queries on the database by hand. They need to be centrally sourced controlled for manageable changes to the database.

As we will see in Chapter 6, Analyzing Your Application we will not have access to the database  as it will be running in  a virtual private cloud with no public accessibility. To get around this, we will create a Lambda function which migrates the database programmatically.

Liquibase is the tool that solves the aforementioned problems in a programmatic way. It can be used as a dependency in the

Get Hands-On Serverless Applications with Kotlin 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.