Changed db to postresql