Skip to content

Commit e90181c

Browse files
Add strictSyncSchema database configuration option (#2724)
1 parent 89c7be0 commit e90181c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docusaurus/docs/dev-docs/configurations/database.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,11 @@ When using Docker, change the pool `min` value to `0` as Docker will kill any id
8888

8989
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:
9090

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

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

0 commit comments

Comments
 (0)