From e16bfc4947bbffb0c238a2de49b34e9e3527575d Mon Sep 17 00:00:00 2001 From: ali Date: Wed, 18 Dec 2024 02:09:04 +0330 Subject: [PATCH] add matching funds field to the project table --- src/entities/project.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/entities/project.ts b/src/entities/project.ts index eb685dc7b..b146fa228 100644 --- a/src/entities/project.ts +++ b/src/entities/project.ts @@ -468,6 +468,10 @@ export class Project extends BaseEntity { @Column('integer', { array: true, default: [] }) batchNumbersWithSafeTransactions?: number[]; + @Field(_type => Int, { nullable: true }) + @Column({ type: 'int', nullable: true }) + matchingFunds?: number; + // only projects with status active can be listed automatically static pendingReviewSince(maximumDaysForListing: number) { const maxDaysForListing = moment()