1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 05:38:55 +09:00

entity typo

This commit is contained in:
ssmucny 2023-04-13 19:55:50 -04:00
parent c7e607ea5f
commit 10e134a980

View File

@ -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', {