From 0c1f9250d40f030e4e0aa456617222142b4797b8 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Fri, 1 Mar 2024 21:36:19 +0000 Subject: [PATCH] docs: add message_db.encoding to config docs --- doc/config/environment-variables.md | 1 + doc/config/yaml.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/config/environment-variables.md b/doc/config/environment-variables.md index 2a8cc53..540a2de 100644 --- a/doc/config/environment-variables.md +++ b/doc/config/environment-variables.md @@ -33,6 +33,7 @@ This document contains all the environment variables which are available for thi | `MESSAGE_DB_PORT` | Integer | The MariaDB port to connect to | 3306 | | `MESSAGE_DB_USERNAME` | String | The MariaDB username | postal | | `MESSAGE_DB_PASSWORD` | String | The MariaDB password | | +| `MESSAGE_DB_ENCODING` | String | The encoding to use when connecting to the MariaDB database | utf8mb4 | | `MESSAGE_DB_DATABASE_NAME_PREFIX` | String | The MariaDB prefix to add to database names | postal | | `LOGGING_RAILS_LOG_ENABLED` | Boolean | Enable the default Rails logger | false | | `LOGGING_SENTRY_DSN` | String | A DSN which should be used to report exceptions to Sentry | | diff --git a/doc/config/yaml.yml b/doc/config/yaml.yml index 63f34de..9da0c78 100644 --- a/doc/config/yaml.yml +++ b/doc/config/yaml.yml @@ -67,6 +67,8 @@ message_db: username: postal # The MariaDB password password: + # The encoding to use when connecting to the MariaDB database + encoding: utf8mb4 # The MariaDB prefix to add to database names database_name_prefix: postal