From 752fcf55931094f5007cff155591eac6a8106855 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 11 Oct 2024 13:38:49 +0530 Subject: [PATCH] Revert "Make new Event columns nullable" This reverts commit abf6b855b9a364890ed8a8524247d1558716ba05. --- 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 413dd56..7de5631 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, nullable: true }) + @Column('varchar', { length: 66 }) 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', { nullable: true }) + @Column('varchar') data!: string; @Column('text')