#!/bin/bash

(
cat - <<EOF

delete from settings where value='mythvideo.DBSchemaVer';

EOF

mysqldump --extended-insert --no-create-info \
    -u mythtv -pmythtv mythconverg settings --where="value='mythvideo.DBSchemaVer'"

mysqldump --extended-insert -u mythtv -pmythtv mythconverg videometadata

) > rollback-mythvideo.sql
