protocol optional fields

This commit is contained in:
Julian Krauser 2024-10-14 17:03:33 +02:00
parent b9b258a1f6
commit 5f434c943e
3 changed files with 7 additions and 7 deletions

View file

@ -11,12 +11,12 @@ export class protocol {
@Column({ type: "date" })
date: Date;
@Column({ type: "timestamp" })
@Column({ type: "timestamp", nullable: true })
starttime: Date;
@Column({ type: "timestamp" })
@Column({ type: "timestamp", nullable: true })
endtime: Date;
@Column({ type: "text" })
@Column({ type: "text", nullable: true })
summary: string;
}