From 7d34419a74fc2f2f63593440968b513689072961 Mon Sep 17 00:00:00 2001 From: Edwardro22 Date: Tue, 21 Feb 2017 15:56:03 +0200 Subject: [PATCH] Added action_triggers and tests to new migrator --- migrator/accounts.go | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/migrator/accounts.go b/migrator/accounts.go index c4c6c6de1..ee470ad75 100644 --- a/migrator/accounts.go +++ b/migrator/accounts.go @@ -70,28 +70,3 @@ type v1UnitsCounter struct { // Units float64 Balances v1BalanceChain // first balance is the general one (no destination) } - -type v1ActionTriggers []*v1ActionTrigger - -type v1ActionTrigger struct { - Id string - ThresholdType string - ThresholdValue float64 - Recurrent bool - MinSleep time.Duration - BalanceId string - BalanceType string - BalanceDirection string - BalanceDestinationIds string - BalanceWeight float64 - BalanceExpirationDate time.Time - BalanceTimingTags string - BalanceRatingSubject string - BalanceCategory string - BalanceSharedGroup string - BalanceDisabled bool - Weight float64 - ActionsId string - MinQueuedItems int - Executed bool -}