Skip to content

Commit

Permalink
schema mtime fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Feb 9, 2024
1 parent d18ad84 commit 685ba6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/schemapart.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func (r *SchemaPartRepository) CreateOrUpdateSchemaPart(part *types.SchemaPart)
return p.Insert(context.Background(), schemaPartTable, part)
} else if err == nil {
// update
sp.Mtime = part.Mtime
sp.Data = part.Data
sp.MetaData = part.MetaData
return p.Patch(context.Background(), schemaPartTable, sp)
Expand Down

0 comments on commit 685ba6a

Please sign in to comment.