matrix: update LC_CTYPE to C.UTF-8

This commit is contained in:
Serĉanto de Scio 2022-12-23 03:06:34 +10:00
parent f1f5fed00c
commit 649fba826f
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -9,8 +9,8 @@
i18n = { i18n = {
extraLocaleSettings = { extraLocaleSettings = {
LC_COLLATE = "C"; # Ensure correct locale for postgres LC_COLLATE = "C.UTF-8"; # Ensure correct locale for postgres
LC_CTYPE = "C"; # Ensure correct locale for postgres LC_CTYPE = "C.UTF-8"; # Ensure correct locale for postgres
}; };
}; };
@ -141,8 +141,8 @@
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse'; CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse" CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
TEMPLATE template0 TEMPLATE template0
LC_COLLATE = "C" LC_COLLATE = "C.UTF-8"
LC_CTYPE = "C"; LC_CTYPE = "C.UTF-8";
''; '';
}; };
}; };