feat(server): store mime type of webpublic

This commit is contained in:
syuilo
2022-01-20 02:40:13 +09:00
parent 8b5a1faaa4
commit 53937e09a0
3 changed files with 20 additions and 0 deletions

View File

@ -101,6 +101,11 @@ export class DriveFile {
})
public webpublicUrl: string | null;
@Column('varchar', {
length: 128, nullable: true,
})
public webpublicType: string | null;
@Index({ unique: true })
@Column('varchar', {
length: 256, nullable: true,