Can I create an initial CodeIgniter db migration from .sql?
codeigniter, migration, mysql
Solution
Bit late reply, but I hacked a quick library that should generate the base migration file for you from your current DB. Its still beta, but works on my systems 40 tables+
https://github.com/liaan/codeigniter_migration_base_generation
L:
Problem
I have a CodeIgniter application and I just learned about migrations. It sounds very useful and I would like to start using it. However I already have a rather complex database setup. Can someone suggest a reasonable way to create a reliable initial migration from my MYSQL .sql schema file? It seems excessive to manually recreate the entire db with dbforge, but perhaps that's what I ought to do.