I have a Meteor project which I have unfortunately been forced to modify to use PostgreSQL instead of MongoDB, through the package meteorsteam:meteor-postgres
. I have managed to get everything sorta working, except the users
collection, which appears to be welded together with Meteor.
Is it possible to use some other collection for it?
I have tried replacing it with an in-memory-collection Meteor.users = new Meteor.Collection(null)
, and hooking up some logic to sync it with a psql table. This messes up the built-in publish-functions, since the collection doesn't have a name.
There will not be a lot of users, so having the whole thing in memory as a meteorcollection is not a problem.
I have searched around the internet, but couldn't find anything even mentioning it.
Suggestions?