Amount no longer is a column by default

This commit is contained in:
Nicolai Ort 2020-12-01 17:45:59 +01:00
parent b632c09924
commit daea0568a8
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}