You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version and edition of Flyway are you using?
9.2.2
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 and Java API
Which database are you using? (Type & version)
Postgresql 14.5
Which operating system are you using?
MacOS Monterey 12.5.1
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)
Steps to reproduce:
Set up latest version of command line Flyway (9.2.2) connected to a database running Postgres 14, with cleanDisabled=false
Create a single migration-file with the following content:
CREATE DOMAIN non_negative_integer AS int8 CHECK (VALUE >= 0);
CREATE DOMAIN stat_integer AS non_negative_integer NOT NULL DEFAULT 0;
flyway migrate and then flyway clean
Migration file causing issues has previously been confirmed to work with Flyway 4.0 and Postgresql 10.20, Java API.
What did you expect to see?
Successful cleaning of database
What did you see instead?
ERROR: cannot drop type non_negative_integer because other objects depend on it
Detail: type stat_integer depends on type non_negative_integer
Hint: Use DROP ... CASCADE to drop the dependent objects too.
The text was updated successfully, but these errors were encountered:
Which version and edition of Flyway are you using?
9.2.2
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 and Java API
Which database are you using? (Type & version)
Postgresql 14.5
Which operating system are you using?
MacOS Monterey 12.5.1
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)
Steps to reproduce:
cleanDisabled=false
flyway migrate
and thenflyway clean
Migration file causing issues has previously been confirmed to work with Flyway 4.0 and Postgresql 10.20, Java API.
What did you expect to see?
Successful cleaning of database
What did you see instead?
The text was updated successfully, but these errors were encountered: