upd: store old date and use it in previous versions
This commit is contained in:
parent
2706b6b618
commit
83be996a3d
6 changed files with 27 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue