chore (backend): add FIXME to a questionable database column

This commit is contained in:
naskya 2024-03-17 15:26:27 +09:00
parent 11b613f752
commit 0f880b55e3
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -151,6 +151,7 @@ export class Note {
}) })
public score: number; public score: number;
// FIXME: file id is not removed from this array even if the file is deleted
@Index() @Index()
@Column({ @Column({
...id(), ...id(),
@ -183,6 +184,7 @@ export class Note {
}) })
public mentions: User["id"][]; public mentions: User["id"][];
// FIXME: WHAT IS THIS
@Column("text", { @Column("text", {
default: "[]", default: "[]",
}) })