Browse Source

Update docs to to create database explicitly with UTF8 encoding.

Fixes #5760
Brian Candler 5 năm trước cách đây
mục cha
commit
3b53cf5e84
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/installation/1-postgresql.md

+ 1 - 1
docs/installation/1-postgresql.md

@@ -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