某些属性和内容类型名称是保留的
🌐 Some attributes and content types names are reserved
在 Strapi 5 中,一些属性和内容类型名称是保留的,在迁移到 Strapi 5 之前,应重命名 Strapi v4 中使用这些保留名称的所有字段或内容类型,以防止数据丢失。
🌐 In Strapi 5, some attributes and content types names are reserved, and all fields or content types in Strapi v4 using these reserved names should be renamed before migrating to Strapi 5 to prevent data loss.
此页面是重大更改数据库的一部分,提供关于重大更改的信息以及从 Strapi v4 迁移到 Strapi 5 的附加说明。
🌐 This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.
重大变更描述
🌐 Breaking change description
在 Strapi v4 中
可以在内容类型上创建以下属性名称:
🌐 The following attribute names can be created on a content type:
metastatusentryIdstrapilocale(仅适用于非本地化内容类型)localizationsstrapi_assigneestrapi_stagethendocument- 任何带有前缀
strapi、_strapi或__strapi的东西
任何型号名称都可以加上前缀 strapi。
🌐 Any model name can be prefixed with strapi.
在 Strapi 5 中
以下属性名称无法在内容类型上创建:
🌐 The following attribute names can not be created on a content type:
metastatusentryIdstrapilocalelocalizationsstrapi_assigneestrapi_stagethendocument- 任何带有前缀
strapi、_strapi或__strapi的东西
模型名称不能以 strapi、_strapi 或 __strapi 为前缀。
🌐 Model names can not be prefixed with strapi, _strapi, or __strapi.