refactor(scanner): added in running number

This commit is contained in:
2026-05-06 12:09:09 -05:00
parent 8c253a90b6
commit a38e2e0339
5 changed files with 2167 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ export const scanLog = pgTable("scan_log", {
message: text("message").notNull(),
prompt: text("prompt"),
commandDescription: text("command_description"),
runningNumber: text("running_number").default("0"),
status: text("status"),
lines: jsonb("lines").default([]),
add_Date: timestamp("add_Date").defaultNow(),

View File

@@ -18,6 +18,8 @@ router.post("/", async (req, res) => {
commandDescription: body.commandDescription,
status: body.status,
lines: body.lines,
user: body.user,
runningNumber: body.runningNumber,
})
.returning();