Skip to content

Commit

Permalink
Merge pull request #918 from pastelnetwork/fixUpdatedAtScanColumn
Browse files Browse the repository at this point in the history
fix updatedAt scan column to sync meta with data
  • Loading branch information
j-rafique authored Aug 9, 2024
2 parents d4cea53 + 6550576 commit 4666539
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 4666539

Please sign in to comment.