awips2/deltaScripts/16.1.1/DR4381/updateNotifcationTableMessageColumn.sh
2022-05-05 12:34:50 -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."