backend: use text for DriveFile comment

This commit is contained in:
fly_mc 2024-11-19 00:13:25 +08:00
parent a380f0dbf1
commit df398ce63a

View file

@ -60,8 +60,8 @@ export class MiDriveFile {
})
public size: number;
@Column('varchar', {
length: 512, nullable: true,
@Column('text', {
nullable: true,
comment: 'The comment of the DriveFile.',
})
public comment: string | null;