I am working on a web project using php CodeIgniter framework. I used lots of tables and entities in my project database. But unfortunately the database is deleted from my localhost and so the backups.
Now it is very time consuming to create the tables and all the entities for my database that i used for my project.
Is there any way to automatically create the tables and entities from my php source code?