summary refs log tree commit diff
diff options
context:
space:
mode:
authorRealMANI <96433859+ImAaronFR@users.noreply.github.com>2022-03-07 21:40:24 +0330
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-03-07 22:25:28 +0300
commitec8d8e43c5de13c560c1c4038a24e2726601fe47 (patch)
tree6caa69c8f456ab79dc7437475416bca447c30da6
parentCheck username (diff)
downloadserver-ec8d8e43c5de13c560c1c4038a24e2726601fe47.tar.xz
Type change
Changed type for column "content" to "longtext"

(you might want to get a back up from your database before updating)
-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 e577d5df..384355f9 100644
--- a/util/src/entities/Message.ts
+++ b/util/src/entities/Message.ts
@@ -106,7 +106,7 @@ export class Message extends BaseClass {
 	@ManyToOne(() => Application)
 	application?: Application;
 
-	@Column({ nullable: true })
+	@Column({ type: "longtext", nullable: true })
 	content?: string;
 
 	@Column()