upd: store old date and use it in previous versions
This commit is contained in:
@@ -48,4 +48,9 @@ export class NoteEdit {
|
||||
comment: "The updated date of the Note.",
|
||||
})
|
||||
public updatedAt: Date;
|
||||
|
||||
@Column("timestamp with time zone", {
|
||||
comment: "The old date from before the edit",
|
||||
})
|
||||
public oldDate: Date;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user