code: protected function createTokenTable($db, $tableName)
      {
          $driver = $db->getDriverName();
          $file = dirname(__DIR__) . '/migrations/' . $this->tokenTableName . '.' . $db->getDriverName();
          $pdo = $this->getDbConnection()->pdoInstance;
          $sql = file_get_contents($file);
          $sql = rtrim($sql);
          $sqls = preg_replace_callback("/\((.*)\)/", create_function('$matches', 'return str_replace(";"," $$$ ",$matches[0]);'), $sql);
          $sqls = explode(";", $sqls);
          foreach ($sqls as $sql) {
              if (!empty($sql)) {
                  $sql = str_replace(" $$$ ", ";", $sql) . ";";
                  $pdo->exec($sql);
              }
          }
      }
docs: Creates the token DB table.
  @param CDbConnection $db the database connection
  @param string $tableName the name of the table to be created