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();

View File

@@ -0,0 +1 @@
ALTER TABLE "scan_log" ADD COLUMN "running_number" text DEFAULT '0';

File diff suppressed because it is too large Load Diff

View File

@@ -330,6 +330,13 @@
"when": 1778059910210,
"tag": "0046_chemical_the_leader",
"breakpoints": true
},
{
"idx": 47,
"version": "7",
"when": 1778068577325,
"tag": "0047_spotty_queen_noir",
"breakpoints": true
}
]
}