fix(database): corrected spelling in the silo adjustment id

This commit is contained in:
2025-04-07 06:57:37 -05:00
parent 17ed18669a
commit b589bf9724
4 changed files with 1583 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE "siloAdjustments" RENAME COLUMN "lsiloAdjust_id" TO "siloAdjust_id";--> statement-breakpoint
ALTER TABLE "printerData" ALTER COLUMN "printDelay" SET DEFAULT '90';

File diff suppressed because it is too large Load Diff

View File

@@ -337,6 +337,13 @@
"when": 1743822056329, "when": 1743822056329,
"tag": "0047_silky_starbolt", "tag": "0047_silky_starbolt",
"breakpoints": true "breakpoints": true
},
{
"idx": 48,
"version": "7",
"when": 1743946411873,
"tag": "0048_tearful_bushwacker",
"breakpoints": true
} }
] ]
} }

View File

@@ -12,7 +12,7 @@ import { z } from "zod";
export const siloAdjustments = pgTable( export const siloAdjustments = pgTable(
"siloAdjustments", "siloAdjustments",
{ {
siloAdjust_id: uuid("lsiloAdjust_id").defaultRandom().primaryKey(), siloAdjust_id: uuid("siloAdjust_id").defaultRandom().primaryKey(),
warehouseID: integer("level"), warehouseID: integer("level"),
locationID: integer("locationID"), locationID: integer("locationID"),
currentStockLevel: numeric("currentStockLevel"), currentStockLevel: numeric("currentStockLevel"),