summary refs log tree commit diff
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
commit8edd3b53c2f926e712fff69ecb2bc4f8318ac140 (patch)
tree42b4a16bd5631d1e30fc498dd77b7bc0c3207111
parentmurder migrations (diff)
downloadserver-8edd3b53c2f926e712fff69ecb2bc4f8318ac140.tar.xz
Remove use of `PRODUCTION` env var
-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()