Skip to main content

内容类型始终具有功能列

¥Content types always have feature columns

在 Strapi 5 中,内容类型始终在数据库中创建文档、发布物和国际化列。

¥In Strapi 5, Content types always have document, publication and internationalization columns created in database.

此页面是 重大变更数据库 的一部分,提供有关重大更改的信息以及从 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.

 Is this breaking change affecting plugins?Yes
 Is this breaking change automatically handled by a codemod?No

重大更改描述

¥Breaking change description

在 Strapi 5 中

¥In Strapi 5

  • 所有内容类型都有一个新的 document_id 列。

    ¥All the Content Types have a new document_id column.

  • 现在始终添加 published_at 列。

    ¥The published_at column is now always added.

  • 现在始终添加 locale 列。

    ¥The locale column is now always added.