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

v8.0.0-rc.17-dev.31: Include PSL mixins in models, types, enums and extension blocks (#30694)

发生了什么

Linked issue n/a. Third slice of the PSL mixins project ( projects/psl-mixins/ ); the syntax landed in #30675 . This replaces #30678 , which resolved inclusion names in the symbol table. At a glance model mixin Timestamps { createdAt DateTime @default ( now () ) updatedAt DateTime @default ( now () ) @@index ( [ createdAt ] ) } enum mixin BaseRoles { ADMIN = "admin" USER = "user" } model User { id Int @id +Timestamp…

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

为什么在扩散

来源