diff --git a/packages/backend/src/entity/Project.ts b/packages/backend/src/entity/Project.ts index 8b5f424a..f4f14394 100644 --- a/packages/backend/src/entity/Project.ts +++ b/packages/backend/src/entity/Project.ts @@ -49,7 +49,7 @@ export class Project { @Column('varchar', { nullable: true }) auctionId?: string | null; - @Column('varchar', { nullable: true }) + @Column({ type: 'simple-array', nullable: true }) deployerLrn?: string[] | null; // TODO: Compute template & framework in import repository diff --git a/packages/backend/src/service.ts b/packages/backend/src/service.ts index dc0a91f5..02fd004a 100644 --- a/packages/backend/src/service.ts +++ b/packages/backend/src/service.ts @@ -718,7 +718,7 @@ export class Service { const applicationRecordId = record.id; const applicationRecordData = record.attributes; - for (const deployer in deployerLrns) { + for (const deployer of deployerLrns) { // Create deployment with prod branch and latest commit const deploymentData = { project,