Add a "db" field in config.