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 | eafa93b0359ef885e910f55781fc3cafd41b18a7 (patch) | |
tree | 244d05aba3566af9c0d4035e75706ac904ea34ab /src | |
parent | murder migrations (diff) | |
download | server-eafa93b0359ef885e910f55781fc3cafd41b18a7.tar.xz |
Remove use of `PRODUCTION` env var
Diffstat (limited to 'src')
-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() |