console\controllers\BaseMigrateController actionNew()

actionNew() public method

Displays the un-applied new migrations.

This command will show the new migrations that have not been applied. For example,

yii migrate/new     # showing the first 10 new migrations
yii migrate/new 5   # showing the first 5 new migrations
yii migrate/new all # showing all new migrations
public void actionNew ( $limit = 10 )
$limit integer

The maximum number of new migrations to be displayed. If it is all, all available new migrations will be displayed.

throws yii\console\Exception

if invalid limit value passed

doc_Yii
2016-10-30 16:54:57
Comments
Leave a Comment

Please login to continue.