Configure to use postgresql