Skip to content

Commit

Permalink
Merge pull request #3356 from activepieces/fix/install-piece
Browse files Browse the repository at this point in the history
fix: install piece in platform level
  • Loading branch information
abuaboud committed Dec 5, 2023
2 parents 169d9f7 + f1b6911 commit c2a8694
Show file tree
Hide file tree
Showing 28 changed files with 510 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ const engineValidateAuth = async (
pieceType: pieceMetadata.pieceType,
pieceName: pieceMetadata.name,
pieceVersion: pieceMetadata.version,
projectId,
},
auth,
projectId,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { MigrationInterface, QueryRunner } from 'typeorm'

export class AddPlatformIdToFile1701807681821 implements MigrationInterface {
name = 'AddPlatformIdToFile1701807681821'

public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
ALTER TABLE "file"
ADD "platformId" character varying(21)
`)
}

public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
ALTER TABLE "file" DROP COLUMN "platformId"
`)
}

}
Loading

0 comments on commit c2a8694

Please sign in to comment.