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

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 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() @IsInt()
@IsPositive()
amount: number; amount: number;
} }