inspection fetch

This commit is contained in:
Julian Krauser 2025-07-09 12:57:37 +02:00
parent a0a8edf7af
commit 95b6cec66d
6 changed files with 189 additions and 21 deletions

View file

@ -94,6 +94,7 @@ export const inspection_table = new Table({
{ name: "createdAt", ...getTypeByORM("datetime"), default: getDefaultByORM("currentTimestamp") },
{ name: "finishedAt", ...getTypeByORM("date", true) },
{ name: "nextInspection", ...getTypeByORM("date", true) },
{ name: "hasNewer", ...getTypeByORM("boolean"), default: getDefaultByORM("boolean", false) },
{ name: "inspectionPlanId", ...getTypeByORM("uuid") },
{ name: "inspectionVersionedPlanId", ...getTypeByORM("uuid") },
{ name: "equipmentId", ...getTypeByORM("uuid", true) },