When a note is deleted, do rows of the revlog table get deleted?

AnkiDroid’s doc on the database structure,
The revlog table contains an entry for every review. If notes/cards are deleted, do entries in revlog get deleted at the following points:

  1. At the time of deletion?
  2. When the check database feature is used?
  3. If not 1 or 2 do they ever get deleted?

Anki does not delete review history.

1 Like