From 1a6a05112b869358b3f2e87e688670ab95eb27a7 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Thu, 10 Jul 2025 20:06:05 -0500 Subject: [PATCH] fix(db): lastRead column was named incorrectly --- database/schema/rfidTags.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/schema/rfidTags.ts b/database/schema/rfidTags.ts index 788e425..e8c6904 100644 --- a/database/schema/rfidTags.ts +++ b/database/schema/rfidTags.ts @@ -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"),