fix(api): specify use of Int32 for small ints (#50971)

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
Oliver Eyton-Williams
2023-07-18 11:03:49 +02:00
committed by GitHub
parent c0f732063f
commit 6419daa038
+2 -2
View File
@@ -19,7 +19,7 @@ type File {
}
type CompletedChallenge {
challengeType Int? // Null | Undefined
challengeType Int? @db.Int // Null | Undefined
completedDate Float // TODO(Post-MVP): Change to DateTime
files File[]
githubLink String? // Undefined
@@ -156,7 +156,7 @@ model AuthToken {
model Donation {
id String @id @default(auto()) @map("_id") @db.ObjectId
amount Int
amount Int @db.Int
customerId String
duration String?
email String