gbksoft/yii2-migration-generator

gii tool for mass migration generation by Schema

Installs: 553

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 29

Type:yii2-extension

v0.0.3 2016-04-29 13:42 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:22:17 UTC


README

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

or add

"gbksoft/yii2-migration-generator": "0.0.*"

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