console/config/console.php
<?php
/*
* This file is part of the HomeFinanceV2 project.
*
* (c) Rafalsky.com <http://github.com/Rafalsky/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
'id' => 'console',
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'console\controllers',
'controllerMap' => [
'command-bus' => [
'class' => 'trntv\bus\console\BackgroundBusController',
],
'message' => [
'class' => 'console\controllers\ExtendedMessageController'
],
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationPath' => '@common/migrations/db',
'migrationTable' => '{{%system_db_migration}}'
],
'rbac-migrate' => [
'class' => 'console\controllers\RbacMigrateController',
'migrationPath' => '@common/migrations/rbac/',
'migrationTable' => '{{%system_rbac_migration}}',
'templateFile' => '@common/rbac/views/migration.php'
],
],
];