From abf6b855b9a364890ed8a8524247d1558716ba05 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 10 Oct 2024 15:45:47 +0530 Subject: [PATCH] Make new Event columns nullable --- src/entity/Event.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entity/Event.ts b/src/entity/Event.ts index 7de5631..413dd56 100644 --- a/src/entity/Event.ts +++ b/src/entity/Event.ts @@ -27,7 +27,7 @@ export class Event { @Column('varchar', { length: 256 }) eventName!: string; - @Column('varchar', { length: 66 }) + @Column('varchar', { length: 66, nullable: true }) topic0!: string; @Column('varchar', { length: 66, nullable: true }) @@ -39,7 +39,7 @@ export class Event { @Column('varchar', { length: 66, nullable: true }) topic3!: string | null; - @Column('varchar') + @Column('varchar', { nullable: true }) data!: string; @Column('text')