Answer the question
In order to leave comments, you need to log in
How to open command line for Yii2?
to create a migration, you need to enter yii migrate/create , but I don’t understand where to enter, I understand this through the command line, please help me, where to enter this line?
Answer the question
In order to leave comments, you need to log in
If the project is in /var/www/yiisite
, then:
cd /var/www/yiisite
php yii migrate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question