Merge pull request #2118 from overleaf/cmg-convert-array-archiving

New archiving endpoint to convert to array

GitOrigin-RevId: a6f5d3e2363afcbcd5719731261b85a0ae7a1e25
This commit is contained in:
Jessica Lawshe
2019-10-02 14:22:28 +00:00
committed by sharelatex
parent 86d844baf2
commit b5f4e26840
8 changed files with 329 additions and 12 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ const ProjectSchema = new Schema({
spellCheckLanguage: { type: String, default: 'en' },
deletedByExternalDataSource: { type: Boolean, default: false },
description: { type: String, default: '' },
archived: Schema.Types.Mixed,
archived: { type: Schema.Types.Mixed },
trashed: [{ type: ObjectId, ref: 'User' }],
deletedDocs: [DeletedDocSchema],
deletedFiles: [DeletedFileSchema],