Created
July 12, 2026 20:21
-
-
Save galvao/2e89015516f4c2443f6af1fc8bb27156 to your computer and use it in GitHub Desktop.
Example user and database creation for postgresql
This file contains hidden or 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 user user_name NOSUPERUSER NOCREATEDB NOCREATEROLE LOGIN encrypted password 'password'; | |
| create database database_name with owner=user_name encoding=utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment