Fix schema
Change-Id: I5a60a9b81e257656aba83085e6dfee10c65a38a2
diff --git a/client/src/schema.rs b/client/src/schema.rs
index 756f3d3..88624b1 100644
--- a/client/src/schema.rs
+++ b/client/src/schema.rs
@@ -59,9 +59,9 @@
}
pub type TableUpdate<T> = HashMap<String, TableUpdateRows<T>>;
-pub type TableUpdateRows<T> = HashMap<String, T>;
+pub type TableUpdateRows<T> = HashMap<String, RowUpdate<T>>;
-#[derive(Debug, Deserialize)]
+#[derive(Debug, Deserialize, Serialize)]
pub struct RowUpdate<T> {
pub old: Option<T>,
pub new: Option<T>,