refactor(printers): added in processes for the upcoming reprint function
This commit is contained in:
2166
database/migrations/meta/0067_snapshot.json
Normal file
2166
database/migrations/meta/0067_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -470,6 +470,13 @@
|
|||||||
"when": 1749671243377,
|
"when": 1749671243377,
|
||||||
"tag": "0066_nosy_dark_beast",
|
"tag": "0066_nosy_dark_beast",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 67,
|
||||||
|
"version": "7",
|
||||||
|
"when": 1749744049457,
|
||||||
|
"tag": "0067_shallow_trish_tilby",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -7,6 +7,7 @@ import {
|
|||||||
boolean,
|
boolean,
|
||||||
uuid,
|
uuid,
|
||||||
uniqueIndex,
|
uniqueIndex,
|
||||||
|
jsonb,
|
||||||
} from "drizzle-orm/pg-core";
|
} from "drizzle-orm/pg-core";
|
||||||
import { createInsertSchema, createSelectSchema } from "drizzle-zod";
|
import { createInsertSchema, createSelectSchema } from "drizzle-zod";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
@@ -26,6 +27,7 @@ export const printerData = pgTable(
|
|||||||
remark: text("remark"),
|
remark: text("remark"),
|
||||||
printDelay: numeric("printDelay").default("90"),
|
printDelay: numeric("printDelay").default("90"),
|
||||||
monitorState: boolean("monitorState").default(false),
|
monitorState: boolean("monitorState").default(false),
|
||||||
|
processes: jsonb("processes").default([]),
|
||||||
add_Date: timestamp("add_Date").defaultNow(),
|
add_Date: timestamp("add_Date").defaultNow(),
|
||||||
upd_date: timestamp("upd_date").defaultNow(),
|
upd_date: timestamp("upd_date").defaultNow(),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user