return [
// ...
'controllerMap' => [
'mongodb-migrate' => 'yii\mongodb\console\controllers\MigrateController'
],
];
yii mongodb-migrate/create create_user_collection
yii mongodb-migrate
# reverts the last applied migration
yii mongodb-migrate/down