public function actionUp($limit = 0)
    {
        if (is_numeric($limit)) {
            return parent::actionUp($limit);
        } else {
            return $this->actionPartialUp($limit);
        }
    }
public function actionUp($limit = 0)
    {
        if (is_numeric($limit)) {
            return parent::actionUp($limit);
        } else {
            return $this->actionPartialUp($limit);
        }
    }
public function actionUp ( $ limit = 0 ) { if ( is_numeric ( $ limit ) ) { return parent :: actionUp ( $ limit ) ; } else { return $ this -> actionPartialUp ( $ limit ) ; } }
Upgrades the application by applying new migrations.
For example,

```
yii migrate     # apply all new migrations
yii migrate 3   # apply the first 3 new migrations
yii migrate 101129_185401                      # apply only one specific migration
yii migrate m101129_185401_create_user_table   # using full name
```

@param integer $limit the number of new migrations or specific version 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.
Upgrades the application by applying new migrations . For example