mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-24 09:45:11 +08:00
basic find download ability
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"fmt"
|
||||
"polaris/ent/downloadclients"
|
||||
"polaris/ent/epidodes"
|
||||
"polaris/ent/history"
|
||||
"polaris/ent/indexers"
|
||||
"polaris/ent/series"
|
||||
"polaris/ent/settings"
|
||||
@@ -79,6 +80,7 @@ func checkColumn(table, column string) error {
|
||||
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
|
||||
downloadclients.Table: downloadclients.ValidColumn,
|
||||
epidodes.Table: epidodes.ValidColumn,
|
||||
history.Table: history.ValidColumn,
|
||||
indexers.Table: indexers.ValidColumn,
|
||||
series.Table: series.ValidColumn,
|
||||
settings.Table: settings.ValidColumn,
|
||||
|
||||
Reference in New Issue
Block a user