From 3c51f0f1a35f3121419e0b7d05fafe1d7567e591 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Tue, 21 Oct 2025 23:47:45 +0700 Subject: [PATCH] update --- src/entity/trx_currencies.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/entity/trx_currencies.ts b/src/entity/trx_currencies.ts index efccf02..4bf09f6 100644 --- a/src/entity/trx_currencies.ts +++ b/src/entity/trx_currencies.ts @@ -1,5 +1,6 @@ import { Column, CreateDateColumn, DeleteDateColumn, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm"; import { TrxCountry } from "./trx_countries"; +import { Status } from "../types/status"; @Entity("trx_currencies", { schema: "trx" }) export class TrxCurrency { @@ -22,6 +23,13 @@ export class TrxCurrency { }) name: string; + @Column({ + nullable: true, + length: 64, + default: Status.Active, + }) + status: Status; + @Column() @CreateDateColumn() created_at: Date;