Skip to content

Commit

Permalink
fix updatedAt scan column to sync meta with data
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rafique committed Aug 9, 2024
1 parent d4cea53 commit 6550576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/kademlia/store/sqlite/meta_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6550576

Please sign in to comment.