db migration 1.0.2, now stores and indexes date of content delivered to subscriber...
[websub-hub] / src / db / sqlite / sql / subscription-delivery-success.sql
1 --
2 UPDATE subscription SET
3 content_delivered = strftime('%s', 'now'),
4 latest_content_delivered = :topicContentUpdated,
5 delivery_attempts_since_success = 0,
6 delivery_next_attempt = 0
7 WHERE
8 topic_id = :topicId AND callback = :callback