finally stop the database troubles

This commit is contained in:
Madeline committed 2022-09-10 00:26:13 +10:00
1 parent 90aa2ccf30
commit 944881a4e0
1 file changed
+1 -1
+1 -1
View File
@@ -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()