refactor(f4): remove inspection legacy persistence shim
This commit is contained in:
@@ -318,9 +318,6 @@ export class InspectionVisitsService {
|
||||
const code = await nextInspectionVisitCode(manager, plannedStartAt);
|
||||
const visit = manager.getRepository(InspectionVisit).create({
|
||||
code,
|
||||
// Compatibilidad de persistencia temporal: estas dos columnas legacy se
|
||||
// conservan hasta eliminar sus últimas lecturas históricas del repositorio.
|
||||
title: code,
|
||||
objective: null,
|
||||
status: InspectionVisitStatus.DRAFT,
|
||||
scopeAssetId: operationalAreaId,
|
||||
@@ -328,7 +325,6 @@ export class InspectionVisitsService {
|
||||
operatorCompanyId,
|
||||
leadInspectorUserId: dto.leadInspectorUserId,
|
||||
plannedStartAt,
|
||||
plannedEndAt: null,
|
||||
actualStartedAt: null,
|
||||
actualClosedAt: null,
|
||||
instructions: null,
|
||||
|
||||
Reference in New Issue
Block a user