From 655057697f844e8a1e421cebfd892162ef6a8e4e Mon Sep 17 00:00:00 2001 From: j-rafique Date: Fri, 9 Aug 2024 19:34:02 +0500 Subject: [PATCH] fix updatedAt scan column to sync meta with data --- p2p/kademlia/store/sqlite/meta_worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/kademlia/store/sqlite/meta_worker.go b/p2p/kademlia/store/sqlite/meta_worker.go index 48c456421..d129e5f60 100644 --- a/p2p/kademlia/store/sqlite/meta_worker.go +++ b/p2p/kademlia/store/sqlite/meta_worker.go @@ -182,7 +182,7 @@ func (d *MigrationMetaStore) isMetaSyncRequired() bool { } func (d *MigrationMetaStore) syncMetaWithData(ctx context.Context) error { - query := `SELECT key, data, updated_at FROM data LIMIT ? OFFSET ?` + query := `SELECT key, data, updatedAt FROM data LIMIT ? OFFSET ?` var offset int for {