summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-10 00:26:13 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-10 00:26:13 +1000
commit944881a4e0743c429f75a5521af457f60afcf3c7 (patch)
tree20cff6b8003e74833f053f999012aaba9b9228bf /util/src
parentfix typo properly (diff)
downloadserver-944881a4e0743c429f75a5521af457f60afcf3c7.tar.xz
finally stop the database troubles
Diffstat (limited to 'util/src')
-rw-r--r--util/src/entities/Message.ts2
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()