Skip to content

Instantly share code, notes, and snippets.

@ryanoboril
Created April 27, 2014 01:01
Show Gist options
  • Save ryanoboril/11335151 to your computer and use it in GitHub Desktop.
Save ryanoboril/11335151 to your computer and use it in GitHub Desktop.
Setting up a PostgreSQL database for the first time...
CREATE USER "app-dev" WITH PASSWORD 'app-dev'; --PASSWORD MUST HAVE SINGLE QUOTE!
CREATE DATABASE "skillbadges_development";
GRANT ALL PRIVILEGES ON DATABASE "skillbadges_development" TO "app-dev";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment