Add migration for the new published meta field

This commit is contained in:
Thomas Sileo
2019-08-08 09:31:59 +02:00
parent 7f22622f9c
commit c00c811837
3 changed files with 39 additions and 2 deletions

View File

@@ -13,6 +13,9 @@ def _update(url: str, replace: _Q) -> None:
update_one_remote({"server": server(url)}, replace, upsert=True)
# TODO(tsileo): track receive (and the user agent to help debug issues)
def track_successful_send(url: str) -> None:
now_ = now()
_update(