v8.0.0-rc.14-dev.25: TML-3420: close out the storage-naming project with ADR 258 (#30559)
- Prisma 近 90 天出现 184 次
- Prisma 近 90 天第 184 次发版
- 上一次:同一天稍早 · v8.0.0-rc.14-dev.24
发生了什么
At a glance A model names its storage exactly as it is written: model UserProfile { id Int @id email String } That reads and writes the table "UserProfile" . A different name is stated with @@map , and changing the name renames the existing table rather than creating a new one: override get operations ( ) { return [ ... this . renameTable ( { table : 'userProfile' , to : 'UserProfile' } ) , ] ; } Both behaviours hav…
摘要按规则整理自下方来源原文