PostgreSQL: clean fails when trying to drop aggregates added by extensions #2051
Labels
Milestone
Comments
Thanks for reporting. It turns out |
thank you @axelfontaine. Any idea when 5.1.4 will be released? |
dohrayme
pushed a commit
to dohrayme/flyway
that referenced
this issue
Feb 3, 2020
…ates added by extensions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which version and edition of Flyway are you using?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using (type & version)?
PostgreSQL 9.6
What did you do?
I added a new migration containing:
CREATE EXTENSION IF NOT EXISTS CITEXT WITH SCHEMA public;
and then another one altering some columns to use
CITEXT
instead ofVARCHAR
.What did you expect to see?
I expected
org.flywaydb.core.Flyway.clean()
to know how to clean up the extention.What did you see instead?
I got this error:
Note:
I was waiting since a few months ago for this fix to be released:
flyway#100
It was released finally in version:
Flyway 5.1.0
, but unfortunately it doesn't work for me.The text was updated successfully, but these errors were encountered: