#Error on Existing Columns

4 messages · Page 1 of 1 (latest)

scenic forge
#

Hello, I am getting an error trying to do an upsert. Prisma is claiming I can't use some of these columns but I confirmed they exist in my DB. ```Unknown arg githubUserId in where.githubUserId for type UserWhereUniqueInput. Available args:

type UserWhereUniqueInput {
id?: Int
email?: String
}
Unknown arg avatarUrl in update.avatarUrl for type UserUpdateInput. Did you mean email? Available args:
type UserUpdateInput {
email?: String | StringFieldUpdateOperationsInput
name?: String | NullableStringFieldUpdateOperationsInput | Null
}
Unknown arg githubUserId in create.githubUserId for type UserCreateInput. Did you mean name? Available args:
type UserCreateInput {
email: String
name?: String | Null
}
Unknown arg avatarUrl in create.avatarUrl for type UserCreateInput. Did you mean email? Available args:
type UserCreateInput {
email: String
name?: String | Null
}

#

Typescript is complaining so I'm not sure why this is happening

#

Here is my schema

#

this is what my schema looks like in my DB