mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
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:
committed by
GitHub
parent
c0f732063f
commit
6419daa038
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user