mirror of https://github.com/fantasticit/think.git
fix: use longbolob for big data
This commit is contained in:
parent
5b1f6b625d
commit
b3fcbd5dca
|
@ -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: '使用量' })
|
||||
|
|
Loading…
Reference in New Issue