summary refs log tree commit diff
path: root/src/util/entities/User.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-09-07 08:46:43 +0200
committerGitHub <noreply@github.com>2022-09-07 08:46:43 +0200
commitb07e71a1f0a0375ba92e6a29add16047661060c5 (patch)
tree6a075478cc6e8d3121389f7095a6bfeb90348f17 /src/util/entities/User.ts
parentRevert "Merge pull request #873 from fosscord/dev/Maddy/fix/listeningAfterDb" (diff)
parentRemove notes object from User entity, as Note entity is used instead (diff)
downloadserver-b07e71a1f0a0375ba92e6a29add16047661060c5.tar.xz
Merge pull request #881 from fosscord/fix/notes_pr_broke_somehow
Remove notes object from User entity, as Note entity is used instead
Diffstat (limited to 'src/util/entities/User.ts')
-rw-r--r--src/util/entities/User.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index 1237b676..77d4c37f 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -178,9 +178,6 @@ export class User extends BaseClass {
 	@Column({ type: "simple-json", select: false })
 	extended_settings: string = "{}";
 
-	@Column({ type: "simple-json" })
-	notes: { [key: string]: string } = {}; //key is ID of user
-
 	async save(): Promise<any> {
 		if (!this.settings) this.settings = new UserSettings();
 		this.settings.id = this.id;