908c2b249f2cea98192862b2ce49af1a43e48838 hiram Tue Apr 21 12:37:24 2026 -0700 updated ottoRequest table schema for more general requests refs #31811 diff --git src/hg/hubApi/liftOver.c src/hg/hubApi/liftOver.c index 1630e9945cc..2e11ae808da 100644 --- src/hg/hubApi/liftOver.c +++ src/hg/hubApi/liftOver.c @@ -327,23 +327,23 @@ */ (void) mailViaPipe(toAddr, "liftOver request", msg->string, fromAddr); /* some kind of response here back to the request page */ struct jsonWrite *jw = apiStartOutput(); jsonWriteString(jw, "msg", dyStringCannibalize(&msg)); apiFinishOutput(0,NULL,jw); char *ottoTable = cfgOption("ottoTable"); /* probably ottoRequest */ if (isNotEmpty(ottoTable)) { struct sqlConnection *conn = hConnectCentral(); if (sqlTableExists(conn, ottoTable)) { struct dyString *update = newDyString(0); sqlDyStringPrintf(update, - "INSERT INTO %s (fromDb, toDb, email, comment, requestTime, doneStatus) VALUES ( '%s','%s','%s','%s',now(), 0)", + "INSERT INTO %s (requestType, fromDb, toDb, email, comment, requestTime, doneStatus, workflowId) VALUES ( 'liftOver', '%s','%s','%s','%s',now(), 0, 0)", ottoTable, fromGenome, toGenome, email, comment); sqlUpdate(conn, dyStringCannibalize(&update)); } hDisconnectCentral(&conn); } } } /* void apiLiftRequest(char *words[MAX_PATH_INFO]) */