Company
Date Published
Author
Jimmy Guerrero
Word count
1300
Language
English
Hacker News points
None

Summary

Flyway is an open source database version control and migration tool that can be used with various databases, including YugabyteDB. Flyway provides a simple way to manage schema changes by using seven commands: Migrate, Clean, Info, Validate, Undo, Baseline, and Repair. In this tutorial, we installed a 3 node YugabyteDB cluster on Google Kubernetes Platform, created a Northwind sample database, and configured Flyway to work with YugabyteDB. We then created a project, configured the Flyway integration, created table migration, inserted data migration, and executed these migrations using the Maven plugin. With this setup, we have versioning control managed by Flyway for our YugabyteDB cluster.