mirror of
https://github.com/fantasticit/think.git
synced 2026-10-31 07:09:04 +08:00
fix: use longbolob for big data
This commit is contained in:
@@ -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: '使用量' })
|
||||
|
||||
Reference in New Issue
Block a user