create and truncate postgres
add db configuration