aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcleanup_postgres.sh7
-rwxr-xr-xsetup_postgres.sh8
2 files changed, 0 insertions, 15 deletions
diff --git a/cleanup_postgres.sh b/cleanup_postgres.sh
deleted file mode 100755
index aff6989..0000000
--- a/cleanup_postgres.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-echo "Dropping 'ztdns' database and role"
-cat | sudo -u postgres psql <<EOF
-drop database ztdns;
-drop role ztdns;
-EOF
diff --git a/setup_postgres.sh b/setup_postgres.sh
deleted file mode 100755
index f026645..0000000
--- a/setup_postgres.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-echo "Creating 'ztdns' role"
-sudo -u postgres createuser --no-createdb --no-createrole \
- --no-superuser --pwprompt ztdns
-
-echo "Creating 'ztdns' database"
-sudo -u postgres createdb -O ztdns ztdns