Open
Description
i use this script in a rails application , but at this time the application is getting multitenant and i have to create folders for each tenant , i will trigger the script with a rake task with whenever gem ...
What is the query of mongodb that will take the datas in each model (with a tenant_id) and store it in a folder with the name or id of tenant ... at this time there is no need to store tenant model. Just for the models data belongs to tenants.
Your Environment
- Version used:
- Server type and version:
- Operating System and version:
Metadata
Assignees
Labels
No labels
Activity