1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 18:32:29 +01:00

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)
application?: Application;
@Column({ nullable: true, type: "longtext" })
@Column({ nullable: true, type: process.env.PRODUCTION ? "longtext" : undefined })
content?: string;
@Column()