navatech/yii2-migration-generator

This package is abandoned and no longer maintained. No replacement package was suggested.

gii tool for mass migration generation by Schema

Installs: 2 064

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 27

Type:yii2-extension

1.0.0.2 2016-02-22 04:33 UTC

This package is auto-updated.

Last update: 2020-01-21 11:22:09 UTC


README

This project no longer supported. Using insolita/yii2-migration-generator is better:

https://github.com/Insolita/yii2-migrik

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 navatech/yii2-migration-generator "*"

or add

"navatech/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