mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
Reorder fields in Shard to avoid ValueAfterTable errors (#349)
This commit is contained in:
committed by
GitHub
parent
aa89e357e0
commit
76e195a8a4
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user