Skip to content

Commit

Permalink
Add missing available options for the client database configuration (#…
Browse files Browse the repository at this point in the history
…2084)

* Add missing available options for the client database configuration

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

Co-authored-by: Ben Irvin <ben@innerdvations.com>

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
  • Loading branch information
pwizla and innerdvations committed Apr 22, 2024
1 parent 55baffd commit c9c7fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/dev-docs/configurations/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The `./config/database.js` (or `./config/database.ts` for TypeScript) accepts 2

| Parameter | Description | Type | Default |
|----------------------------------------------------------|-------------------------------------------------------------------------------------------------------|-----------|---------|
| `client` | Database client to create the connection. `sqlite` or `postgres` or `mysql` (or `mysql2`, see [additional details](#alternative-database-driver-packages) | `String` | - |
| `client` | Database client to create the connection.<br/>Accepts the following values:<ul><li>For SQLite databases:<ul><li>`sqlite3`</li><li>`better-sqlite3`</li></ul></li><li>For PostgreSQL databases: `postgres`</li><li>For MySQL databases:<ul><li>`mysql`</li><li>`mysql2` (see [additional details](#alternative-database-driver-packages))</li></ul></li></ul> | `String` | - |
| `connection` | Database [connection information](#connection-parameters) | `Object` | - |
| `debug` | Show database exchanges and errors. | `Boolean` | `false` |
| `useNullAsDefault`<br/><br />_Optional, only for SQLite_ | Use `NULL` as a default value | `Boolean` | `true` |
Expand Down

0 comments on commit c9c7fb5

Please sign in to comment.