diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 17:29:42 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 17:29:42 +1100 |
commit | 8edd3b53c2f926e712fff69ecb2bc4f8318ac140 (patch) | |
tree | 42b4a16bd5631d1e30fc498dd77b7bc0c3207111 | |
parent | murder migrations (diff) | |
download | server-8edd3b53c2f926e712fff69ecb2bc4f8318ac140.tar.xz |
Remove use of `PRODUCTION` env var
-rw-r--r-- | src/util/entities/Message.ts | 5 |
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() |