Skip to content

Commit

Permalink
fix: imageUuid, submissionUrl는 nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
potados99 committed Feb 9, 2022
1 parent 57fe9d9 commit 9e6dbd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/entity/Event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export default class Event extends BaseEntity {
@Column({comment: '본문.'})
body: string;

@Column({comment: '이미지 식별자.'})
imageUuid: string;
@Column({nullable: true, comment: '이미지 식별자.'})
imageUuid?: string;

@Column({comment: '신청 URL.'})
submissionUrl: string;
@Column({nullable: true, comment: '신청 URL.'})
submissionUrl?: string;

@Column({nullable: true, comment: '행사 시작 일시.'})
startAt?: Date;
Expand Down

0 comments on commit 9e6dbd5

Please sign in to comment.