AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { MigrationInterface, QueryRunner } from 'typeorm'
export class AddJobIdToTriggerRun1754510611628 implements MigrationInterface {
name = 'AddJobIdToTriggerRun1754510611628'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
TRUNCATE TABLE "trigger_run"
`)
await queryRunner.query(`
ALTER TABLE "trigger_run"
ADD "jobId" character varying NOT NULL
`)
await queryRunner.query(`
CREATE UNIQUE INDEX "idx_trigger_run_job_id" ON "trigger_run" ("jobId")
`)
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
DROP INDEX "idx_trigger_run_job_id"
`)
await queryRunner.query(`
ALTER TABLE "trigger_run" DROP COLUMN "jobId"
`)
}
}