Skip to content

Commit

Permalink
Add blank lines around headers in postgres.md
Browse files Browse the repository at this point in the history
  • Loading branch information
smilerz authored Nov 9, 2023
1 parent f49e012 commit 03aec9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/apps/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,19 @@ Strongly consider also installing [pgAdmin](https://github.com/GhostWriters/Dock
## Common Activities

### Create user

```
CREATE USER newuser WITH PASSWORD 'password123';
```

### Make user a superuser

```
CREATE USER newadmin WITH PASSWORD 'password123';
ALTER USER newadmin WITH SUPERUSER;
```

### Create a database and owner to the new user

CREATE DATABASE newdatabase;
ALTER DATABASE newdatabase OWNER TO newuser;

0 comments on commit 03aec9a

Please sign in to comment.