forked from jappel/leistungsbilanz-ts
Isolate legacy migration transactions
This commit is contained in:
parent
9be94028b3
commit
4d5eb22e66
5 changed files with 180 additions and 127 deletions
|
|
@ -34,7 +34,10 @@ export class LegacyConsumerMigrationService {
|
|||
private readonly circuitRepository = new CircuitRepository();
|
||||
private readonly consumerRepository = new ConsumerRepository();
|
||||
private readonly roomRepository = new RoomRepository();
|
||||
private readonly migrationRepository = new LegacyConsumerMigrationRepository();
|
||||
|
||||
constructor(
|
||||
private readonly migrationRepository: LegacyConsumerMigrationRepository
|
||||
) {}
|
||||
|
||||
async migrateCircuitList(projectId: string, circuitListId: string): Promise<LegacyMigrationReport> {
|
||||
// Migration is additive: legacy consumers are preserved, and circuit-first entities are created
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue