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;