mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2025-08-01 20:20:25 +02:00
Apply fixes from @ryneeverett
Co-authored-by: ryneeverett <ryneeverett@gmail.com>
This commit is contained in:
parent
25911b44a6
commit
b858febbca
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
//!
|
||||
//! This crate is intended for small deployments of a sync server, supporting one or a small number
|
||||
//! of users. The schema for the database is considered an implementation detail. For more robust
|
||||
//! database support, consider `taskchmpaion-sync-server-storage-posrgres`.
|
||||
//! database support, consider `taskchampion-sync-server-storage-postgres`.
|
||||
|
||||
use anyhow::Context;
|
||||
use chrono::{TimeZone, Utc};
|
||||
|
@ -276,7 +276,7 @@ impl StorageTxn for Txn {
|
|||
SET
|
||||
latest_version_id = ?,
|
||||
versions_since_snapshot = versions_since_snapshot + 1
|
||||
WHERE client_id = ? and latest_Version_id = ?",
|
||||
WHERE client_id = ? and latest_version_id = ?",
|
||||
params![
|
||||
StoredUuid(version_id),
|
||||
StoredUuid(self.client_id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue