* Resolve #6563

* Update note.ts

* Update generate-visibility-query.ts
This commit is contained in:
syuilo
2021-05-21 14:13:03 +09:00
committed by GitHub
parent 0108b8bfe3
commit da34acd35f
4 changed files with 21 additions and 3 deletions

View File

@ -7,6 +7,8 @@ import { Channel } from './channel';
@Entity()
@Index('IDX_NOTE_TAGS', { synchronize: false })
@Index('IDX_NOTE_MENTIONS', { synchronize: false })
@Index('IDX_NOTE_VISIBLE_USER_IDS', { synchronize: false })
export class Note {
@PrimaryColumn(id())
public id: string;