Skip to content

Commit db0c2cb

Browse files
doc: add entry to the bc for db columns (#2221)
1 parent 22901dc commit db0c2cb

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

docusaurus/docs/dev-docs/migration/v4-to-v5/breaking-changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ You can click on the description of any breaking change in the following tables
2828

2929
| Description | Affects plugins | Handled by codemods |
3030
|-------------|-----------------|---------------------|
31+
| [Content types always have feature columns](/dev-docs/migration/v4-to-v5/breaking-changes/database-columns) | Yes | No|
3132
| [MySQL v5 is not supported anymore](/dev-docs/migration/v4-to-v5/breaking-changes/mysql5-unsupported) | No | No |
3233
| [Database identifiers longer than 55 characters will be automatically shortened](/dev-docs/migration/v4-to-v5/breaking-changes/database-identifiers-shortened) | Yes | ✅ Yes |
3334
| [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 |
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Database columns
3+
description: Content types always have feature columns
4+
displayed_sidebar: devDocsMigrationV5Sidebar
5+
tags:
6+
- breaking changes
7+
- database
8+
- upgrade to Strapi 5
9+
---
10+
11+
import Intro from '/docs/snippets/breaking-change-page-intro.md'
12+
import MigrationIntro from '/docs/snippets/breaking-change-page-migration-intro.md'
13+
import YesPlugins from '/docs/snippets/breaking-change-affecting-plugins.md'
14+
import NoCodemods from '/docs/snippets/breaking-change-not-handled-by-codemod.md'
15+
16+
# Content types always have feature columns
17+
18+
In Strapi 5, Content types always have document, publication and internationalization columns created in database.
19+
20+
<Intro />
21+
<YesPlugins />
22+
<NoCodemods />
23+
24+
## Breaking change description
25+
26+
**In Strapi 5**
27+
28+
All the Content Types have a new `document_id` column.
29+
30+
The `published_at` column is now always added.
31+
The `locale` column is now always added.
32+
33+
<br />

0 commit comments

Comments
 (0)