~salgado/offspring/project-ssh-key-ui

1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

sudo su postgres -c psql <<END
  CREATE ROLE offspring_test
  CREATEROLE INHERIT LOGIN
  PASSWORD 'temp1234'
END

sudo su postgres -c psql <<END
  CREATE DATABASE offspring_test OWNER offspring_test
END