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

If enable_extension fails in the first DB migration, it should provide a better error about what to do. #883

Open
tpendragon opened this issue Oct 20, 2021 · 0 comments

Comments

@tpendragon
Copy link
Collaborator

Right now new users of Valkyrie who run db migrations as users that don't have permissions to add extensions get an error they don't really know how to handle.

We should catch that error somehow and say something like

"You don't have permission to add the UUID-OSSP extension. Your database administrator may need to enable this, otherwise use a superuser to add this extension to postgres"

@tpendragon tpendragon changed the title If add_extension fails in the first DB migration, it should provide a better error about what to do. If enable_extension fails in the first DB migration, it should provide a better error about what to do. Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant