From bfdb9cf1fa14b5538830da619a9d14f480b9b6c2 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Fri, 11 Jul 2025 18:28:15 +0000 Subject: [PATCH] Update database schema to ensure consistency in data storage Standardize naming conventions for photo fields in the sales table schema using Drizzle ORM. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/e8963daf-6ce4-40c7-aab9-e1134317a31e.jpg --- shared/schema.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/schema.ts b/shared/schema.ts index 0f2947b..72d2199 100644 --- a/shared/schema.ts +++ b/shared/schema.ts @@ -81,9 +81,9 @@ export const sales = pgTable("sales", { dateDelivrance: varchar("date_delivrance", { length: 10 }).notNull(), // Photos - photoRecto: text("photo_recto"), - photoVerso: text("photo_verso"), - photoTicket: text("photo_ticket"), + photo_recto: text("photo_recto"), + photo_verso: text("photo_verso"), + photo_ticket: text("photo_ticket"), }); // Relations