SQL: Delete all post revisions and their metadata