Closed aiwbend closed 5 years ago
What is your version of yii2-migration? This should be already fixed in 3.5.0
$version = '3.6.0' Now there is always converted to an array.
Could you paste here the configuration you are using? Or full command if there is no special config.
console/yii migration/create migration --migrationNamespace="modules\\logging\\repository\\migrations"
Look at the latest version of the code, the reason is clearly visible there.)
Thanks you. Nice library, use it in gii)
Expects parameter 1 to be string, array given
https://github.com/bizley/yii2-migration/blob/49ab8cd79636ce2bfa4d07be0da6452d5e86b81d/src/controllers/MigrationController.php#L305