From 7b2d5245d77e9bfbeb577f0d280a1cb145f54485 Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Wed, 30 Aug 2023 16:18:01 +0200 Subject: [PATCH] add comment for clarification --- dlt-database/entity/0001-init_db/TransactionRecipe.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dlt-database/entity/0001-init_db/TransactionRecipe.ts b/dlt-database/entity/0001-init_db/TransactionRecipe.ts index 52419f653..e923c2b00 100644 --- a/dlt-database/entity/0001-init_db/TransactionRecipe.ts +++ b/dlt-database/entity/0001-init_db/TransactionRecipe.ts @@ -22,6 +22,7 @@ export class TransactionRecipe { @Column({ name: 'iota_message_id', type: 'binary', length: 32, nullable: true }) iotaMessageId?: Buffer + // if transaction has a sender than it is also the sender account @ManyToOne(() => Account, (account) => account.transactionRecipesSigning) @JoinColumn({ name: 'signing_account_id' }) signingAccount: Account