feat(core): Migrate to n8n's typeorm fork (#8590)
This commit is contained in:
committed by
GitHub
parent
a822588012
commit
8e392cfc1d
@@ -1,6 +1,6 @@
|
||||
import type { WorkflowEntity } from '@db/entities/WorkflowEntity';
|
||||
import type { CredentialsEntity } from '@db/entities/CredentialsEntity';
|
||||
import { getMetadataArgsStorage } from 'typeorm';
|
||||
import { getMetadataArgsStorage } from '@n8n/typeorm';
|
||||
|
||||
export const disableAutoGeneratedIds = (
|
||||
entityClass: typeof WorkflowEntity | typeof CredentialsEntity,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Container } from 'typedi';
|
||||
import { readFileSync, rmSync } from 'fs';
|
||||
import { InstanceSettings } from 'n8n-core';
|
||||
import type { ObjectLiteral } from 'typeorm';
|
||||
import type { QueryRunner } from 'typeorm/query-runner/QueryRunner';
|
||||
import type { ObjectLiteral } from '@n8n/typeorm';
|
||||
import type { QueryRunner } from '@n8n/typeorm/query-runner/QueryRunner';
|
||||
import { ApplicationError, jsonParse } from 'n8n-workflow';
|
||||
import config from '@/config';
|
||||
import { inTest } from '@/constants';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { jsonParse } from 'n8n-workflow';
|
||||
import type { ValueTransformer, FindOperator } from 'typeorm';
|
||||
import type { ValueTransformer, FindOperator } from '@n8n/typeorm';
|
||||
import config from '@/config';
|
||||
|
||||
export const idStringifier = {
|
||||
|
||||
Reference in New Issue
Block a user