finally stop the database troubles

This commit is contained in:
Madeline 2022-09-10 00:26:13 +10:00
parent ea8090852b
commit dd5d6184c7

View File

@ -114,7 +114,7 @@ export class Message extends BaseClass {
@ManyToOne(() => Application) @ManyToOne(() => Application)
application?: Application; application?: Application;
@Column({ nullable: true, type: "longtext" }) @Column({ nullable: true, type: process.env.PRODUCTION ? "longtext" : undefined })
content?: string; content?: string;
@Column() @Column()