Skip to content

Commit

Permalink
cms@dd06432
Browse files Browse the repository at this point in the history
Merge branch 'release/4.7.2.1' into main
  • Loading branch information
shinybrad committed Feb 9, 2024
1 parent 7cf3616 commit fa88107
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/.artifacts/cms/4.x/config-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Since

The collation to use when creating tables.

This is only used by MySQL. If null, the [charset’s](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#charset) default collation will be used.
This is only used by MySQL. If null, the [charset’s](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#charset) default collation will be used.

| Charset | Default collation |
| --------- | -------------------- |
Expand Down Expand Up @@ -280,7 +280,7 @@ The schema that Postgres is configured to use by default (PostgreSQL only).

::: tip
To force Craft to use the specified schema regardless of PostgreSQL’s `search_path` setting, you must enable
the [setSchemaOnConnect()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-setschemaonconnect) setting.
the [setSchemaOnConnect()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-setschemaonconnect) setting.
:::

::: code
Expand Down Expand Up @@ -340,7 +340,7 @@ Since

</div>

Whether the [schema()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-schema) should be explicitly used for database queries (PostgreSQL only).
Whether the [schema()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-schema) should be explicitly used for database queries (PostgreSQL only).

::: warning
This will cause an extra `SET search_path` SQL query to be executed per database connection. Ideally,
Expand Down Expand Up @@ -433,7 +433,7 @@ Defined by

The database connection URL, if one was provided by your hosting environment.

If this is set, the values for [driver()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-driver), [user()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-user), [database()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-database), [server()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-server), [port()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-port), and [database()](https://docs.craftcms.com/api/v3/craft-config-dbconfig.html#method-database) will be extracted from it.
If this is set, the values for [driver()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-driver), [user()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-user), [database()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-database), [server()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-server), [port()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-port), and [database()](https://docs.craftcms.com/api/v4/craft-config-dbconfig.html#method-database) will be extracted from it.

::: code
```php Static Config
Expand Down

0 comments on commit fa88107

Please sign in to comment.