Skip to content

Commit

Permalink
Merge branch 'activepieces:main' into apitraffic/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonfill authored Jan 6, 2025
2 parents 8c2414f + 44e3433 commit aaa9203
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.0'
services:
activepieces:
image: ghcr.io/activepieces/activepieces:0.38.5
image: ghcr.io/activepieces/activepieces:0.38.6
container_name: activepieces
restart: unless-stopped
## Enable the following line if you already use AP_EXECUTION_MODE with SANDBOXED or old activepieces, checking the breaking change documentation for more info.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "activepieces",
"version": "0.38.5",
"version": "0.38.6",
"rcVersion": "0.39.0-rc.0",
"scripts": {
"prepare": "husky install",
Expand Down
6 changes: 4 additions & 2 deletions packages/react-ui/src/components/custom/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ const Container = ({
)}
</>
)}
<AlertDescription className='flex-grow w-full'>{children}</AlertDescription>
<AlertDescription className="flex-grow w-full">
{children}
</AlertDescription>
</Alert>
);
};
Expand Down Expand Up @@ -90,7 +92,7 @@ const ApMarkdown = React.memo(
return (
<Container variant={variant}>
<ReactMarkdown
className='flex-grow w-full'
className="flex-grow w-full"
remarkPlugins={[gfm]}
components={{
code(props) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,25 @@ export class AddExternalIdForFlow1735262417593 implements MigrationInterface {
`, [sourceId, key])
}
}
}

await queryRunner.query(`
await queryRunner.query(`
ALTER TABLE "git_repo" DROP COLUMN "mapping"
`)
}
}

public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
ALTER TABLE "flow" DROP COLUMN "externalId"
`)
await queryRunner.query(`
ALTER TABLE "git_repo"
ADD "mapping" jsonb
`)

// Only add the mapping column if the git_repo table exists
const hasGitRepoTable = await queryRunner.hasTable('git_repo')
if (hasGitRepoTable) {
await queryRunner.query(`
ALTER TABLE "git_repo"
ADD "mapping" jsonb
`)
}
}
}

0 comments on commit aaa9203

Please sign in to comment.