mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[docs] fix postgres create database command (#2071)
The current command `create database gotosocial with locale C.UTF-8 template template0;` fails because the locale has to be quoted: ``` postgres=# create database gotosocial with locale C.UTF-8 template template0; ERROR: syntax error at or near "." LINE 1: create database gotosocial with locale C.UTF-8 template temp... ``` Tested manually that it works with the quotes and the official postgres examples also use quotes around the locales: https://www.postgresql.org/docs/current/sql-createdatabase.html
This commit is contained in:
@@ -37,7 +37,7 @@ Then you should have already created database `gotosocial` in Postgres, and give
|
||||
The psql commands to do this will look something like:
|
||||
|
||||
```psql
|
||||
create database gotosocial with locale C.UTF-8 template template0;
|
||||
create database gotosocial with locale 'C.UTF-8' template template0;
|
||||
create user gotosocial with password 'some_really_good_password';
|
||||
grant all privileges on database gotosocial to gotosocial;
|
||||
```
|
||||
|
Reference in New Issue
Block a user