die("Error: The version option must be either a timestamp (e.g. 101129_185401)\nor the full name of a migration (e.g. m101129_185401_create_user_table).\n");
}
// try migrate up
$migrations=$this->getNewMigrations();
...
...
@@ -241,10 +249,11 @@ class MigrateController extends Controller
die("Error: The version option must be either a timestamp (e.g. 101129_185401)\nor the full name of a migration (e.g. m101129_185401_create_user_table).\n");
}
$db=$this->getDb();
...
...
@@ -288,13 +299,14 @@ class MigrateController extends Controller
die("Error: CMigrationCommand.connectionID '{$this->connectionID}' is invalid. Please make sure it refers to the ID of a CDbConnection application component.\n");
}
}
}
protectedfunctiongetMigrationHistory($limit)
{
...
...
@@ -459,18 +482,21 @@ class MigrateController extends Controller