Skip to content
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 tries to drop a table from an extension and fails #2232

Closed
svpace opened this issue Dec 5, 2018 · 2 comments
Closed

Clean tries to drop a table from an extension and fails #2232

svpace opened this issue Dec 5, 2018 · 2 comments

Comments

@svpace
Copy link

@svpace svpace commented Dec 5, 2018

As instructed by @axelfontaine in #100 (comment)_

flyway version 5.2.4

V1__init.sql:

CREATE EXTENSION IF NOT EXISTS POSTGIS;

On clean:

ERROR: cannot drop table spatial_ref_sys because extension postgis requires it
         Hint:You can drop extension postgis instead.
@axelfontaine axelfontaine added this to the Flyway 6.0.0 milestone Dec 5, 2018
@axelfontaine axelfontaine changed the title Clean tries to drop a function from an extension and fails Clean tries to drop a table from an extension and fails Dec 6, 2018
axelfontaine added a commit to flyway/flywaydb.org that referenced this issue Dec 6, 2018
axelfontaine added a commit to flyway/flywaydb.org that referenced this issue Dec 6, 2018
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Dec 6, 2018

Thanks for reporting. The extension dependency detection has now been extended to also include tables. Fixed.

axelfontaine added a commit that referenced this issue Dec 6, 2018
@svpace
Copy link
Author

@svpace svpace commented Dec 7, 2018

Great work @axelfontaine, that was really fast!! Thanks

dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants