awips2/deltaScripts/14.2.1/dropMesowest.sh
Ben Steffensmeier d0b7966458 Issue #2493 remove mesowest.
Former-commit-id: 9a2fe6fa13d424c254b4ed071b743837dfb2e702
2013-11-06 13:42:38 -06:00

11 lines
270 B
Bash

#!/bin/bash
# DR #2493 remove mesowest from the database
PSQL="/awips2/psql/bin/psql"
SQL_COMMAND="
delete from plugin_info where name = 'mesowest';
drop table if exists mesowest;
drop sequence if exists mesowestseq;
"
${PSQL} -U awips -d metadata -c "${SQL_COMMAND}"