This library has been almost completely rewritten, and some old options might not work anymore. Here is the list of
most important changes from end-user perspective. All class references should be prefixed with \bizley\migration\
.
New alias is mp
.
New alias is mn
.
Not available anymore as a controller's option.
To replace the current migration.php
view file you can provide your own Generator
class (with your version of
Generator::getCreateTableMigrationTemplate()
) through controllers\MigrationController::$generatorClass
.
Not available anymore as a controller's option.
To replace the current migration.php
view file you can provide your own Updater
class (with your version of
Updater::getUpdateTableMigrationTemplate()
) through controllers\MigrationController::$updaterClass
.
New alias is tp
.
New alias is mt
.
Renamed to onlyShow
(new alias is os
).
New alias is gs
.
New alias is fh
.
Not available anymore as a controller's option.
To modify the default table options you can provide your own StructureRenderer
class (with your version
of renderers\StructureRenderer::$createTableTemplate
) through controllers\MigrationController::$structureRendererClass
.
See tableOptionsInit
above.
Not available anymore as a controller's option.
To replace the current migration.php
view file you can provide your own Generator
class (with your version of
Generator::getCreateForeignKeysMigrationTemplate()
) through controllers\MigrationController::$generatorClass
.
Can take now asterisk (*
) as an argument (to generate migrations for all tables in the database except excluded ones).
Also accept asterisks as a part of table name(s) (i.e. ta*e
, to generate migrations for all tables matching the
pattern, except excluded ones).
Not available anymore. Use create "*"
instead.
Can take now asterisk (*
) as an argument (to generate migrations for all tables in the database except excluded ones).
Also accept asterisks as a part of table name(s) (i.e. tab*le
, to generate migrations for all tables matching the
pattern, except excluded ones).
Not available anymore. Use update "*"
instead.