mirror of https://github.com/fantasticit/think.git
fix: use column for store doc content json
This commit is contained in:
parent
a7e2162288
commit
5b43a7f971
|
@ -22,7 +22,7 @@ export class DocumentEntity {
|
|||
@Column({ type: 'varchar', default: '未命名文档', comment: '文档标题' })
|
||||
public title: string;
|
||||
|
||||
@Column({ type: 'longblob', comment: '文档内容' })
|
||||
@Column({ type: 'longtext', comment: '文档内容' })
|
||||
public content: string;
|
||||
|
||||
@Column({ type: 'longblob', comment: '文档内容' })
|
||||
|
|
|
@ -14,7 +14,7 @@ export class TemplateEntity {
|
|||
@Column({ type: 'varchar', length: 200, comment: '标题' })
|
||||
public title: string;
|
||||
|
||||
@Column({ type: 'longblob', comment: '文档内容' })
|
||||
@Column({ type: 'longtext', comment: '文档内容' })
|
||||
public content: string;
|
||||
|
||||
@Column({ type: 'longblob', comment: '文档内容' })
|
||||
|
|
Loading…
Reference in New Issue