mirror of https://github.com/fantasticit/think.git
fix: use longblob for document content
This commit is contained in:
parent
edd964ab5f
commit
5b1f6b625d
|
@ -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: '文档内容' })
|
||||||
|
|
Loading…
Reference in New Issue