Skip to content

Commit

Permalink
yiisoft#14664: Adjusted description of "migrate/fresh" in the guide […
Browse files Browse the repository at this point in the history
…skip ci]
  • Loading branch information
samdark committed Nov 3, 2017
1 parent c33d1bf commit a3cd99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/db-migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ yii migrate/redo 3 # redo the last 3 applied migrations
## Refreshing Migrations <span id="refreshing-migrations"></span>
Since Yii 2.0.13 you can reset the whole database and apply all migrations from the beginning.
Since Yii 2.0.13 you can delete all tables and foreign keys from the database and apply all migrations from the beginning.
```
yii migrate/fresh # Truncate the database and apply all migrations from the beginning.
Expand Down

0 comments on commit a3cd99d

Please sign in to comment.