awips2/deltaScripts/14.2.1/dropMesowest.sh

12 lines
270 B
Bash
Raw Permalink Normal View History

2022-05-05 12:34:50 -05:00
#!/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}"