Skip to content

fix: support PostgreSQL (added with NodeBB v1.10.x) #240

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ahwayakchih
Copy link

Hi,

First of all thanks for your work! I'm helping with the move of forum from IPBoard to NodeBB, and without your modules it would take a LOT more time (or would not happen at all).

I noticed that there was no db.keys method for PostgreSQL implemented in your code. There is db.scan however in NodeBB 1.12.1, which seems to do exactly the same. So i added fallback to it, and then another fallback for postgres, just in case (i did not test that one really, but it's close to what postgres handler does in NodeBB's db.scan).

Regards

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

Successfully merging this pull request may close these issues.

1 participant