Implementing this was trivially simple by adding an "updated" field which gets updated each time the model is updated. Without any extra intervention, each time the model's status gets updated, this field gets updated with the current system time.
The last state an outgoing message gets updated to is the "delivered" state. At this stage, the "updated" field gets the time the message was delivered.
Implementing this was trivially simple by adding an "updated" field which gets updated each time the model is updated. Without any extra intervention, each time the model's status gets updated, this field gets updated with the current system time.
The last state an outgoing message gets updated to is the "delivered" state. At this stage, the "updated" field gets the time the message was delivered.