From 897c0cd24b7e15859be8f622ede1797e4f9fceef Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 15 May 2017 18:22:33 -0600 Subject: [PATCH] Update postgres.sh --- debian/resources/postgres.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/debian/resources/postgres.sh b/debian/resources/postgres.sh index 5b625cc..f1599a1 100755 --- a/debian/resources/postgres.sh +++ b/debian/resources/postgres.sh @@ -70,8 +70,6 @@ cwd=$(pwd) cd /tmp #add the databases, users and grant permissions to them -sudo -u postgres psql -d fusionpbx -c "DROP SCHEMA public cascade;"; -sudo -u postgres psql -d fusionpbx -c "CREATE SCHEMA public;"; sudo -u postgres psql -c "CREATE DATABASE fusionpbx;"; sudo -u postgres psql -c "CREATE DATABASE freeswitch;"; sudo -u postgres psql -c "CREATE ROLE fusionpbx WITH SUPERUSER LOGIN PASSWORD '$password';"