I need a beer

jueves, 29 de junio de 2017

Create Postgres Role and Privileges

  1. Create role: CREATE USER "newuser" WITH PASSWORD 'thebestpasswordthatyouimagine'
  2. Create database: CREATE DATABASE 'yourdatabase'
  3. Privileges: GRANT ALL PRIVILEGES ON DATABASE 'yourdatabase' TO 'newuser'
  4. Have a cup of coffe ☕️

No hay comentarios:

Publicar un comentario

Launch iPhone simulator from command line

xcrun simctl list /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID