323e66433e
Most changes are `implements` being unwrapped this is not a oxfmt regression Prettier in 3.7 (we're on 3.1) changed this behaviour prettier blog [post](https://prettier.io/blog/2025/11/27/3.7.0#change-18094) This unifies our linting tooling --------- Co-authored-by: github-actions <github-actions@twenty.com> Co-authored-by: Charles Bochet <charles@twenty.com>
20 lines
798 B
TypeScript
20 lines
798 B
TypeScript
import { QueryRunner } from 'typeorm';
|
|
|
|
import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';
|
|
import { FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';
|
|
|
|
@RegisteredInstanceCommand('2.1.0', 1777012800000)
|
|
export class AddProviderExecutedToAgentMessagePartFastInstanceCommand implements FastInstanceCommand {
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(
|
|
'ALTER TABLE "core"."agentMessagePart" ADD "providerExecuted" boolean',
|
|
);
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(
|
|
'ALTER TABLE "core"."agentMessagePart" DROP COLUMN "providerExecuted"',
|
|
);
|
|
}
|
|
}
|