From 08b19df55d9c9664e46dc4bf05d1beb333ca125c Mon Sep 17 00:00:00 2001 From: fadlydev Date: Tue, 4 Feb 2025 23:19:12 +0700 Subject: [PATCH] update type data --- src/entity/request_orders.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/request_orders.ts b/src/entity/request_orders.ts index b31d14b..08dac15 100644 --- a/src/entity/request_orders.ts +++ b/src/entity/request_orders.ts @@ -79,7 +79,7 @@ export class RequestOrder { @Column({ type: 'text', nullable: true }) ga_approval_remarks: string | null; - @Column({ type: 'string', nullable: true }) + @Column({ type: 'varchar', nullable: true }) category: string | null; // Storing goods as a JSON array, Use 'jsonb' for PostgreSQL or 'json' for MySQL