keii
keii
Explore posts from servers
PPrisma
Created by keii on 5/1/2024 in #help-and-questions
Reason why relation is giving an error when id is provided
some wierd artifact i removed node_modules and prisma generated and it fixed it
4 replies
PPrisma
Created by keii on 4/8/2024 in #help-and-questions
Wierd type error with prisma codegen
bump
4 replies
PPrisma
Created by keii on 4/8/2024 in #help-and-questions
Wierd type error with prisma codegen
bmp
4 replies
PPrisma
Created by khris on 4/8/2024 in #help-and-questions
i want a field to be an array in my mysql schema
its relational so you want to do a separate image table
model ProductImage {
id Int @id @default(autoincremenet())
productId Int
imageUrl String
...CreatedAt UpdatedAt
}
model ProductImage {
id Int @id @default(autoincremenet())
productId Int
imageUrl String
...CreatedAt UpdatedAt
}
Read up on relational models and relationships like one to many relationships you'll learn alot
4 replies
PPrisma
Created by keii on 4/6/2024 in #help-and-questions
Turbo setup with prisma and pnpm
?
2 replies