mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
fix for psql action trigger model
This commit is contained in:
@@ -192,7 +192,7 @@ CREATE TABLE tp_action_triggers (
|
||||
tpid VARCHAR(64) NOT NULL,
|
||||
tag VARCHAR(64) NOT NULL,
|
||||
unique_id VARCHAR(64) NOT NULL,
|
||||
threshold_type char(64) NOT NULL,
|
||||
threshold_type VARCHAR(64) NOT NULL,
|
||||
threshold_value NUMERIC(20,4) NOT NULL,
|
||||
recurrent BOOLEAN NOT NULL,
|
||||
min_sleep VARCHAR(16) NOT NULL,
|
||||
|
||||
@@ -394,7 +394,7 @@ func (tps TpActions) GetActions() (map[string][]*utils.TPAction, error) {
|
||||
DestinationIds: tpAc.DestinationTags,
|
||||
RatingSubject: tpAc.RatingSubject,
|
||||
Categories: tpAc.Categories,
|
||||
SharedGroups: tpAc.SharedGroups,
|
||||
SharedGroups: tpAc.SharedGroups,
|
||||
BalanceWeight: tpAc.BalanceWeight,
|
||||
ExtraParameters: tpAc.ExtraParameters,
|
||||
Weight: tpAc.Weight,
|
||||
@@ -435,7 +435,7 @@ func (tps TpActionTriggers) GetActionTriggers() (map[string][]*utils.TPActionTri
|
||||
BalanceTimingTags: tpAt.BalanceTimingTags,
|
||||
BalanceRatingSubject: tpAt.BalanceRatingSubject,
|
||||
BalanceCategories: tpAt.BalanceCategories,
|
||||
BalanceSharedGroups: tpAt.BalanceSharedGroups,
|
||||
BalanceSharedGroups: tpAt.BalanceSharedGroups,
|
||||
BalanceDisabled: tpAt.BalanceDisabled,
|
||||
Weight: tpAt.Weight,
|
||||
ActionsId: tpAt.ActionsTag,
|
||||
|
||||
Reference in New Issue
Block a user