Yii2 Migration Utility
Updated August, 2015
Now supports table indexes, table options for each database type and table data.
This is a utility that writes the create table statement for migrations. The table(s), indexes, foreign keys must already exist.
It automatically writes out all:
The preferred way to install this extension is through composer.
php composer.phar require --prefer-source "c006/yii2-migration-utility" "dev-master"
to the require section of your
Update either config/web.php (basic) or config/main.php (advanced)
'modules' => [ ... ... ... 'utility' => [ 'class' => 'c006\utility\migration\Module', ], ],
The tables must already exist in website schema.
Please provide any helpful feedback or requests.