diff --git a/server/models/Document.ts b/server/models/Document.ts index 2829be2bf4..3f7af3d009 100644 --- a/server/models/Document.ts +++ b/server/models/Document.ts @@ -1063,13 +1063,6 @@ class Document extends ParanoidModel< }); } - await Revision.destroy({ - where: { - documentId: this.id, - }, - transaction, - }); - this.lastModifiedById = user.id; this.updatedBy = user; return this.save({ transaction });