From f2ef36a7d7dffaf9a2f38b2665d104537e13583b Mon Sep 17 00:00:00 2001 From: fadlydev Date: Wed, 15 Jan 2025 20:37:05 +0700 Subject: [PATCH] add is_active boolean --- src/entity/supplier.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/entity/supplier.ts b/src/entity/supplier.ts index a5bc93d..a6aa27f 100644 --- a/src/entity/supplier.ts +++ b/src/entity/supplier.ts @@ -54,6 +54,12 @@ export class Supplier { }) type: string; + @Column({ + type: 'boolean', + default: true, + }) + is_active: boolean; + @Column() @CreateDateColumn() created_at: Date;