Remove AccountIDs from ActionProfile and add Targets ( TargetType and TargetIDs )

This commit is contained in:
TeoV
2020-12-15 15:23:56 +02:00
committed by Dan Christian Bogos
parent 992d9e03ce
commit dcab9bb180
21 changed files with 227 additions and 173 deletions

View File

@@ -551,15 +551,16 @@ type ActionProfileMdl struct {
ActivationInterval string `index:"3" re:""`
Weight float64 `index:"4" re:"\d+\.?\d*"`
Schedule string `index:"5" re:""`
AccountIDs string `index:"6" re:""`
ActionID string `index:"7" re:""`
ActionFilterIDs string `index:"8" re:""`
ActionBlocker bool `index:"9" re:""`
ActionTTL string `index:"10" re:""`
ActionType string `index:"11" re:""`
ActionOpts string `index:"12" re:""`
ActionPath string `index:"13" re:""`
ActionValue string `index:"14" re:""`
TargetType string `index:"6" re:""`
TargetIDs string `index:"7" re:""`
ActionID string `index:"8" re:""`
ActionFilterIDs string `index:"9" re:""`
ActionBlocker bool `index:"10" re:""`
ActionTTL string `index:"11" re:""`
ActionType string `index:"12" re:""`
ActionOpts string `index:"13" re:""`
ActionPath string `index:"14" re:""`
ActionValue string `index:"15" re:""`
CreatedAt time.Time
}