making dbdeploy work with postgres and mysql