Automatically writes the create tables for migrations or create tables in general
Current Version - v2.0.4 2020-06
, (*1)
This is a utility that writes the create table statement for migrations. The table(s), indexes, foreign keys must already exist., (*2)
Foreign Key - uses link table and numbering, table / columns had potential to be too long, (*3)
Supports, (*4)
It automatically writes out all:, (*5)
The preferred way to install this extension is through composer., (*6)
Either run, (*7)
php composer.phar require --prefer-source "c006/yii2-migration-utility" ">=2.0.4"
or add, (*8)
"c006/yii2-migration-utility": ">=2.0.4"
to the require section of your composer.json
file., (*9)
Update either config/web.php (basic) or common/config/main.php (advanced), (*10)
> 'modules' => [ 'utility' => [ 'class' => 'c006\utility\migration\Module', ], ],, (*11)
The tables must already exist in website schema., (*12)
Image: https://drive.google.com/file/d/18TwwvvN4r9u7zQ537i5LsP3XQe6aizMp/view?usp=sharing, (*13)
or, (*14)
Please provide any helpful feedback or requests., (*15)
Thanks., (*16)