-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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? Sign in to your account
Clean error when deleting table with indexed computed column #3116
Comments
Hey @zikato , We have already solved this issue and released the fix, Thanks 😀 |
I'm using the latest docker version. Not sure how can I update it? |
So the :latest tag in docker didn't work as expected. Flyway Community Edition 7.7.0 by Redgate And the problem is still there. I managed to find a minimal reproducible script.
|
Hey @zikato, We've managed to reproduce this issue, and will be looking in to it, Thanks 😀 |
Thank you! |
Which version and edition of Flyway are you using?
Flyway Community Edition 7.5.4 by Redgate
Running Flyway in docker against SQL Server 2019-CU9 also in Docker
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using? (Type & version)
Microsoft SQL Server 2019 (RTM-CU9) (KB5000642) - 15.0.4102.2 (X64)
Jan 25 2021 20:16:12
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 18.04.5 LTS)
Which operating system are you using?
Windows 10 Pro
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
Apply multiple scripts with flyway migrate
Attempt to clean the database using flyway clean - this fails
Could not reproduce the minimal steps. When creating just the table with computed column and index the error did not occur.
What did you expect to see?
Completion message.
I expected the table to be dropped along with indexes. It looks like the computed column is being dropped ahead of the depending index
What did you see instead?
Error message - Index is depending on the computed column - sanitized debug output:
The text was updated successfully, but these errors were encountered: