mirror of
https://github.com/bitwarden/server.git
synced 2025-12-10 17:45:21 -06:00
add serde type tag
This commit is contained in:
parent
895e720e58
commit
0a818755f3
@ -1,9 +1,10 @@
|
||||
use akd::errors::StorageError;
|
||||
use serde::Deserialize;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::DatabaseType;
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[serde(tag = "type")]
|
||||
pub enum DbConfig {
|
||||
MsSql {
|
||||
connection_string: String,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user