Apply compatible DB sync batches
This commit is contained in:
parent
f7f14f6b27
commit
43433dbf1d
8 changed files with 185 additions and 26 deletions
|
|
@ -461,6 +461,7 @@ pub enum ControlResponse {
|
|||
endpoint_id: String,
|
||||
name: String,
|
||||
changes_received: usize,
|
||||
changes_applied: usize,
|
||||
max_db_version: Option<i64>,
|
||||
schema_match: bool,
|
||||
allowed: bool,
|
||||
|
|
@ -1228,6 +1229,7 @@ mod tests {
|
|||
endpoint_id: "endpoint:peer".to_owned(),
|
||||
name: "notes".to_owned(),
|
||||
changes_received: 1,
|
||||
changes_applied: 1,
|
||||
max_db_version: Some(7),
|
||||
schema_match: true,
|
||||
allowed: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue