awips2/deltaScripts/14.2.1/dropMesowest.sh
Ben Steffensmeier 5d31aad5c2 Issue #2493 remove mesowest.
Former-commit-id: f761c701cf [formerly d0b7966458] [formerly 36916fedcd [formerly 9a2fe6fa13d424c254b4ed071b743837dfb2e702]]
Former-commit-id: 36916fedcd
Former-commit-id: baebe37ba6
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}"