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
commitde8b83f7b9bf9f418b49c4221bec35417de219d8 (patch)
tree71f76c271bbd2126cf9bf2e210c7871762bfe7be
parentCheck username (diff)
downloadserver-de8b83f7b9bf9f418b49c4221bec35417de219d8.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()