tahiaji/yii2-migration-generator

gii tool for mass migration generation by Schema

Installs: 2 101

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 29

Type:yii2-extension

v0.0.3 2017-01-11 14:15 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:50:20 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 tahiaji/yii2-migration-generator "*"

or add

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