@@ -1356,46 +1356,46 @@ model ProposalEvaluationPermission {
1356
1356
}
1357
1357
1358
1358
model ProposalEvaluation {
1359
- id String @id @default (uuid () ) @db.Uuid
1360
- index Int // tells us what order
1361
- title String
1362
- type ProposalEvaluationType
1363
- completedAt DateTime ?
1364
- declinedAt DateTime ? // Required to keep track of when the evaluation was declined for an appealable step
1365
- snapshotId String ?
1366
- snapshotExpiry DateTime ?
1367
- decidedBy String ? @db.Uuid
1368
- decider User ? @relation (fields : [decidedBy ] , references : [id ] , onDelete : SetNull , name : " decidedBy " )
1369
- proposalId String @db.Uuid
1370
- proposal Proposal @relation (fields : [proposalId ] , references : [id ] , onDelete : Cascade )
1371
- voteSettings Json ?
1372
- voteId String ? @unique @db.Uuid
1373
- vote Vote ? @relation (fields : [voteId ] , references : [id ] , onDelete : SetNull )
1374
- actionLabels Json ?
1375
- notificationLabels Json ?
1376
- requiredReviews Int @default (1 )
1377
- finalStep Boolean ?
1378
- appealRequiredReviews Int ?
1379
- appealable Boolean ? @default (false )
1380
- appealedAt DateTime ?
1381
- appealedBy String ? @db.Uuid
1382
- appealReason String ?
1383
- appealer User ? @relation (fields : [appealedBy ] , references : [id ] , onDelete : SetNull , name : " appealedBy " )
1384
- shareReviews Boolean ? @default (false )
1385
- dueDate DateTime ?
1359
+ id String @id @default (uuid () ) @db.Uuid
1360
+ index Int // tells us what order
1361
+ title String
1362
+ type ProposalEvaluationType
1363
+ completedAt DateTime ?
1364
+ declinedAt DateTime ? // Required to keep track of when the evaluation was declined for an appealable step
1365
+ snapshotId String ?
1366
+ snapshotExpiry DateTime ?
1367
+ decidedBy String ? @db.Uuid
1368
+ decider User ? @relation (fields : [decidedBy ] , references : [id ] , onDelete : SetNull , name : " decidedBy " )
1369
+ proposalId String @db.Uuid
1370
+ proposal Proposal @relation (fields : [proposalId ] , references : [id ] , onDelete : Cascade )
1371
+ voteSettings Json ?
1372
+ voteId String ? @unique @db.Uuid
1373
+ vote Vote ? @relation (fields : [voteId ] , references : [id ] , onDelete : SetNull )
1374
+ actionLabels Json ?
1375
+ notificationLabels Json ?
1376
+ requiredReviews Int @default (1 )
1377
+ finalStep Boolean ?
1378
+ appealRequiredReviews Int ?
1379
+ appealable Boolean ? @default (false )
1380
+ appealedAt DateTime ?
1381
+ appealedBy String ? @db.Uuid
1382
+ appealReason String ?
1383
+ appealer User ? @relation (fields : [appealedBy ] , references : [id ] , onDelete : SetNull , name : " appealedBy " )
1384
+ shareReviews Boolean ? @default (false )
1385
+ dueDate DateTime ?
1386
1386
showAuthorResultsOnRubricFail Boolean ?
1387
- rubricCriteria ProposalRubricCriteria []
1388
- rubricAnswers ProposalRubricCriteriaAnswer []
1389
- draftRubricAnswers DraftProposalRubricCriteriaAnswer []
1390
- result ProposalEvaluationResult ?
1391
- reviewers ProposalReviewer []
1392
- appealReviewers ProposalAppealReviewer []
1393
- permissions ProposalEvaluationPermission []
1394
- proposalNotification ProposalNotification []
1395
- reviews ProposalEvaluationReview []
1396
- appealReviews ProposalEvaluationAppealReview []
1397
- documentsToSign DocumentToSign []
1398
- evaluationApprovers ProposalEvaluationApprover []
1387
+ rubricCriteria ProposalRubricCriteria []
1388
+ rubricAnswers ProposalRubricCriteriaAnswer []
1389
+ draftRubricAnswers DraftProposalRubricCriteriaAnswer []
1390
+ result ProposalEvaluationResult ?
1391
+ reviewers ProposalReviewer []
1392
+ appealReviewers ProposalAppealReviewer []
1393
+ permissions ProposalEvaluationPermission []
1394
+ proposalNotification ProposalNotification []
1395
+ reviews ProposalEvaluationReview []
1396
+ appealReviews ProposalEvaluationAppealReview []
1397
+ documentsToSign DocumentToSign []
1398
+ evaluationApprovers ProposalEvaluationApprover []
1399
1399
1400
1400
@@index ([proposalId ] )
1401
1401
@@index ([index ] )
@@ -2792,6 +2792,7 @@ model Scout {
2792
2792
id String @id @default (uuid () ) @db.Uuid
2793
2793
email String ?
2794
2794
username String @unique
2795
+ path String ? @unique
2795
2796
displayName String
2796
2797
farcasterId Int ? @unique
2797
2798
farcasterName String ? // every user only has one farcaster account
@@ -2820,6 +2821,7 @@ model Scout {
2820
2821
builderCardActivities BuilderCardActivity []
2821
2822
2822
2823
@@index ([username ] )
2824
+ @@index ([path ] )
2823
2825
@@index ([farcasterId ] )
2824
2826
@@index ([walletAddress ] )
2825
2827
}
0 commit comments