From 44ee2c7143061730235692d411aebccc604fb701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Thu, 8 Feb 2024 15:13:29 +0100 Subject: [PATCH] feat(core): Migrate to n8n's typeorm fork (#8590) --- .../src/PublicApi/v1/handlers/workflows/workflows.handler.ts | 2 +- packages/cli/src/databases/repositories/user.repository.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/PublicApi/v1/handlers/workflows/workflows.handler.ts b/packages/cli/src/PublicApi/v1/handlers/workflows/workflows.handler.ts index afb3d588e3261d..5610e3fc4f4cf5 100644 --- a/packages/cli/src/PublicApi/v1/handlers/workflows/workflows.handler.ts +++ b/packages/cli/src/PublicApi/v1/handlers/workflows/workflows.handler.ts @@ -2,7 +2,7 @@ import type express from 'express'; import { Container } from 'typedi'; import type { FindOptionsWhere } from '@n8n/typeorm'; -import { In, Like, QueryFailedError } from '@n8n/typeorm'; +import { In, Like, Like, QueryFailedError } from '@n8n/typeorm'; import { v4 as uuid } from 'uuid'; import { ActiveWorkflowRunner } from '@/ActiveWorkflowRunner'; diff --git a/packages/cli/src/databases/repositories/user.repository.ts b/packages/cli/src/databases/repositories/user.repository.ts index ffea9490582052..9d97d9b2fe3cdc 100644 --- a/packages/cli/src/databases/repositories/user.repository.ts +++ b/packages/cli/src/databases/repositories/user.repository.ts @@ -6,6 +6,7 @@ import type { ListQuery } from '@/requests'; import { type GlobalRole, User } from '../entities/User'; import { Project } from '../entities/Project'; import { ProjectRelation } from '../entities/ProjectRelation'; + @Service() export class UserRepository extends Repository { constructor(dataSource: DataSource) {