Enforce data validity in `notificationsQueue`
Closed this issue · 0 comments
LibertyPaul commented
Fields responseCode, retryCount, lastDeliveryAttemptTime can be in following states:
# | responseCode | retryCount | lastDeliveryAttemptTime |
---|---|---|---|
1 | NULL | = 0 | NULL |
2 | NOT NULL | > 0 | NOT NULL |
- only
1 -> 2
state change is permitted