add content

This commit is contained in:
2025-05-19 16:33:14 +08:00
parent 06f187b742
commit 149623c073
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export class PostEntity extends BaseEntity {
@Column({ comment: '关键字', type: 'simple-array', nullable: true })
keywords?: [];
@Column({ comment: '文章类型', type: 'varchar', enum: PostBodyType })
@Column({ comment: '文章类型', type: 'enum', enum: PostBodyType })
type: PostBodyType;
@Column({ comment: '发布时间', type: 'varchar', nullable: true })