Learn how to use Flyway for Automated Database Migrations
A learning path for managing and automating database deployments, from version control, using Flyway.
You’ll need to click on the image once to open it, and then the links in each article box will work.
Key:
- Yellow box = Flyway Community Edition
- Blue box = Requires Flyway Teams Edition
- Red box = Requires Flyway Enterprise
For further information about Flyway:
- Flyway documentation
- Flyway video training courses on Redgate University
Was this article helpful?
Tools in this post
You may also like
-
Article
Using JSON Output to Track and Log Flyway Migration Activity
Flyway's JSON output provides a lot of useful information about the migrations files, database, and version changes, in a format that automated processes can read and use. This article demonstrates how we can create a Flyway callback that uses this JSON output to automatically send simple, human-readable notifications of what happened during a migration, helping developers stay informed about version changes that could impact their work.
-
Article
Scripting with Flyway Teams and PowerShell
During the development cycle, the mechanics of reliable delivery must not be allowed to dominate the design work. With script callbacks in Flyway Teams, many of the development tasks required during a database migration can happen automatically, producing reports, build scripts, code reviews, or documentation.
-
Article
Data Container Revisions, Resets and Graduations
Redgate Test Data Manager allows developers to save each new version of a database as a data container revision. After making local development changes to the container, or running tests, they can instantly reset it to its starting revision. They can also load any previous revision and can even 'graduate' a revision to an image, providing a new baseline for ongoing team development. These techniques are especially effective when used in conjunction with Flyway, which automatically tracks the version of every copy of the database.
-
FoRG Hangout
FoRG Hangout Nov 16 2021: Flyway Desktop with Stephanie Herr
Watch this FoRG session on demand to learn about Flyway Desktop and Flyway Hub (and read more about both on the forum!). If you have any questions, just get in touch with friends@red-gate.com
-
Webinar
Level Up with Flyway: Exploring Advanced Flyway Capabilities - Module 3
These webinars will give you an in-depth introduction to Flyway and how it can be used to solve problems relating to DevOps, plus accelerate your progress by adopting best practices. Module 3: Exploring Advanced Flyway Capabilities You’ll cover: Leveraging Flyway Autopilot: Discovering the Amazing Benefits of this Plug-and-Play Flyway Environment Effective Test Data Management: Strategies
-
Article
Creating Custom Regex Rules for Code Analysis in Flyway
Every development team has its own coding standards. While Flyway provides built-in rules focused on security and data protection, teams quickly find they need additional checks to maintain SQL code quality and consistency across their projects. This article will walk through the ways of defining and testing custom rules, provides a starter pack of custom rules for common code smells, and then explains how to manage your rules efficiently as your rule library grows.