Set the owner of the database tables to be the DBA user we created.

This commit is contained in:
Andrew McMillan 2008-04-13 00:17:37 +12:00
parent c9568f6a40
commit c58ed7cb16

View File

@ -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