diff options
Diffstat (limited to 'src/models/entities/note.ts')
| -rw-r--r-- | src/models/entities/note.ts | 6 |
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 }) |