How to generate a database per tenant in multi-tenant system ?