lundi 23 mars 2015

How to create new database when new client is created - Rails/postgresql

My Requirement: When admin create a client. I will save the client datas in Admin Database, Then a seperate database need to be created for client, with some static tables(customers, products, categories).


My question: How to create the seperate database and how to do migration for that created database in Rails (Dynamically whenever admin create a client)


Aucun commentaire:

Enregistrer un commentaire