mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 23:21:00 +08:00
code refactor
This commit is contained in:
@@ -21,6 +21,7 @@ func (Episode) Fields() []ent.Field {
|
||||
field.String("overview"),
|
||||
field.String("air_date"),
|
||||
field.Enum("status").Values("missing", "downloading", "downloaded").Default("missing"),
|
||||
field.Bool("monitored").Default(true).StructTag("json:\"monitored\""), //whether this episode is monitored
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user