I'm trying to use the migrate command with the yii2 base template, I tried "yii migrate" as well as "php yii migrate", but none of them work. I also tried php init, but it says: "Could not open input file: init".
Yii2 basic does not come with initial migration files as user migration files. You can import these files from the advanced template and place them in the migration folder. After that and configure your db , you can run yii migrate .
yii migrate