Amount no longer is a column by default
This commit is contained in:
parent
b632c09924
commit
daea0568a8
|
@ -29,9 +29,8 @@ export abstract class Donation {
|
|||
|
||||
/**
|
||||
* The donation's amount in cents (or whatever your currency's smallest unit is.).
|
||||
* The exact implementation may differ for each type of donation.
|
||||
*/
|
||||
@Column()
|
||||
@IsInt()
|
||||
@IsPositive()
|
||||
amount: number;
|
||||
}
|
Loading…
Reference in New Issue