fix: remove soft delete from the blog category
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user