1
0

upd: store old date and use it in previous versions

This commit is contained in:
Mar0xy
2023-10-22 14:07:04 +02:00
parent 2706b6b618
commit 83be996a3d
6 changed files with 27 additions and 6 deletions
+5
View File
@@ -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;
}