fix: use longblob for document content

This commit is contained in:
fantasticit 2022-03-25 17:17:33 +08:00
parent edd964ab5f
commit 5b1f6b625d
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export class DocumentEntity {
@Column({ type: 'varchar', default: '未命名文档', comment: '文档标题' }) @Column({ type: 'varchar', default: '未命名文档', comment: '文档标题' })
public title: string; public title: string;
@Column({ type: 'text', comment: '文档内容' }) @Column({ type: 'longblob', comment: '文档内容' })
public content: string; public content: string;
@Column({ type: 'longblob', comment: '文档内容' }) @Column({ type: 'longblob', comment: '文档内容' })