feat: adjust doc/postgres-create-db.md
This commit is contained in:
parent
54415cfb26
commit
36090c4370
|
@ -2,8 +2,6 @@
|
|||
|
||||
* create a new database `database name` and grant privileges to `user name`
|
||||
```
|
||||
sudo -u postgres psql
|
||||
CREATE DATABASE <database name>;
|
||||
GRANT ALL PRIVILEGES ON DATABASE <database name> to <user name>;
|
||||
\q
|
||||
GRANT ALL PRIVILEGES ON DATABASE <database name> TO <user name>;
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue