From f34963e880b4e4a83e4b277c8638127be8de3ac4 Mon Sep 17 00:00:00 2001 From: GylmarGonzalez Date: Mon, 16 Dec 2024 14:22:31 -0600 Subject: [PATCH] modify the file src/database/entities/batch_transfer.rs --- src/database/entities/batch_transfer.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/database/entities/batch_transfer.rs b/src/database/entities/batch_transfer.rs index 2967703..fa39ada 100644 --- a/src/database/entities/batch_transfer.rs +++ b/src/database/entities/batch_transfer.rs @@ -21,6 +21,7 @@ pub struct Model { pub created_at: i64, pub updated_at: i64, pub expiration: Option, + pub exact_expiry: Option, pub min_confirmations: u8, } @@ -32,6 +33,7 @@ pub enum Column { CreatedAt, UpdatedAt, Expiration, + ExactExpiry, MinConfirmations, } @@ -62,6 +64,7 @@ impl ColumnTrait for Column { Self::CreatedAt => ColumnType::BigInteger.def(), Self::UpdatedAt => ColumnType::BigInteger.def(), Self::Expiration => ColumnType::BigInteger.def().null(), + Self::ExactExpiry => ColumnType::Boolean.def().null(), Self::MinConfirmations => ColumnType::SmallInteger.def(), } }