set up databse to use postgres