From aadf99e3e69cebe5499cfa2cb4095167fddca59c Mon Sep 17 00:00:00 2001 From: liangfung <1098486429@qq.com> Date: Sun, 29 Sep 2024 13:45:50 +0800 Subject: [PATCH] update: test --- ee/tabby-db/src/threads.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/tabby-db/src/threads.rs b/ee/tabby-db/src/threads.rs index b3b0f17116c..5be1ec75f1b 100644 --- a/ee/tabby-db/src/threads.rs +++ b/ee/tabby-db/src/threads.rs @@ -397,8 +397,8 @@ mod tests { let _ephemeral_thread_id = db.create_thread(user_id, true).await.unwrap(); let non_ephemeral_thread_id = db.create_thread(user_id, false).await.unwrap(); - // Update the updated_at time to be 8 hours ago for all threads - sqlx::query!("UPDATE threads SET updated_at = DATETIME('now', '-8 hours')",) + // Update the updated_at time to be 8 days ago for all threads + sqlx::query!("UPDATE threads SET updated_at = DATETIME('now', '-8 days')",) .execute(&db.pool) .await .unwrap();