Added db config for preview