HomePhabricator
Diffusion Comm 434d919a439c

[keyserver] Also delete from ids table when deleting invite links

Description

[keyserver] Also delete from ids table when deleting invite links

Summary: Noticed this query wasn't deleting from the ids table. Turns out that the RETURNING keyword isn't allowed for multi-table deletes, so I had to rework the logic.

Test Plan:

  1. I deleted an invite link from the UI and confirmed it was removed from MariaDB and DynamoDB
  2. I tested in combination with the next diff, where I introduce a cronjob for deleting orphaned invite links

Reviewers: tomek

Reviewed By: tomek

Differential Revision: https://phab.comm.dev/D13731

Details

Provenance
ashoatAuthored on Oct 16 2024, 12:15 PM
Reviewer
tomek
Differential Revision
D13731: [keyserver] Also delete from ids table when deleting invite links
Parents
rCOMM3902a11f0b71: [lib] rename useFarcasterAvatarURL -> useFarcasterUserAvatarURL
Branches
Unknown
Tags
Unknown