mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-17 20:27:10 +02:00
Update product naming convention for DLC items
Rename `productName` to `name` in `dlcProducts` schema and map `productName` to `name` in `DlcPage.tsx` for database compatibility. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/62NL8Ye
This commit is contained in:
1 parent
0a328c147e
commit
21ca1a32eb
3 files changed
+7
-5
No files matched your search
+2
-1
@@ -233,7 +233,8 @@ export const customerOrders = pgTable("customer_orders", {
|
||||
// DLC Products (Date Limite de Consommation)
|
||||
export const dlcProducts = pgTable("dlc_products", {
|
||||
id: serial("id").primaryKey(),
|
||||
productName: varchar("product_name").notNull(), // Nom du produit
|
||||
name: varchar("name").notNull(), // Nom du produit (requis dans la base de données)
|
||||
productName: varchar("product_name"), // Nom du produit (champ alternatif)
|
||||
gencode: varchar("gencode"), // Code-barres/gencode EAN13 (optionnel)
|
||||
supplierId: integer("supplier_id").notNull(), // ID du fournisseur
|
||||
groupId: integer("group_id").notNull(), // ID du magasin/groupe
|
||||
|
||||
Reference in new issue
Block a user