Alex Vilchis
04/22/2021, 6:59 PMmodel Customer {
id String @id @default(cuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
Proposal Proposal[] // this relation field name was autocapitalized!
}
If this is normal, what is the reasoning behind it? 🤔janpio
Proposal pointing to Customer. The logic just uses the model name - in this case Proposal for that.janpio
Alex Vilchis
04/23/2021, 2:17 PMjanpio
s to that end does not work very well 😄janpio
FooRelation for some time - but that is definitely shitty all the time so we decided to just go with what we really know.janpio
janpio