Scrivio Interview library
LeadershipAdvanced6 min read · updated 12 November 2026

Half your teams use Flyway and half Liquibase. Would you standardise, and how would you decide?

Yes, usually I would standardise, because one tool means one set of CI checks, one set of guidelines, easier training and support, and engineers who can move between teams. I would decide by comparing the features we actually need, such as plain SQL simplicity, rollback support, multi-database changelogs and the current edition and licence terms of both tools, with the teams' input. Since migrating existing projects has a real cost, I would likely standardise for new services only, keep shared CI checks that run any tool against a real database, and document the reasoning.

Why this question is asked

Tool diversity often starts innocently: two teams start services in the same month, one engineer knows Flyway and another knows Liquibase, and five years later the organisation is split down the middle. Each tool works, but every shared concern, from CI templates to runbooks for stuck migrations, has to be written twice, and an engineer who moves teams has to relearn the basics. Interviewers ask this leadership question to see how we make a technical standardisation decision that people will accept. In this answer, we will weigh the benefits of standardising, compare the tools on the criteria that matter, look at the cost of moving existing projects, see how CI checks can cover both, and finish with how to make and record the decision.

1What Standardising Buys Us

Standardising is not about one tool being better. It is about the cost of running two. With one migration tool, there is one CI template that validates and runs migrations, one linter configuration, one set of guidelines for safe schema changes, one runbook for recovering from a stuck or failed migration, and one internal library or starter that configures it. Training a new engineer covers one tool, and the people who answer questions in the platform channel need to know one tool deeply instead of two superficially.

The benefit grows with the number of teams and the amount of shared tooling. For an organisation with 6 services, two tools may be fine. For one with 120 services, every shared improvement, such as a lock-timeout default or a dangerous-migration check, costs twice as much to build and is half as likely to be built for both.

2Comparing the Tools on What We Need

The comparison should start from our needs, not from feature lists. We ask the teams what they actually use and what they would miss, and we weigh each tool against that.

Criteria for choosing a migration tool
NeedFlywayLiquibase
Plain SQL, easy to reviewnative: versioned SQL filespossible with formatted SQL changelogs
Several database enginesSQL written per engineabstract change types generate SQL
Rollback scriptsforward fixes; undo in some editionsrollback blocks, many automatic
Conditional changesplaceholders, locationscontexts, labels, preconditions
Edition and licence termscheck current termscheck current terms
Existing team knowledgecount of teams and servicescount of teams and services
The decision weighs our needs, not the length of each feature list.

Notice that for a company running single-database services with code review in SQL, most of these criteria point to Flyway's simplicity, while a company that ships a product to customers on several database engines may need Liquibase's abstraction and preconditions. Licence and edition terms matter too: both tools have open-source editions and paid editions, and both vendors have changed edition or licence terms over the years, so we read the current terms of both, with legal input if a commercial feature is involved, rather than relying on what we remember.

3The Cost of Moving Existing Projects

Switching an existing service from one tool to the other is possible but not free. The new tool must take over a database whose history was recorded by the old one, which usually means generating a baseline in the new tool's format, marking it as applied on every environment, testing that new environments built from it match production, and changing CI and runbooks. For a service with years of migrations, that is days of careful work and a real risk of mistakes in production.

So the useful question is not which tool is best, but whether the benefit of converting each existing service is larger than its cost. Often it is not. A common and sensible answer is to standardise for new services, convert existing ones only when they are being heavily reworked anyway, and leave stable services alone. After two or three years, the minority tool is used only by a shrinking set of mature services.

Step throughDeciding whether to convert a service
  1. Standard chosen for new servicesdocumented with the reasons
  2. Is the service being heavily reworked?
    YesConvert as part of that workNoNext question
  3. Does the old tool block a shared check or need?
    YesPlan a conversion with a baselineNoLeave it on the old tool

3 steps in order. Play them, or step through them one at a time.

4Shared CI Checks That Work With Both

Some of the most valuable checks do not care which tool wrote the migration. A CI job that starts a real database of the production engine and version, runs the service's migrations from empty with whichever tool it uses, then runs the integration tests with Hibernate in validate mode, catches broken migrations in both worlds. So does a job that applies new migrations to a snapshot of the previous release, or a SQL linter run against the statements the tool generates or contains. We build these checks first, because they improve safety right away, whatever the long-term decision turns out to be.

5Deciding With the Teams and Writing It Down

A standard imposed without explanation gets ignored or resented, especially by the half of the organisation whose tool lost. So we involve the teams: a short survey of what each uses and needs, a written proposal with the comparison and the plan for existing services, and a review where people can raise needs we missed, such as a team that relies on Liquibase preconditions for customer installations. If such a need is real, the standard can have an explicit, documented exception.

Then we record the decision in an architecture decision record: the options, the criteria, what we chose, why, what we decided about existing services, and when we will revisit it, for example if licence terms change. Two years later, when someone asks why the company uses this tool, the answer is a link rather than a debate.

6Follow-up questions

What if the two halves of the organisation feel strongly?

Then the data and the shared criteria matter more than the opinions. Listing the features each team really uses often shows the needs are smaller than the feelings. Standardising for new services while leaving existing ones alone also lowers the stakes, since no team is forced into a risky conversion.

Is it ever right not to standardise?

Yes, if the organisation is small, the teams share little tooling, or one group has a genuine need the other tool cannot meet. In that case we can still standardise the practices around migrations, such as CI checks, review rules and runbooks, which gives most of the benefit.

How do you convert a service from Liquibase to Flyway, technically?

Generate a baseline SQL script from the current production schema, add it as Flyway's first version, use baseline settings so existing databases are marked as already at that version, and stop running Liquibase. The Liquibase tables can stay for history. New environments then build from the baseline, and every later change is a Flyway migration.

7Conclusion

In this answer, we saw why standardising on one migration tool is usually worth it: one set of CI checks, guidelines, training and support. We decided by comparing the needs that matter, including SQL simplicity, rollback, multi-database support and the current edition and licence terms of both tools, weighed the cost of converting existing projects and preferred to standardise for new services, built CI checks that work with both tools, and made the decision with the teams and documented it.

What to say in the interviewAbout 80 seconds aloud

Open with

I would lean toward standardising, but carefully. The main benefit is not that one tool is better; it is that one tool means one CI template, one set of safe-migration guidelines, one runbook for stuck locks or failed migrations, one starter library and easier training and team moves.

Then, if they want more

To choose, I would start from what we actually need: plain SQL that is easy to review, rollback support, multi-database changelogs, conditional changes, and the current edition and licence terms of both tools, checked with legal if a paid feature matters.

For single-database services reviewed in SQL that often points to Flyway; for products that ship on several databases it may point to Liquibase. I would also be realistic about existing services.

Converting one means a new baseline, marking it applied everywhere and testing new environments, which is real work and real risk, so I would standardise for new services and convert old ones only when they are reworked or when the old tool blocks something.

Meanwhile I would build CI checks that work with either tool, like running migrations against a real database and validating entities. And I would involve the teams with a short proposal, allow documented exceptions for genuine needs, and record the decision in an architecture decision record.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Half your teams use Flyway and half Liquibase. Would you standardise, and how would you...": https://scrivio-interview-library.netlify.app/databases/schema-migration/e5185c62c0/