Created
February 2, 2017 16:11
-
-
Save perimetro20/1610018d74eb7fb00871dfc76c937285 to your computer and use it in GitHub Desktop.
Postgres Database configuration
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 DATABASE project_name_db; | |
CREATE ROLE project_db_admin WITH LOGIN PASSWORD 'db_admin_password'; | |
GRANT ALL PRIVILEGES ON DATABASE project_name_db TO project_db_admin; | |
ALTER USER project_db_admin CREATEDB; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment