Skip to content

Commit

Permalink
update: test
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed Sep 29, 2024
1 parent 32ec65b commit aadf99e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ee/tabby-db/src/threads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit aadf99e

Please sign in to comment.