feat: deprecate history episodeID and fix related code

This commit is contained in:
Simon Ding
2025-02-02 12:49:59 +08:00
parent 1d9eddf050
commit 88492b3922
13 changed files with 38 additions and 605 deletions

View File

@@ -66,7 +66,7 @@ func init() {
historyFields := schema.History{}.Fields()
_ = historyFields
// historyDescSize is the schema descriptor for size field.
historyDescSize := historyFields[7].Descriptor()
historyDescSize := historyFields[6].Descriptor()
// history.DefaultSize holds the default value on creation for the size field.
history.DefaultSize = historyDescSize.Default.(int)
indexersFields := schema.Indexers{}.Fields()