From b7f0d755709ecac1fddb5a57e555ecb6149e4ade Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sun, 4 Sep 2022 21:02:21 +1000 Subject: Remove notes object from User entity, as Note entity is used instead --- src/util/entities/User.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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 { if (!this.settings) this.settings = new UserSettings(); this.settings.id = this.id; -- cgit 1.5.1