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