mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 01:52:26 -05:00
[docs] Mention where to run the command to grant CREATE permissions (#4050)
This commit is contained in:
parent
ab2044ef02
commit
768ee70b88
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue