Skip to content

Commit

Permalink
also clear the __corro_members table
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn committed Aug 8, 2023
1 parent d1af338 commit 20e868b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/corrosion/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20e868b

Please sign in to comment.