Update docs to to create database explicitly with UTF8 encoding.

Fixes #5760
This commit is contained in:
Brian Candler 2021-02-07 19:46:30 +00:00
parent 19844e81d1
commit 3b53cf5e84

View File

@ -51,7 +51,7 @@ $ sudo -u postgres psql
psql (12.5 (Ubuntu 12.5-0ubuntu0.20.04.1))
Type "help" for help.
postgres=# CREATE DATABASE netbox;
postgres=# CREATE DATABASE netbox ENCODING 'UTF8' LC_COLLATE='C.UTF-8' LC_CTYPE='C.UTF-8';
CREATE DATABASE
postgres=# CREATE USER netbox WITH PASSWORD 'J5brHrAXFLQSif0K';
CREATE ROLE