From daea0568a8da9dd661779510ab328175d6f790f2 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Tue, 1 Dec 2020 17:45:59 +0100 Subject: [PATCH] Amount no longer is a column by default --- src/models/Donation.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/Donation.ts b/src/models/Donation.ts index 82897c8..3ccdafc 100644 --- a/src/models/Donation.ts +++ b/src/models/Donation.ts @@ -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; } \ No newline at end of file