fix(db): lastRead column was named incorrectly

This commit is contained in:
2025-07-10 20:06:05 -05:00
parent 97c6631eab
commit 1a6a05112b

View File

@@ -16,7 +16,7 @@ export const rfidTags = pgTable(
rfidTag_id: uuid("rfidTag_id").defaultRandom().primaryKey(),
tagHex: text("tagHex"),
tag: text("tag"),
lastRead: timestamp("timeStamp").defaultNow(),
lastRead: timestamp("lastRead").defaultNow(), // cahnge this and hope we dont loose the data.
counts: jsonb("counts").default([]), // example [{area: Line3.2, count: 1}, {area: line3.1, count: 6}]
lastareaIn: text("lastareaIn").notNull(),
runningNumber: integer("runningNumber"),