summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-17 17:29:42 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-17 17:29:42 +1100
commiteafa93b0359ef885e910f55781fc3cafd41b18a7 (patch)
tree244d05aba3566af9c0d4035e75706ac904ea34ab /src
parentmurder migrations (diff)
downloadserver-eafa93b0359ef885e910f55781fc3cafd41b18a7.tar.xz
Remove use of `PRODUCTION` env var
Diffstat (limited to 'src')
-rw-r--r--src/util/entities/Message.ts5
1 files changed, 1 insertions, 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()