added mysql shortcuts and fixed postgres