php - yii2 migrations not applying -


i run ./yii migrate ,

no new migration found. system up-to-date. 

while database clean.

if run ./yii migrate/create , ./yii migrate finds , asks whether apply it.

also if rename 1 of migrations not being applied

for example

m141111_051424_create_user_table` => m151111_051424_create_user_table

it being found yii.

by default information applied migrations stored table migration. check it.

also if rename 1 of migrations not being applied

for example m141111_051424_create_user_table` => m151111_051424_create_user_table

have renamed class name too?


Comments