Make db read config