Redgate Flyway

Combined state and migrations approach

Model name:

State-based development, migrations deployment

Model description:

The source of truth for the development database is the schema model, which is used as the "desired state" for the purpose of sharing changes with other developers.

Migration scripts are the source of truth for deployments.

This decouples the sharing of changes within a team with the deployment process, and means that deployment ordering doesn't have to align with when the migration scripts happen to be created.

This model is recommended for Flyway Teams and Flyway Enterprise users who want full control over their deployments in their CI/CD pipelines.

Edition

Flyway CommunityFlyway TeamsFlyway Enterprise
Authoring migrations

Not supported

Self-author migration scripts

Auto-generated migration scripts

Sharing changesNot supportedDevelopers update their dev DBs from the version controlled schema model*Developers update their dev DBs from the version controlled schema model*
Database CI/CD

Not supported

Dry run script generated for pre-deployment review/approval 

+ changes report, drift report, static analysis report 

Database DeploymentNot supportedApply migration scriptsApply migration scripts

* Complex changes, for example those that require data motion (and therefore can't be inferred from the schema model) must be applied to dev environments manually.


Didn't find what you were looking for?