How to open the console in yii2? I want to run a team
php yii migrate --migrationPath=@yii/rbac/migrations/ to create RBAC tables in the database.
I try to call yii.bat in the root directory of the application, but the console closes instantly (I’m doing something wrong).