Skip to content

Commit d8c7eef

Browse files
committed
feat: added ai workflow id to default reviewer
1 parent 8c73a69 commit d8c7eef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
*/
77
-- AlterTable
88
ALTER TABLE "DefaultChallengeReviewer" DROP COLUMN "isAIReviewer",
9-
ADD COLUMN "aiWorkflowId" TEXT,
9+
ADD COLUMN "aiWorkflowId" VARCHAR(14),
1010
ALTER COLUMN "scorecardId" DROP NOT NULL;

prisma/schema.prisma

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ model DefaultChallengeReviewer {
659659
baseCoefficient Float?
660660
incrementalCoefficient Float?
661661
opportunityType ReviewOpportunityTypeEnum?
662-
aiWorkflowId String?
662+
aiWorkflowId String? @db.VarChar(14)
663663
shouldOpenOpportunity Boolean @default(true)
664664
665665
// Relations
@@ -724,4 +724,4 @@ model TimelineTemplatePhase {
724724
725725
@@index([timelineTemplateId])
726726
@@index([timelineTemplateId, phaseId])
727-
}
727+
}

0 commit comments

Comments
 (0)