chore: Missing \c command

Missing `\c` command before executing `GRANT ALL ON SCHEMA public TO ...`
This commit is contained in:
Cristian Ditaputratama 2023-06-01 18:16:24 +07:00
parent bbe2641dda
commit 039e9d442c
Signed by: ditatompel
GPG key ID: 31D3D06D77950979

View file

@ -136,6 +136,7 @@ sudo -u postgres psql
CREATE DATABASE <your_db_name> WITH ENCODING = 'UTF8';
CREATE USER <your_misskey_db_user> WITH ENCRYPTED PASSWORD '<YOUR_PASSWORD>';
GRANT ALL PRIVILEGES ON DATABASE <your_db_name> TO <your_misskey_db_user>;
\c <your_db_name>
GRANT ALL ON SCHEMA public TO <your_misskey_db_user>;
\q
```