Change-Id: Ie1859e08c7a0305f3ea7bc82e726dd8ba1658b1a Former-commit-id:fa3640fb11
[formerlyb84a946f86
] [formerlyfa3640fb11
[formerlyb84a946f86
] [formerly2a0c77eb5c
[formerly db55eb737e5b7a82dec8f585eabda455717321a2]]] Former-commit-id:2a0c77eb5c
Former-commit-id:4b2660c2c4
[formerlyf54129bbda
] Former-commit-id:648e17e9e0
11 lines
286 B
Bash
11 lines
286 B
Bash
#!/bin/bash
|
|
# run the update
|
|
/awips2/psql/bin/psql -U awips -d metadata -c "ALTER TABLE gfe_dbid ADD COLUMN removeddate timestamp without time zone;"
|
|
if [ $? -ne 0 ]; then
|
|
echo "FATAL: the update has failed!"
|
|
exit 1
|
|
fi
|
|
|
|
echo "INFO: the update has completed successfully!"
|
|
|
|
exit 0
|