T
T
tincap2019-01-04 11:01:37
Yii
tincap, 2019-01-04 11:01:37

How to inherit m140506_102106_rbac_init?

When we execute the command

php yii migrate [email protected]/rbac/migrations

then migrate/down throws an error because the migrationPath parameter needs to be specified again.
I want to inherit the m140506_102106_rbac_init class and put it in the right place - conole/migrations.
How to inherit it? Or is there another way to get around this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2019-01-04
@tincap

Or maybe there is another way to get around this problem?

is:
https://www.yiiframework.com/doc/guide/2.0/en/db-m...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question