Remove notes object from User entity, as Note entity is used instead

This commit is contained in:
Madeline
2022-09-04 21:02:21 +10:00
parent 3a3417cded
commit b7f0d75570

View File

@@ -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;