Sails + Mysql multi-tenant

I am starting a new project and I want to use AngularJS as Frontend and SailsJS as Backend. I have a requirement to split databases for different clients. Thus, each client must have its own database.

I did not find how to do this in Sails and Waterline. Does anyone know how to do this? I need to change the schema (or database) at runtime.

+6
source share

Source: https://habr.com/ru/post/978473/


All Articles