updated patchDB.php to catch ALTER IGNORE errors and retry