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

Custom entities migrations uses "postgresql" key instead of "postgres" #5584

Open
2 tasks done
bforbis opened this issue May 16, 2023 · 0 comments
Open
2 tasks done

Comments

@bforbis
Copy link
Contributor

bforbis commented May 16, 2023

Where is the problem?

https://docs.konghq.com/gateway/latest/plugin-development/custom-entities/

What happened?

The example migrations config is invalid, as kong expects the key to be "postgres" and not "postgresql".

The following error message is returned at startup:

subsystem is invalid: 4 schema violations (at least one of these fields must be non-empty: 'postgres.up', 'postgres.up_f', 'postgres.teardown', 'cassandra.up', 'cassandra.up_f', 'cassandra.teardown'; cassandra: required field missing; postgres: required field missing; postgresql: unknown field

What did you expect to happen?

Documentation should be correct

Code of Conduct and Community Expectations

  • I agree to follow this project's Code of Conduct
  • I agree to abide by the Community Expectations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant