fix: change balance_remaining tu numeric

This commit is contained in:
ilham 2023-01-06 15:40:00 +07:00
parent 5d203ef8b0
commit 38bdfcefd0

View File

@ -10,7 +10,11 @@ export class Transactions extends BaseModel {
@Column()
amount: number;
@Column()
@Column({
type: 'numeric',
precision: 20,
scale: 2,
})
balance_remaining: number;
@Column()