-- CreateTable
CREATE TABLE "Log" (
    "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
    "projectId" INTEGER NOT NULL,
    "timestampMilli" INTEGER NOT NULL,
    "contents" TEXT NOT NULL,
    "commit" TEXT,
    "serviceName" TEXT NOT NULL,
    "workerId" TEXT NOT NULL,
    "runId" TEXT NOT NULL,
    CONSTRAINT "Log_projectId_fkey" FOREIGN KEY ("projectId") REFERENCES "Project" ("id") ON DELETE RESTRICT ON UPDATE CASCADE
);
