refactor(core): Move DbConnection to @n8n/db (#16616)

This commit is contained in:
Iván Ovejero
2025-06-24 12:33:01 +02:00
committed by GitHub
parent 88af45f71a
commit 21ff173070
43 changed files with 98 additions and 86 deletions

View File

@@ -9,6 +9,7 @@ import {
} from '@n8n/backend-common';
import { GlobalConfig } from '@n8n/config';
import { LICENSE_FEATURES } from '@n8n/constants';
import { DbConnection } from '@n8n/db';
import { Container } from '@n8n/di';
import { Command, Errors } from '@oclif/core';
import {
@@ -25,7 +26,6 @@ import type { AbstractServer } from '@/abstract-server';
import config from '@/config';
import { N8N_VERSION, N8N_RELEASE_DATE } from '@/constants';
import * as CrashJournal from '@/crash-journal';
import { DbConnection } from '@/databases/db-connection';
import { getDataDeduplicationService } from '@/deduplication';
import { DeprecationService } from '@/deprecation/deprecation.service';
import { TestRunCleanupService } from '@/evaluation.ee/test-runner/test-run-cleanup.service.ee';