feat: save torrent link to history

This commit is contained in:
Simon Ding
2024-10-09 23:56:04 +08:00
parent 6527f843d8
commit 7e4d907ef6
14 changed files with 838 additions and 6 deletions

View File

@@ -21,6 +21,7 @@ func (History) Fields() []ent.Field {
field.Int("size").Default(0),
field.Int("download_client_id").Optional(),
field.Int("indexer_id").Optional(),
field.String("link").Optional(),
field.Enum("status").Values("running", "success", "fail", "uploading", "seeding"),
field.String("saved").Optional(),
}