CodeIgniter Forums
To convert MySQL database structure into CodeIgniter 4 Database Migrations - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: To convert MySQL database structure into CodeIgniter 4 Database Migrations (/showthread.php?tid=77768)



To convert MySQL database structure into CodeIgniter 4 Database Migrations - mynameiskelvin - 10-16-2020

According to the guide here: https://codeigniter.com/user_guide/dbmgmt/migration.html, migrations are a convenient way for you to alter your database in a structured and organized manner. 

It is great, but only when you have a brand new database to develop. What if some databases have already developed? I can see the potential of this migration feature as it can manage the database version much better. But it is kinda hard for me to use it when I already have a database structure. Indeed, some people may prefer using the old way to develop the MySQL database first. So it would be best if there is a conversion tool to convert the MySQL database structure into CodeIgniter 4 Database Migrations. I know it may be hard but please consider this feature as it can greatly enhance the usability of the CodeIgniter Migrations.
Thank you.


RE: To convert MySQL database structure into CodeIgniter 4 Database Migrations - korgoth - 10-20-2020

This sounds quite interesting! I would love to see such a feature/tool!