diff --git a/docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes.md b/docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes.md index ea6d1fa8aa..ca901bd5cf 100644 --- a/docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes.md +++ b/docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes.md @@ -32,6 +32,7 @@ You can click on the description of any breaking change in the following tables | Description | Affects plugins | Handled by codemods | |-------------|-----------------|---------------------| +| [Content types always have feature columns](/dev-docs/migration/v4-to-v5/breaking-changes/database-columns) | Yes | No| | [MySQL v5 is not supported anymore](/dev-docs/migration/v4-to-v5/breaking-changes/mysql5-unsupported) | No | No | | [Database identifiers longer than 55 characters will be automatically shortened](/dev-docs/migration/v4-to-v5/breaking-changes/database-identifiers-shortened) | Yes | ✅ Yes | | [Only the `better-sqlite3` package is supported for the SQLite client](/dev-docs/migration/v4-to-v5/breaking-changes/only-better-sqlite3-for-sqlite) | No | ✅ Yes | diff --git a/docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes/database-columns.md b/docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes/database-columns.md new file mode 100644 index 0000000000..d93b61dfb8 --- /dev/null +++ b/docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes/database-columns.md @@ -0,0 +1,33 @@ +--- +title: Database columns +description: Content types always have feature columns +displayed_sidebar: devDocsMigrationV5Sidebar +tags: + - breaking changes + - database + - upgrade to Strapi 5 +--- + +import Intro from '/docs/snippets/breaking-change-page-intro.md' +import MigrationIntro from '/docs/snippets/breaking-change-page-migration-intro.md' +import YesPlugins from '/docs/snippets/breaking-change-affecting-plugins.md' +import NoCodemods from '/docs/snippets/breaking-change-not-handled-by-codemod.md' + +# Content types always have feature columns + +In Strapi 5, Content types always have document, publication and internationalization columns created in database. + + + + + +## Breaking change description + +**In Strapi 5** + +All the Content Types have a new `document_id` column. + +The `published_at` column is now always added. +The `locale` column is now always added. + +