Open TimurK opened 10 months ago
@TimurK Thanks for posting! We'll take a look as soon as possible.
In the mean time, there are a few ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.
For help with questions about Sails, click here.
Node version: v18.16.0 Sails version (sails): 1.5.8 ORM hook version (sails-hook-orm): 4.0.2 Organics hook version (sails-hook-organics): 2.2.2 Grunt hook version (sails-hook-grunt): 5.0.0 DB adapter & version (): sails-postgresql@5.0.1 DB adapter & version (): sails-mongo@2.0.1
I have default datastore which is uses sails-postgresql adapter and most of my Models uses this default datastore.
Also i have additional sails-mongo datastore and one model in it. Datastore for this model configured throught datastore: paramether.
All working as expected. I can create models on both datastores without any problems using PostgresModel.create() and MongoModel.create().
But when i calling PostgresModel.archive() method on models that uses default datastore Archive collection appears in devMongoDb datastore.
It is posible to store Archive collection on the source datastore?