mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[docs] Mention where to run the command to grant CREATE permissions (#4050)
This commit is contained in:
@@ -42,7 +42,7 @@ 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;
|
||||||
```
|
```
|
||||||
|
|
||||||
If you start using Postgres after 14, or you encounter `error executing command: error creating dbservice: db migration error: ERROR: permission denied for schema public`, you should grant `CREATE` permission to your db user:
|
If you start using Postgres after 14, or you encounter `error executing command: error creating dbservice: db migration error: ERROR: permission denied for schema public`, you should grant `CREATE` permission to your db user *(This **must** be run in a postgres shell that's connected to the gotosocial database)*:
|
||||||
|
|
||||||
```psql
|
```psql
|
||||||
GRANT CREATE ON SCHEMA public TO gotosocial;
|
GRANT CREATE ON SCHEMA public TO gotosocial;
|
||||||
|
Reference in New Issue
Block a user