From c58ed7cb16662828e1be9d2c8a94b4aee1a393c1 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 13 Apr 2008 00:17:37 +1200 Subject: [PATCH] Set the owner of the database tables to be the DBA user we created. --- dba/create-database.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dba/create-database.sh b/dba/create-database.sh index 60a38897..c35e0d14 100755 --- a/dba/create-database.sh +++ b/dba/create-database.sh @@ -120,7 +120,7 @@ psql -q ${DBA} -f "${DBADIR}/davical.sql" "${DBNAME}" 2>&1 | egrep -v "(^CREATE # # Set permissions for the application DB user on the database -${DBADIR}/update-rscds-database --dbname "${DBNAME}" --appuser "${AWL_APPUSER}" --nopatch +${DBADIR}/update-rscds-database --dbname "${DBNAME}" --appuser "${AWL_APPUSER}" --nopatch --owner "${AWL_DBAUSER}" # # Load the required base data