diff --git a/packages/server/src/entities/template.entity.ts b/packages/server/src/entities/template.entity.ts index 48ef9c5a..56c62f2e 100644 --- a/packages/server/src/entities/template.entity.ts +++ b/packages/server/src/entities/template.entity.ts @@ -14,13 +14,10 @@ export class TemplateEntity { @Column({ type: 'varchar', length: 200, comment: '标题' }) public title: string; - @Column({ type: 'text', comment: '内容' }) + @Column({ type: 'longblob', comment: '文档内容' }) public content: string; - @Column({ - type: 'blob', - comment: '内容', - }) + @Column({ type: 'longblob', comment: '文档内容' }) public state: Uint8Array; @Column({ type: 'int', default: 0, comment: '使用量' })