aboutsummaryrefslogtreecommitdiff
path: root/cleanup_postgres.sh
blob: aff6989fdd400c37f820638388a2ad7f70aa43df (about) (plain)
1
2
3
4
5
6
7
#!/bin/sh

echo "Dropping 'ztdns' database and role"
cat | sudo -u postgres psql <<EOF
drop database ztdns;
drop role ztdns;
EOF