Reorder fields in Shard to avoid ValueAfterTable errors (#349)

This commit is contained in:
Mostafa Abdelraouf
2023-03-10 07:39:42 -06:00
committed by GitHub
parent aa89e357e0
commit 76e195a8a4

View File

@@ -486,8 +486,8 @@ pub struct MirrorServerConfig {
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Hash, Eq)]
pub struct Shard {
pub database: String,
pub servers: Vec<ServerConfig>,
pub mirrors: Option<Vec<MirrorServerConfig>>,
pub servers: Vec<ServerConfig>,
}
impl Shard {