dkulinich / yii2-migrik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migration Generator From Mysql database (beta)

generate migration files (not dumps!) with indexes, and foreign keys, for one table, comma separated list of tables, by part of table name, for all tables by *

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require-dev --prefer-dist insolita/yii2-migration-generator "*"

or add

"insolita/yii2-migration-generator": "*"

to the require-dev section of your composer.json file.

Usage (MYSQL ONLY): Just install, go to gii and use

Known Issues:

  • sometimes not correct work gii preview - it`s features gii preview, and naming of migration files which named with timestamp data

About


Languages

Language:PHP 100.0%