Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add strict sync schema option #2724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlbertoCalvoRubio wants to merge 1 commit into strapi:v4
base: v4
Choose a base branch
Loading
from AlbertoCalvoRubio:dev/add-strict-sync-schema-option
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docusaurus/docs/dev-docs/configurations/database.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ When using Docker, change the pool `min` value to `0` as Docker will kill any id

The `settings` object found in `./config/database.js` (or `./config/database.ts` for TypeScript) is used to configure Strapi-specific database settings and accepts the following parameters:

| Parameter | Description | Type | Default |
| ---------------- | --------------------------------------------------------------- | --------- | ------- |
| `forceMigration` | Enable or disable the forced database migration. | `Boolean` | `true` |
| `runMigrations` | Enable or disable database migrations from running on start up. | `Boolean` | `true` |
| Parameter | Description | Type | Default |
| ------------------ | -------------------------------------------------------------------------- | --------- | ------- |
| `forceMigration` | Enable or disable the forced database migration. | `Boolean` | `true` |
| `runMigrations` | Enable or disable database migrations from running on startup. | `Boolean` | `true` |
| `strictSyncSchema` | Enable or disable removing unmanaged Strapi database resources on startup. | `Boolean` | `true` |

<!-- TODO: Open and track a feature request for autoMigration as it doesn't exist in v4 -->

Expand Down

AltStyle によって変換されたページ (->オリジナル) /