diff --git a/src/entity/trx_customers.ts b/src/entity/trx_customers.ts index c3e5578..a519f10 100644 --- a/src/entity/trx_customers.ts +++ b/src/entity/trx_customers.ts @@ -1,6 +1,6 @@ import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinTable, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm"; import { Status } from "../types/status"; -import { TrxCustomerType } from "../types/trx"; +import { TrxCustomerType, TrxIdentityType } from "../types/trx"; import { TrxOccupation } from "./trx_occupations"; @Entity("trx_customers", { schema: "trx" }) @@ -88,6 +88,12 @@ export class TrxCustomer { }) identity_number: string; + @Column({ + nullable: true, + length: 256, + }) + identity_type: TrxIdentityType; + @Column() @CreateDateColumn() created_at: Date;