Skip to content

Commit dc3f72a

Browse files
authored
Merge pull request #1353 from gary-alway/gda/run-migrations-docs
docs for the run migrations setting
2 parents b01325b + 60a199c commit dc3f72a

File tree

1 file changed

+6
-5
lines changed
  • docs/developer-docs/latest/setup-deployment-guides/configurations/required

1 file changed

+6
-5
lines changed

docs/developer-docs/latest/setup-deployment-guides/configurations/required/databases.md

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

7777
### `settings` configuration object
7878

79-
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 parameter:
79+
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:
8080

81-
| Parameter | Description | Type | Default |
82-
|------------------|--------------------------------------------------|-----------|---------|
83-
| `forceMigration` | Enable or disable the forced database migration. | `Boolean` | `true` |
81+
| Parameter | Description | Type | Default |
82+
| ---------------- | --------------------------------------------------------------- | --------- | ------- |
83+
| `forceMigration` | Enable or disable the forced database migration. | `Boolean` | `true` |
84+
| `runMigrations` | Enable or disable database migrations from running on start up. | `Boolean` | `true` |
8485

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

@@ -285,4 +286,4 @@ The following documentation covers how to install SQLite locally (for developmen
285286

286287
:::caution
287288
Installation guides for other databases (MySQL, MariaDB) are being reworked. [Contributions](https://github.com/strapi/documentation/blob/main/CONTRIBUTING.md) are most welcome.
288-
:::
289+
:::

0 commit comments

Comments
 (0)