Skip to main content

systemprompt_models/profile/
database.rs

1//! Database configuration.
2
3use serde::{Deserialize, Serialize};
4
5#[derive(Debug, Clone, Serialize, Deserialize, schemars::JsonSchema)]
6#[serde(deny_unknown_fields)]
7pub struct DatabaseConfig {
8    #[serde(rename = "type")]
9    pub db_type: String,
10
11    #[serde(default)]
12    pub external_db_access: bool,
13}