dn23rus / yii2-extended-migration
Yii2 Extended Migration
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
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', ], // ... ],