From 10e134a98001e4283e9aff4efa2654065f76baf9 Mon Sep 17 00:00:00 2001 From: ssmucny Date: Thu, 13 Apr 2023 19:55:50 -0400 Subject: [PATCH] entity typo --- packages/backend/src/models/entities/Note.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/models/entities/Note.ts b/packages/backend/src/models/entities/Note.ts index 11cc6be34b..ad776b73b0 100644 --- a/packages/backend/src/models/entities/Note.ts +++ b/packages/backend/src/models/entities/Note.ts @@ -58,15 +58,15 @@ export class Note { @Column({ ...id(), nullable: true, - comment: 'id of child event', + comment: 'The ID of child event', }) - public noteId: Event['id'] | null; + public eventId: Event['id'] | null; @OneToOne(type => Event, { onDelete: 'CASCADE', }) @JoinColumn() - public note: Event | null; + public event: Event | null; // TODO: varcharにしたい @Column('text', {