@mariusor my implementation is much more straightforward than that lol. I just forgot to delete retoots when the original toot gets deleted. And I can't use the MySQL's built-in relations to do this automatically because I will be storing different kinds of references in the same table.