actionHistory()
public method
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 0 # showing the whole history
~~~
public actionHistory ( integer $limit = 10 ) |
$limit |
integer |
the maximum number of migrations to be displayed.
If it is 0, the whole migration history will be displayed. |