Add stock management for out-of-stock products and update deployment scripts

Implement new fields in the database and update deployment scripts to include a feature for managing out-of-stock products.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/JKfj3tT
This commit is contained in:
michaelschal committed 2025-08-18 09:14:12 +00:00
1 parent 4881833925
commit a4931ce1cd
4 files changed
+212

No files matched your search

+3
View File
@@ -186,6 +186,9 @@ CREATE TABLE "dlc_products" (
"alert_threshold" integer DEFAULT 3 NOT NULL,
"validated_at" timestamp,
"validated_by" varchar(255),
"stock_epuise" boolean DEFAULT false NOT NULL,
"stock_epuise_by" varchar(255),
"stock_epuise_at" timestamp,
"group_id" integer NOT NULL,
"created_by" varchar(255) NOT NULL,
"created_at" timestamp DEFAULT now() NOT NULL,