From 184102374e728b1158c81f02b0eda7109df3097b Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 31 Oct 2006 11:40:09 +1300 Subject: [PATCH] Remove old database update script. --- dba/update-database.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 dba/update-database.sh diff --git a/dba/update-database.sh b/dba/update-database.sh deleted file mode 100755 index 9b588581..00000000 --- a/dba/update-database.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# Update the RSCDS database to the latest schema version and base data -# - -DBNAME="${1:-rscds}" - -DBADIR="`dirname \"$0\"`" - -# Apply any patches. -# FIXME: We shouldn't really apply patches we already have installed, although -# it should be safe enough since any patch which is not idempotent should be -# denied multiple application through the AWL schema management functions. -for PATCHFILE in ${DBADIR}/patches/*.*.*.sql ; do - psql -q -f "${PATCHFILE}" "${DBNAME}" -done - -# Update the base data -psql -q -f "${DBADIR}/base-data.sql" "${DBNAME}"