Serverless built updates (#17351)

follow up of https://github.com/twentyhq/twenty/pull/17317
This commit is contained in:
martmull
2026-01-22 15:04:29 +00:00
committed by GitHub
parent 7fcc43f96b
commit a68e05682b
24 changed files with 194 additions and 159 deletions
@@ -0,0 +1,19 @@
import { type MigrationInterface, type QueryRunner } from 'typeorm';
export class RenameHandlerPathToSourceHandlerPath1769091641000
implements MigrationInterface
{
name = 'RenameHandlerPathToSourceHandlerPath1769091641000';
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`ALTER TABLE "core"."serverlessFunction" RENAME COLUMN "handlerPath" TO "sourceHandlerPath"`,
);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`ALTER TABLE "core"."serverlessFunction" RENAME COLUMN "sourceHandlerPath" TO "handlerPath"`,
);
}
}