Skip to content

Commit

Permalink
feat(mongo-models): Added lastMetadataUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Oct 15, 2020
1 parent fd405d4 commit 5746b58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/mongo-models/src/shared/content.object-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@ export class Content {
@Field({ description: 'The time at which the content was last updated.' })
updatedAt: number

@Field({ description: 'The time at which the metadata was last updated.' })
lastMetadataUpdate: number

}
1 change: 1 addition & 0 deletions libs/mongo-models/src/shared/content.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const contentSchema: object = {
synopsis: String,
createdAt: Number,
updatedAt: Number,
lastMetadataUpdate: Number,
runtime: {
full: {
type: String
Expand Down

0 comments on commit 5746b58

Please sign in to comment.