update
This commit is contained in:
@ -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;
|
||||
|
||||
@ -57,7 +57,7 @@ export class TrxTransaction {
|
||||
|
||||
@ManyToOne(() => TrxCurrencyRate, { onDelete: "NO ACTION" })
|
||||
@JoinColumn()
|
||||
target_rate: TrxCurrency;
|
||||
target_rate: TrxCurrencyRate;
|
||||
|
||||
@Column({
|
||||
type: "float8",
|
||||
|
||||
Reference in New Issue
Block a user