yii\console\controllers\MigrateController::addMigrationHistory PHP Method

addMigrationHistory() protected method

protected addMigrationHistory ( $version )
    protected function addMigrationHistory($version)
    {
        $command = $this->db->createCommand();
        $command->insert($this->migrationTable, ['version' => $version, 'apply_time' => time()])->execute();
    }