prisma PANIC:could 没有在 create 中找出一个 ID

prisma PANIC:could not figure out an ID in create

Prisma 客户端刚刚崩溃并出现以下错误:PANIC : could not figure out an ID in create。 尝试创建新用户时。这是一个普通的CRUD操作。

有没有人遇到过类似的问题,你做了什么来克服它。

环境:

好吧,问题是我使用的是虚拟 mysql table,其中 ID 列未设置为主键和自动递增(不知何故???)。

修复了 table 结构,现在一切正常。