awips2/deltaScripts/16.1.1/DR4381/updateNotifcationTableMessageColumn.sh
Dave Hladky a5cf15a518 Omaha #4381 Fixed guava message not being delivered, store table column not large enough.
Change-Id: I6e8d49321accd1efb3f1b694a936ac52bbd0fbfa

Former-commit-id: effffdcbd158dcf977ac7d7af928e42f448f0156
2015-05-06 12:59:17 -05:00

11 lines
No EOL
323 B
Bash

#!/bin/bash
# DR #4381 Add more space to the message column in notification table.
PSQL="/awips2/psql/bin/psql"
echo "INFO: Extending size of message column in event.notification table."
${PSQL} -U awips -d metadata -q -c "ALTER TABLE IF EXISTS events.notification ALTER COLUMN message TYPE
varchar(1024);"
echo "Done."