fix postgres database stuff for travis