From 8edd3b53c2f926e712fff69ecb2bc4f8318ac140 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sat, 17 Dec 2022 17:29:42 +1100 Subject: [PATCH] Remove use of `PRODUCTION` env var --- src/util/entities/Message.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts index 013de378..4740a79b 100644 --- a/src/util/entities/Message.ts +++ b/src/util/entities/Message.ts @@ -111,10 +111,7 @@ export class Message extends BaseClass { @ManyToOne(() => Application) application?: Application; - @Column({ - nullable: true, - type: process.env.PRODUCTION ? "longtext" : undefined, - }) + @Column({ nullable: true }) content?: string; @Column()