awips2/deltaScripts/14.2.1/dropRecco.sh
Brian Clements 3551b731e0 Issue #2505 removed recco from deployment
added update script to drop recco from db


Former-commit-id: 8cbe2c06a8 [formerly f4e66b8afce682014a0fa1ef9585b7ee6480e1e1]
Former-commit-id: 95f1621d3e
2013-11-13 13:45:44 -06:00

11 lines
262 B
Bash

#!/bin/bash
# DR #2505 Disable deployment of recco plugin
PSQL="/awips2/psql/bin/psql"
SQL_COMMAND="
delete from plugin_info where name = 'recco';
drop table if exists recco;
drop sequence if exists reccoseq;
"
${PSQL} -U awips -d metadata -c "${SQL_COMMAND}"