Create databases and tables dynamically using Yii schema?

I am developing a system with a main database and several databases, once for each client. The client database and its tables will be created when the client completes and submits a form with all the necessary data.

My question is: does the Yii framework support the dynamic creation of databases and tables? If so, is there any sample code? (I still learn about Yii) I could not find the answer on the Yii website (documentation and forum), as well as on this site. (I noticed that dynamic data connections can be used with Yii - Yii Dynamic DB Connection according to the user? )

+4
source share
1 answer

All Articles