Last active
August 29, 2015 14:13
-
-
Save noherczeg/c05c86ae31278beddc51 to your computer and use it in GitHub Desktop.
create db, schema, user, search path correctly, finally...
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
$ su - postgres | |
$ psql | |
# CREATE DATABASE hng; | |
# \connect hng; | |
# CREATE SCHEMA IF NOT EXISTS hng AUTHORIZATION hng; | |
# GRANT ALL PRIVILEGES ON DATABASE hng TO hng; | |
# ALTER USER hng SET SEARCH_PATH TO hng; | |
# ALTER SCHEMA hng OWNER TO hng; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment