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
This commit is contained in:
michaelschal committed 2025-07-11 18:28:15 +00:00
1 parent 2265ddcf0a
commit bfdb9cf1fa
1 file changed
+3 -3
+3 -3
View File
@@ -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