add strategy id and instance id to position

This commit is contained in:
c9s 2022-03-11 14:17:49 +08:00
parent ac675d0099
commit cc4ef327d6

View File

@ -52,6 +52,9 @@ type Position struct {
ChangedAt time.Time `json:"changedAt,omitempty"`
Strategy string `json:"strategy,omitempty" db:"strategy"`
StrategyInstanceID string `json:"strategyInstanceID,omitempty" db:"strategy_instance_id"`
sync.Mutex
}