Skip to content

zacksleo/yii2-app-release

Repository files navigation

yii2 app-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/apprelease/migrations',
            ],
        ],
    ],

Run migration by By migrationPath Parameter

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

Config Module in components part

    'app-release' => [
        'class' => 'zacksleo\yii2\apprelease\Module',
    ]