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

Multi-schema postgis extension error on deploying to new database #309

Open
marcellmueller opened this issue Jan 31, 2025 · 0 comments
Open
Labels
Bug Something isn't working MVP beta Tickets that are part of the first layer of MVP planning

Comments

@marcellmueller
Copy link
Contributor

marcellmueller commented Jan 31, 2025

Describe the bug
This is a pretty critical issue we need to solve. For some reason our deployment works differently in RDS than it does locally or using docker-compose. I thought it was solved however it's cropped up again when I renamed our database, as well as recently when Om was testing the new s3 import.

We are unsure if it's Flyway or something RDS related.

What we know about this:

  • We deploy our RST schema and install postgis;
  • We deploy our FST schema, it says postgis exists so it doesn't install
  • We get an error saying that type geometry doesn't exist for flyway schema

How I 'fixed' it for deployment is going into the query editor, doing drop extension 'postgis' cascade; then create extension 'postgis' cascade and then redeploying the flyway task. However I believe this is a bandaid fix, I suspect that the RST schema will error with geometry does not exist once we start adding geometry fields to that schema.

@marcellmueller marcellmueller added Bug Something isn't working MVP beta Tickets that are part of the first layer of MVP planning labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working MVP beta Tickets that are part of the first layer of MVP planning
Projects
Status: Todo
Development

No branches or pull requests

3 participants