dn23rus/yii2-extended-migration

Yii2 Extended Migration

v1.0.3 2015-12-14 20:43 UTC

This package is not auto-updated.

Last update: 2024-11-13 18:08:57 UTC


README

Yii2 Extended Migration extension provides additional functionality to migration.

##Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist dn23rus/yii2-extended-migration "1.*"

or add

"dn23rus/yii2-extended-migration": "1.*"

to the require section of your composer.json file.

##Usage

Once the extension is installed, add this config to your configs/main.php :

    'controllerMap' => [
        // ...
        'migrate' => [
            'class'        => yii\console\controllers\MigrateController::class,
            'templateFile' => '@vendor/dn23rus/yii2-extended-migration/views/migration.php',
        ],
        // ...
    ],