actionMark() public method
Modifies the migration history to the specified version.
No actual migration will be performed.
yii migrate/mark 101129_185401 # using timestamp yii migrate/mark m101129_185401_create_user_table # using full name yii migrate/to app\migrations\M101129185401CreateUser # using full namespace name
public integer actionMark ( $version ) | ||
---|---|---|
$version | string |
The version at which the migration history should be marked. This can be either the timestamp or the full name of the migration. |
return | integer |
CLI exit code |
throws | yii\console\Exception |
if the version argument is invalid or the version cannot be found. |
Please login to continue.