This commit is contained in:
fro1991
2025-10-21 23:51:31 +07:00
parent b7c85ae16f
commit aa11fbcf99
2 changed files with 1 additions and 5 deletions

View File

@ -14,10 +14,6 @@ export class TrxCurrencyRate {
})
type: TrxCurrencyRateType;
@ManyToOne(() => TrxCurrency, { onDelete: "NO ACTION" })
@JoinColumn()
base: TrxCurrency;
@ManyToOne(() => TrxCurrency, { onDelete: "NO ACTION" })
@JoinColumn()
target: TrxCurrency;

View File

@ -57,7 +57,7 @@ export class TrxTransaction {
@ManyToOne(() => TrxCurrencyRate, { onDelete: "NO ACTION" })
@JoinColumn()
target_rate: TrxCurrency;
target_rate: TrxCurrencyRate;
@Column({
type: "float8",