From 20e868b758e60123f76574103f553ab960c37e59 Mon Sep 17 00:00:00 2001 From: Jerome Gravel-Niquet Date: Tue, 8 Aug 2023 14:26:18 -0400 Subject: [PATCH] also clear the __corro_members table --- crates/corrosion/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/corrosion/src/main.rs b/crates/corrosion/src/main.rs index e071100c..ad6d3912 100644 --- a/crates/corrosion/src/main.rs +++ b/crates/corrosion/src/main.rs @@ -63,6 +63,8 @@ async fn main() -> eyre::Result<()> { debug!("updated {n} rows in {table}"); } + conn.execute("DELETE FROM __corro_members;", [])?; + conn.execute_batch( r#" PRAGMA journal_mode = WAL; -- so the restore can be done online