Open 6be709c0 opened 5 years ago
The bridge library only supports NeDB which means it does not support any other database including PostgreSQL or SQLite. A store instance is either a NeDB datastore object or a string path to the file.
Postgres is unlikely to come to this library, but we are exploring options about how to include it in future bridges.
Ok thanks for the fast answer.
Is there a way to use matrix with PostgresSQL alognside with matrix-appservice-bridge with SQLite?
Is there a way to use matrix with PostgresSQL alognside with matrix-appservice-bridge with SQLite?
Once again, this isn't SQLite. The supported database type is NeDB which is just a file with a .db
extension which actually stores json. The various *Store types you see inside the bridge are just implementations for different needs. Bridges such as the slack and discord bridges have implemented their own storage backends rather than using the included one here.
Hello, I'm using the following config to run a self-hosted matrix with postgres from https://github.com/spantaleev/matrix-docker-ansible-deploy
I would like to know if you can add a support for postgres.
I'm able to make the bridge & migrations work but nothing happen when I invite the bot
@_webhook:<my_domain>
I suspect it come from the
src/WebhookBridge.js
where I commented userStore & roomStore because it was using a sqlite path.Note: I was able to invite the bot to a room using sqlite.
I can see
The user store instance to use
inbridge.js
What is the a user store instance? (tried with the table name: users & rooms but didn't work)