Skip to content

zacksleo/yii2-rom-release

Repository files navigation

yii2-rom-release

yii2 rom release module

Latest Stable Version Total Downloads License styleci Build Status Scrutinizer Code Quality Code Coverage Build Status

Usage

Config Migration Path or Migration By migrationPath Parameter

Config Migration Path in Yii config file like this

    'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => [
                '@console/migrations/',
                '@zacksleo/yii2/romrelease/migrations',
            ],
        ],
    ],

Run migration by By migrationPath Parameter

  ./yii migrate --migrationPath=@zacksleo/yii2/romrelease/migrations

Config Module in components part

    'rom-release' => [
        'class' => 'zacksleo\yii2\romrelease\Module',
    ]