We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Flyway 4.0.3 by Boxfuse
SQL Server 2016 Developer Edition
Microsoft Windows 10
The checksum of the migration changed, so I expected the script would be reapplied.
But it wasn't applied. I had a look to the schema_version table and all previous versions are recorded. I guess that Flyway checks if the checksum already exists.
I think the current scripts' checksum should be compared with the checksums of the latest version of the applied scripts in the database.
That is, if a given checksum is in something like:
from <schema>.schema_version sv1
where version is null
and not exists (
select 1 from <schema>.schema_version sv2
where sv1.script = sv2.script and sv1.installed_rank < sv2.installed_rank
this way we would still be able to rename a script without applying it again.
The text was updated successfully, but these errors were encountered:
Added notes for flyway/flyway#1358
Thanks for reporting! Fixed.
Sorry, something went wrong.
No branches or pull requests