make database path a pathbuf

I'm guessing it wasn't like this already because of one of the admin
commands I deleted.
This commit is contained in:
Charles Hall 2025-02-28 11:03:25 -08:00
parent 5a5608e088
commit 81a449d1d2
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 7 additions and 8 deletions

View file

@ -327,7 +327,7 @@ impl Display for DatabaseBackend {
#[serde(deny_unknown_fields)]
pub(crate) struct DatabaseConfig {
pub(crate) backend: DatabaseBackend,
pub(crate) path: String,
pub(crate) path: PathBuf,
#[serde(default = "default_db_cache_capacity_mb")]
pub(crate) cache_capacity_mb: f64,
#[cfg(feature = "rocksdb")]