hagemt
hagemt

Reputation: 328

Flyway upgrade vs. transition to online schema migration, etc

Our main project has been using a now-very-old Flyway version since inception. (v3.2.1)

For now, I'm interested in a new baseline w/ Flyway v7 beta or switching tools. If you deploy SaaS on k8s and have any generic advice--I'll take it, but I'm specifically interested in one thing:

How have folks overcome the issue where newer versions of Flyway no longer accept existing SQL migrations. Or, has anyone "given up" and just created a new baseline, rather than doing the long upgrade path? (or, switched from Flyway to another tool with similar merits)

Upvotes: 0

Views: 683

Answers (2)

hagemt
hagemt

Reputation: 328

There are at least two problems here, with many moving parts:

  1. The tooling's constraints, and how to deal with Flyway 3->7+ (follow the tool's doc)
  2. Best practices for large prod SQL migrations, which is too general a problem to cover here.

If anyone has better (less general) advice on the first, I'd love to hear it. Regarding the second, we're looking to our infra and deployment from off-the-shelf tools. Most projects I've worked on have been Spring based. (large ecosystem, even without the k8s bits)

Upvotes: 0

Ningjing Chen
Ningjing Chen

Reputation: 21

You may give a shot to bytebase (bytebase.com).

  • Web-Based
  • Open-Source
  • Can do MySQL schema migration triggered by GitHub/GitLab with full history

Upvotes: 0

Related Questions