awips2/deltaScripts/14.2.1/dropNcccfp.sh
Ben Steffensmeier 1d35086e8d Issue #2485 Remove ncccfp
Change-Id: Ida05b2c7e1a3541603822b8b91bb635f9af3fa64

Former-commit-id: 619f054e44fe9689d178e9aa6fd6455915d7e99e
2013-11-05 17:33:41 -06:00

11 lines
262 B
Bash

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