- Migration 045: fiscal_mode + dto_port columns on workstation_devices - Backend: pass fiscal_mode/dto_port to agent in test_device command - Agent atol.ts: remove global DTO singleton, accept dtoPort per function call - Agent test_device: returns real KKT info (model, serial, FN, shift status) - Equipment page: fiscal/non-fiscal toggle + DTO port field when adding KKT - Equipment page: show fiscal mode badge on device card, DTO port if non-default - Equipment page: KKT test result shows model, serial, FN, shift status Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 lines
207 B
SQL
5 lines
207 B
SQL
-- KKT fiscal mode and DTO port per device
|
|
ALTER TABLE workstation_devices
|
|
ADD COLUMN IF NOT EXISTS fiscal_mode BOOLEAN NOT NULL DEFAULT true,
|
|
ADD COLUMN IF NOT EXISTS dto_port INTEGER DEFAULT 16732;
|