Closed HLneoh closed 4 years ago
Currently, only NeDB (default), MongoDB, MariaDB, MySQL are supported. It's not currently possible to migrate to Postgres. Would need to add Postgres support first which would be a big effort.
Thanks for your reply. Could you give a few tips on adding Postgres support? e.g. other than db.js, what files should I modify?
@HLneoh, if you're doing it right, no other files should need to be modified other than db.js if you're simply adding support for another database (plus probably an npm include for the node driver for said database)
Oh, if you are a developer and can help with adding PostgreSQL support, that would be wonderful! Yes, the only file that needs changing is db.js that is here: https://github.com/Ylianst/MeshCentral. If you make it work, I would really like to include it as part of the MeshCentral distribution.
The default database for Mesh Central is NeDB. Plus, it supports the migration from NeDB to MongoDB. Here are the questions: