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:
- At the time of deletion?
- When the check database feature is used?
- If not 1 or 2 do they ever get deleted?