diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-10 00:26:13 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-10 00:26:13 +1000 |
commit | 944881a4e0743c429f75a5521af457f60afcf3c7 (patch) | |
tree | 20cff6b8003e74833f053f999012aaba9b9228bf | |
parent | fix typo properly (diff) | |
download | server-944881a4e0743c429f75a5521af457f60afcf3c7.tar.xz |
finally stop the database troubles
-rw-r--r-- | util/src/entities/Message.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Message.ts b/util/src/entities/Message.ts index 83607ed4..38242152 100644 --- a/util/src/entities/Message.ts +++ b/util/src/entities/Message.ts @@ -114,7 +114,7 @@ export class Message extends BaseClass { @ManyToOne(() => Application) application?: Application; - @Column({ nullable: true, type: "longtext" }) + @Column({ nullable: true, type: process.env.PRODUCTION ? "longtext" : undefined }) content?: string; @Column() |