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


Former-commit-id: 3551b731e0 [formerly 95f1621d3e] [formerly 3551b731e0 [formerly 95f1621d3e] [formerly 8cbe2c06a8 [formerly f4e66b8afce682014a0fa1ef9585b7ee6480e1e1]]]
Former-commit-id: 8cbe2c06a8
Former-commit-id: d2f0b73626 [formerly 49c8bd5ee9]
Former-commit-id: d94f44d406
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}"