Created
December 30, 2018 18:42
-
-
Save akovardin/04fd2861022f7bb14d17e468b671c7e8 to your computer and use it in GitHub Desktop.
Databse and user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE ROLE poster WITH LOGIN PASSWORD 'secret'; | |
ALTER ROLE poster CREATEDB; | |
CREATE DATABASE poster; | |
GRANT ALL PRIVILEGES ON DATABASE poster TO poster |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment