I updated yii from 2.0.12 -> 2.0.36
Console app migration.
$ ./yii mongodb-migrate/up --migrationPath=@app/migrations/mongodb
What's expected?
What do you get instead?
*** applying m160527_141403_create_sources_aggregate_index
/var/www/html/project/vendor/yiisoft/yii2-mongodb/console/controllers/MigrateController.php:133:
**VARDUMP PRODUCED :**
array(1) {
[0] =>
string(49) "/var/www/html/project/console/migrations/mongodb"
}
PHP Notice 'yii\base\ErrorException' with message 'Array to string conversion'
in /var/www/html/project/vendor/yiisoft/yii2-mongodb/console/controllers/MigrateController.php:136
Additional info
Since MigrateController dont include BaseMigrateController -> $this->includeMigrationFile($class); , migrationPath is going to be always handled as array.
What steps will reproduce the problem?
I updated yii from 2.0.12 -> 2.0.36 Console app migration.
$ ./yii mongodb-migrate/up --migrationPath=@app/migrations/mongodb
What's expected?
What do you get instead?
Additional info
Since MigrateController dont include
BaseMigrateController
->$this->includeMigrationFile($class);
, migrationPath is going to be always handled as array.