fix: remove soft delete from the blog category

This commit is contained in:
mahyargdz
2025-04-23 14:56:24 +03:30
parent c2949ba06a
commit 0b04ba051a
6 changed files with 15 additions and 13 deletions
@@ -1,4 +1,4 @@
import { Column, DeleteDateColumn, Entity, OneToMany } from "typeorm";
import { Column, Entity, OneToMany } from "typeorm";
import { Blog } from "./blog.entity";
import { BaseEntity } from "../../../common/entities/base.entity";
@@ -19,7 +19,4 @@ export class BlogCategory extends BaseEntity {
@OneToMany(() => Blog, (blog) => blog.category)
blogs: Blog[];
@DeleteDateColumn()
deletedAt?: Date;
}