Closed rapita closed 7 years ago
Ok, thank you very much for PR. But could you please explain how this feauture can be used? I dont understand you.
The feature allows you to automatically tracking migrations with namespace. It is much easier to automatically deploy project in production server.
For usage need add to console config file this code:
'controllerMap' => [
...
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationNamespaces' => [
'nemmo\attachments\migrations',
],
],
...
],
Simple and perfect! (:
Thank you :)
This feature appears in yii2 version 2.0.10.