M
M
maiskiykot2018-07-01 17:25:30
Yii
maiskiykot, 2018-07-01 17:25:30

Can't make YII2 migration. What's the matter?

It was necessary to install YII2 basic. I caught a bunch of errors, but I managed - I installed basic, adminlte. Changed the data for the database in config/db.php. Then I began to try to migrate the database and then everything fell completely. Those. you give the command php yii migrate/create create_user_table or any similar and nothing happens. Only the response of the yii module and its version are released. The question is: how long does the migration take (maybe it breaks by timeout without waiting for execution)? The second question: if the cant, then where to look for the problem? Thanks to all!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maiskiykot, 2018-07-02
@maiskiykot

Yii2 was out of the question. It's the SSH client. It turned out that not every client is suitable for installation. You can lose the whole day, then fly in five minutes ...

D
Dmitry, 2018-07-01
@php10

1) What were the errors during the installation?
2) Try a solution that will work 100% on a normally installed framework. Make the yii file executable and run:
yii migrate/create
Also I recommend that you reinstall the framework using composer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question