| title | Postgres create user and database |
|---|
I am still getting my head around Postgres, and one thing I find I forget often is the create user and database command.
CREATE ROLE <username> LOGIN PASSWORD '<password>';CREATE DATABASE <database> OWNER <username>;