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

Comments

Projects
None yet
2 participants
@svpace
Copy link

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

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
Author

svpace commented Dec 7, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
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.