get working with postgres and dw 0.7