pierwszy sprint
[0tDNS.git] / setup_postgres.sh
blobf0266453ca4cf7eb5a550e7dad5bbb2009ba910f
1 #!/bin/sh
3 echo "Creating 'ztdns' role"
4 sudo -u postgres createuser --no-createdb --no-createrole \
5 --no-superuser --pwprompt ztdns
7 echo "Creating 'ztdns' database"
8 sudo -u postgres createdb -O ztdns ztdns