finally stop the database troubles

This commit is contained in:
Madeline committed 2022-09-10 00:26:13 +10:00
1 parent ea8090852b
commit dd5d6184c7
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()