Question : yii2 rollback last migration
Answered by : muhammad-waseem
yii migrate/down # revert the most recently applied migration
yii migrate/down 3 # revert the most 3 recently applied migrations
Source : https://riptutorial.com/yii2/example/6297/reverting-migrations | Last Update : Fri, 15 Apr 22