A
A
Alexey2018-12-18 20:54:55
Yii
Alexey, 2018-12-18 20:54:55

Migrations in yii2 don't work. Why?

Tell me, please, maybe someone has encountered such a problem: when trying to migrate to yii2, the console does not react at all, for example:
MacBook-Pro:yii-basic.loc user$ php yii migrate [email protected]/rbac/ migrations/
MacBook-Pro:yii-basic.loc user$
Such a reaction to any migration. I searched and tried a lot of things, but did not solve the problem. I work on Mac OS + MAMP pro + PHPstorm. There is a connection to the database, including one remote from PHPstorm.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vovella, 2018-12-19
@vovella

There is a connection to the database, including one remote from PHPstorm.

DB on a remote server? Check your rights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question