actionUp() public method
Upgrades the application by applying new migrations.
For example,
yii migrate # apply all new migrations yii migrate 3 # apply the first 3 new migrations
public integer actionUp ( $limit = 0 ) | ||
---|---|---|
$limit | integer |
The number of new migrations to be applied. If 0, it means applying all available new migrations. |
return | integer |
The status of the action execution. 0 means normal, other values mean abnormal. |
Please login to continue.