From d1e5c671c7a0d8bc0dbd0a00dd7de1e9cc70cebe Mon Sep 17 00:00:00 2001 From: fro1991 Date: Wed, 5 Feb 2025 03:20:50 +0700 Subject: [PATCH] update --- src/entity/credit_applications.ts | 12 ++++++++++++ src/entity/credit_config.ts | 10 ++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/entity/credit_applications.ts b/src/entity/credit_applications.ts index e15dcbe..bf592f1 100644 --- a/src/entity/credit_applications.ts +++ b/src/entity/credit_applications.ts @@ -70,6 +70,18 @@ export class CreditApplication { }) finalize_by: string; + @Column({ + nullable: true, + type: 'jsonb' + }) + simulation: string[]; + + @Column({ + nullable: true, + type: 'jsonb' + }) + scoring: string[]; + @Column() @CreateDateColumn() created_at: Date; diff --git a/src/entity/credit_config.ts b/src/entity/credit_config.ts index 5bca156..14dc49f 100644 --- a/src/entity/credit_config.ts +++ b/src/entity/credit_config.ts @@ -8,13 +8,19 @@ export class CreditConfigs { id: string; @Column({ - nullable: false, + nullable: true, + length: 256 + }) + module: string; + + @Column({ + nullable: true, length: 256 }) code: string; @Column({ - nullable: false, + nullable: true, length: 256 }) param: string;