actionHistory() public method
Displays the migration history.
This command will show the list of migrations that have been applied so far. For example,
yii migrate/history # showing the last 10 migrations yii migrate/history 5 # showing the last 5 migrations yii migrate/history all # showing the whole history
public void actionHistory ( $limit = 10 ) | ||
---|---|---|
$limit | integer |
The maximum number of migrations to be displayed. If it is "all", the whole migration history will be displayed. |
throws | yii\console\Exception |
if invalid limit value passed |
Please login to continue.