diff --git a/src/categories/category.entity.ts b/src/categories/category.entity.ts index 00ba521..af20ffb 100644 --- a/src/categories/category.entity.ts +++ b/src/categories/category.entity.ts @@ -45,7 +45,7 @@ export class Category extends CoreEntity { @OneToMany(() => Content, (content) => content.category) contents: Content[]; - @Column({ type: 'enum', enum: IconName, default: IconName.None }) + @Column({ type: 'enum', enum: IconName, default: IconName.Folder }) @IsEnum(IconName) iconName?: IconName;