New API - $modx->db->importSql()
Fix
upgrades/upgrades.php
1.0.13J-rc2