Changes to db config for postgresql