mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 19:01:01 +00:00
[docs] postgres collation warning (#1017)
This commit is contained in:
parent
847a466417
commit
b755906ad1
2 changed files with 7 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -32,3 +32,7 @@ shell.nix
|
||||||
|
|
||||||
# ignore custom GOBIN path
|
# ignore custom GOBIN path
|
||||||
/bin
|
/bin
|
||||||
|
|
||||||
|
# ignore config dirs from IDEs
|
||||||
|
/.idea/
|
||||||
|
/.fleet/
|
||||||
|
|
|
@ -37,11 +37,13 @@ Then you should have already created database `gotosocial` in Postgres, and give
|
||||||
The psql commands to do this will look something like:
|
The psql commands to do this will look something like:
|
||||||
|
|
||||||
```psql
|
```psql
|
||||||
create database gotosocial;
|
create database gotosocial with locale C.UTF-8 template template0;
|
||||||
create user gotosocial with password 'some_really_good_password';
|
create user gotosocial with password 'some_really_good_password';
|
||||||
grant all privileges on database gotosocial to gotosocial;
|
grant all privileges on database gotosocial to gotosocial;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
GoToSocial makes use of ULIDs (Universally Unique Lexicographically Sortable Identifiers) which will not work in non-English collate environments. For this reason it is important to create the database with `C.UTF-8` locale. To do that on systems which were already initialized with non-C locale, `template0` pristine database template must be used.
|
||||||
|
|
||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Loading…
Reference in a new issue