Record cut layers and marker references

This commit is contained in:
Cauê Faleiros
2026-08-27 10:56:11 -03:00
parent 791246c55e
commit 886969cce0
4 changed files with 35 additions and 5 deletions

View File

@@ -647,7 +647,9 @@ const initDB = async () => {
ADD COLUMN IF NOT EXISTS actual_cut_quantity NUMERIC(14, 4),
ADD COLUMN IF NOT EXISTS rejected_quantity NUMERIC(14, 4) NOT NULL DEFAULT 0,
ADD COLUMN IF NOT EXISTS finished_quantity NUMERIC(14, 4),
ADD COLUMN IF NOT EXISTS quality_notes TEXT;
ADD COLUMN IF NOT EXISTS quality_notes TEXT,
ADD COLUMN IF NOT EXISTS cut_layers INTEGER,
ADD COLUMN IF NOT EXISTS marker_reference VARCHAR(160);
`).catch(() => {});
await pool.query(`