Skip to content

Commit

Permalink
doc: add entry to the bc for db columns (#2221)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebodin authored Sep 17, 2024
1 parent 22901dc commit db0c2cb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,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 |
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

<Intro />
<YesPlugins />
<NoCodemods />

## 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.

<br />

0 comments on commit db0c2cb

Please sign in to comment.