Add Column

Cancel

Current Schema

CREATE TABLE "test_case_execution"  (
  "id" varchar(36) PRIMARY KEY NOT NULL,
  "testRunId" varchar(36) NOT NULL,
  "pastExecutionId" integer,
  "executionId" integer,
  "evaluationExecutionId" integer,
  "status" varchar NOT NULL,
  "runAt" datetime(3),
  "completedAt" datetime(3),
  "errorCode" varchar,
  "errorDetails" text,
  "metrics" text,
  "createdAt" datetime(3) NOT NULL DEFAULT (STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')),
  "updatedAt" datetime(3) NOT NULL DEFAULT (STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')),
  "inputs" text,
  "outputs" text,
  CONSTRAINT "FK_dfbe194e3ebdfe49a87bc4692ca" FOREIGN KEY ("evaluationExecutionId") REFERENCES "execution_entity" ("id") ON DELETE SET NULL ON UPDATE NO ACTION,
  CONSTRAINT "FK_e48965fac35d0f5b9e7f51d8c44" FOREIGN KEY ("executionId") REFERENCES "execution_entity" ("id") ON DELETE SET NULL ON UPDATE NO ACTION,
  CONSTRAINT "FK_258d954733841d51edd826a562b" FOREIGN KEY ("pastExecutionId") REFERENCES "execution_entity" ("id") ON DELETE SET NULL ON UPDATE NO ACTION,
  CONSTRAINT "FK_8e4b4774db42f1e6dda3452b2af" FOREIGN KEY ("testRunId") REFERENCES "test_run" ("id") ON DELETE CASCADE ON UPDATE NO ACTION
)