From 0f880b55e3a58e1170c904bc11acc86e44cab5f4 Mon Sep 17 00:00:00 2001 From: naskya Date: Sun, 17 Mar 2024 15:26:27 +0900 Subject: [PATCH] chore (backend): add FIXME to a questionable database column --- packages/backend/src/models/entities/note.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/models/entities/note.ts b/packages/backend/src/models/entities/note.ts index e45fb02466..5dca038ac2 100644 --- a/packages/backend/src/models/entities/note.ts +++ b/packages/backend/src/models/entities/note.ts @@ -151,6 +151,7 @@ export class Note { }) public score: number; + // FIXME: file id is not removed from this array even if the file is deleted @Index() @Column({ ...id(), @@ -183,6 +184,7 @@ export class Note { }) public mentions: User["id"][]; + // FIXME: WHAT IS THIS @Column("text", { default: "[]", })