Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8351645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:41:49+00:00 2026-06-09T08:41:49+00:00

I just recently found out about Flyway and while reading and searching about it

  • 0

I just recently found out about Flyway and while reading and searching about it I ran into the following blog post: Database schema evolution versus schema versioning.

So I was wondering:

  • Is what it says still true (or even true at the time)
  • How should such a case be handled while using flyway.

Edit:

The FAQ briefly talks about this (without giving a solution for the afore mentioned problem).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T08:41:52+00:00Added an answer on June 9, 2026 at 8:41 am

    I can’t say much about dbdeploy but the statements about flyway are correct. Flyway is extremely strict about handling SQL scripts:

    • each script is deployed only once and must have a higher version number than all previously deployed scripts (so there is no way back in history)
    • a deployed script cannot be modified anymore

    This strictness is not a bad thing but scenarios like having several code branches that introduce database modifications are not supported out of the box.

    We are using flyway in such scenarios but we have to make a few workarounds. Firstly, we divide all SQL scripts into two groups: the scripts that are already in production and the scripts that aren’t. All scripts that are not in production (no matter on which branch they are) can be modified at any time. To support this, we write the scripts in a way that they can be executed as often as needed. Secondly, we intervene in flyway’s bookkeeping that is done in a table called SCHEMA_VERSION. There we remove all entries that are not yet in production before each flyway migration. When the migration is initiated on a development system, flyway will execute all new scripts each time. On the production system, however, the new scripts are executed only once at the time when they go live.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

During Flex programming, I recently ran into several questions ( about box models ,
I recently found out about java.util.Properties , which allows me to write and read
I just recently found out how to add an icon to a win32 project
I recently found out about auto-properties and like them quite a lot. At this
I've recently been reading Louis Davidson's book on Sql Server Database Design and found
I just recently got interested in how search engines work, and I found out
I just found out, that one of my test files is missing about 20
I have just recently got interested in the Google Analytics plugin but found out
I just recently found myself writing this line of code, which i did not
I just looked back through the project that nearly finished recently and found a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.