diff --git a/src/entity/trx_currency_rates.ts b/src/entity/trx_currency_rates.ts index ff151af..f3bdac5 100644 --- a/src/entity/trx_currency_rates.ts +++ b/src/entity/trx_currency_rates.ts @@ -16,7 +16,7 @@ export class TrxCurrencyRate { @ManyToOne(() => TrxCurrency, { onDelete: "NO ACTION" }) @JoinColumn() - target: TrxCurrency; + currency: TrxCurrency; @Column({ type: "float8",