Change-Id: If551d6c39c7aca761200c1734dc537b912da3f84 Former-commit-id: 8ab4092c6a9059bbab59146f0d4c867d261b8efe
15 lines
360 B
Bash
Executable file
15 lines
360 B
Bash
Executable file
#!/bin/bash
|
|
# DR #4360 - this update script will alter all tables modified under this DR
|
|
# This assumes there is a script starting with alter that does the work for a given table.
|
|
|
|
PSQL="/awips2/psql/bin/psql"
|
|
|
|
cmdDir=`dirname $0`
|
|
|
|
cd ${cmdDir}
|
|
echo "INFO Update tables"
|
|
for script in alter*.sh ; do
|
|
./$script
|
|
done
|
|
|
|
echo "INFO: Tables updated successfully"
|