Ramon Pans
09/11/2021, 1:20 PMcreate method not existing?Ramon Pans
09/11/2021, 4:43 PMRyan
09/13/2021, 5:56 AMRamon Pans
09/13/2021, 11:38 AMprisma.board.create and not prisma.createRyan
09/13/2021, 11:39 AMprisma generate and check if the types are present. Seems like the types are not generated.Ramon Pans
09/13/2021, 11:40 AMRamon Pans
09/13/2021, 11:40 AMRyan
09/13/2021, 11:41 AM@updatedAt shouldn’t affect your types in any way.Ramon Pans
09/13/2021, 11:44 AMcreate and upsert methods where removed from all of my models’ functions. Like, actually removed, even without actually using typescript they just weren’t there and crashed at runtimeRamon Pans
09/13/2021, 11:45 AMRyan
09/13/2021, 11:47 AM@@ingored or @ingored in any field or model?Ryan
09/13/2021, 11:48 AMcreate will not be available.Ramon Pans
09/13/2021, 11:55 AMRyan
09/13/2021, 12:00 PMcreate with @ignore.Ryan
09/13/2021, 12:00 PM@ignore.Ramon Pans
09/13/2021, 12:03 PM@ignore in createdAt and it works, just the combination of both @updatedAt @ignore was not working for meRyan
09/13/2021, 12:07 PM@ignore as of now.Ramon Pans
09/13/2021, 12:09 PMupdatedAt field, not needed for now, and kept createdAt with @ignore . Everything seems to work now, I’ll see later if I need to add updatedAt or not