From 077e1d7859d3ae5438d14bcb6d74be0874090bff Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Wed, 11 Mar 2026 13:46:28 +0700 Subject: [PATCH] update: add large_unit and small_unit to pharmacy unit --- src/entity/pharmacy/unit.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/entity/pharmacy/unit.ts b/src/entity/pharmacy/unit.ts index 5c71d50..29f2b85 100644 --- a/src/entity/pharmacy/unit.ts +++ b/src/entity/pharmacy/unit.ts @@ -18,6 +18,18 @@ export class Unit { }) unit_name!: string; + @Column({ + type: "text", + nullable: true, + }) + small_unit: string; + + @Column({ + type: "text", + nullable: true, + }) + large_unit: string; + @CreateDateColumn() created_at!: Date;