Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

yii2 rollback last migration

yii migrate/down     # revert the most recently applied migration
yii migrate/down 3   # revert the most 3 recently applied migrations
Source by riptutorial.com #
 
PREVIOUS NEXT
Tagged: #rollback #migration
ADD COMMENT
Topic
Name
6+2 =