Move db config to a constant.