refactor(printers): added in processes for the upcoming reprint function

This commit is contained in:
2025-06-12 21:08:38 -05:00
parent 4f5d5faecb
commit 1cb285bea8
3 changed files with 2175 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import {
boolean,
uuid,
uniqueIndex,
jsonb,
} from "drizzle-orm/pg-core";
import { createInsertSchema, createSelectSchema } from "drizzle-zod";
import { z } from "zod";
@@ -26,6 +27,7 @@ export const printerData = pgTable(
remark: text("remark"),
printDelay: numeric("printDelay").default("90"),
monitorState: boolean("monitorState").default(false),
processes: jsonb("processes").default([]),
add_Date: timestamp("add_Date").defaultNow(),
upd_date: timestamp("upd_date").defaultNow(),
},