summaryrefslogtreecommitdiff
path: root/src/models/entities/note.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-10-31 15:30:22 +0900
committerGitHub <noreply@github.com>2021-10-31 15:30:22 +0900
commitfc65190ef7b687650018cccfee2219bf00827f70 (patch)
treed2482c79dd095509b8b57dac28db460fb812196a /src/models/entities/note.ts
parentfix: Fix #7895 (#7937) (diff)
downloadmisskey-fc65190ef7b687650018cccfee2219bf00827f70.tar.gz
misskey-fc65190ef7b687650018cccfee2219bf00827f70.tar.bz2
misskey-fc65190ef7b687650018cccfee2219bf00827f70.zip
feat: thread mute (#7930)
* feat: thread mute * chore: fix comment * fix test * fix * refactor
Diffstat (limited to 'src/models/entities/note.ts')
-rw-r--r--src/models/entities/note.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/models/entities/note.ts b/src/models/entities/note.ts
index 9a85532637..4a5411f93d 100644
--- a/src/models/entities/note.ts
+++ b/src/models/entities/note.ts
@@ -47,6 +47,12 @@ export class Note {
@JoinColumn()
public renote: Note | null;
+ @Index()
+ @Column('varchar', {
+ length: 256, nullable: true
+ })
+ public threadId: string | null;
+
@Column('varchar', {
length: 8192, nullable: true
})