mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
3
codex-rs/state/migrations/0023_drop_logs.sql
Normal file
3
codex-rs/state/migrations/0023_drop_logs.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
PRAGMA auto_vacuum = INCREMENTAL;
|
||||
|
||||
DROP TABLE IF EXISTS logs;
|
||||
@@ -590,10 +590,8 @@ mod tests {
|
||||
.await
|
||||
.expect("insert test logs");
|
||||
|
||||
let state_count = log_row_count(state_db_path(codex_home.as_path()).as_path()).await;
|
||||
let logs_count = log_row_count(logs_db_path(codex_home.as_path()).as_path()).await;
|
||||
|
||||
assert_eq!(state_count, 0);
|
||||
assert_eq!(logs_count, 1);
|
||||
|
||||
let _ = tokio::fs::remove_dir_all(codex_home).await;
|
||||
|
||||
Reference in New Issue
Block a user