← 返回事件
持续讨论科技发版8.0.0-rc.14

v8.0.0-rc.14-dev.25: TML-3420: close out the storage-naming project with ADR 258 (#30559)

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源