Cannot access data whose model name begins with a lowercase letter
aiji42 opened this issue · comments
Aiji Uejima commented
Aiji Uejima commented
As a workaround until the bug is fixed; you can use @@map("real_table_name")
to separate the model name from the table name, which will solve this problem.
(Don't forget to re-run prisma generate
in the Docker component after the schema modification.)
model User {
id String @id
@@map("tbl_User") // real table name
}
Aiji Uejima commented