Create database with tables by copy from another database


(Suparna) #1

Hello,

I am in a situation where I need to create database dynamically for each company logged in into our application. There will be dummy database with all tables. I have to copy that database for the newly created company and create as a new one.
I have gone through several topics but did not found anything like this.

If there is any other way to achieve this please suggests.

Thanks in advance.


(Insane Skull) #2

Migration can help


(Suparna) #3

Thanks for your reply.
Could you please explain?