Why do you guys think that when you edit your post/comment reddit would change this specific entry in the database? Anyone designing such a system would just store a new version and keep the old versions to have a paper trail. Same with deleting, you would only mark it as deleted, never delete anything.
And then it's very easy to roll back.