This commit is contained in:
syuilo
2019-04-17 02:11:22 +09:00
parent b186504718
commit e265b538cc
2 changed files with 8 additions and 1 deletions

View File

@ -129,12 +129,14 @@ export class Note {
})
public score: number;
@Index()
@Column({
...id(),
array: true, default: '{}'
})
public fileIds: DriveFile['id'][];
@Index()
@Column('varchar', {
length: 256, array: true, default: '{}'
})