X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Fdb%2Fpostgres%2Fsql%2Fsubscription-delivery-success.sql;h=b19b376593f54405e2a6ef7532bcef912d0f1ebe;hb=d5e7908d3e60ee0cb3149163d4749563cdfafeb3;hp=9ff01e0395ef7c689b3ae6d1af33d586d77b683a;hpb=9696c012e6b9a6c58904baa397ca0ebf78112316;p=websub-hub diff --git a/src/db/postgres/sql/subscription-delivery-success.sql b/src/db/postgres/sql/subscription-delivery-success.sql index 9ff01e0..b19b376 100644 --- a/src/db/postgres/sql/subscription-delivery-success.sql +++ b/src/db/postgres/sql/subscription-delivery-success.sql @@ -1,6 +1,7 @@ -- UPDATE subscription SET content_delivered = now(), + latest_content_delivered = $(topicContentUpdated), delivery_attempts_since_success = 0, delivery_next_attempt = '-infinity'::timestamptz WHERE