forked from bai/curriculum-project-hub
7 lines
341 B
SQL
7 lines
341 B
SQL
-- Record real provider-reported run cost for /cost reporting.
|
|
-- No backfill: pre-existing test runs remain cost-unrecorded by design.
|
|
ALTER TABLE "AgentRun" ADD COLUMN "costUsd" DECIMAL(18, 8);
|
|
ALTER TABLE "AgentRun" ADD COLUMN "costSource" TEXT;
|
|
|
|
CREATE INDEX "AgentRun_projectId_finishedAt_idx" ON "AgentRun"("projectId", "finishedAt");
|