mirror of
https://github.com/fantasticit/think.git
synced 2026-10-30 22:56:06 +08:00
fix: use column for store doc content json
This commit is contained in:
@@ -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: '文档内容' })
|
||||
|
||||
Reference in New Issue
Block a user