Some checks are pending
Deploy netdiag / deploy (push) Waiting to run
Netzwerk-Diagnose-Modul mit JSON-API für die NetDiag-App: - 3 Tabellen (protocol/device/measurement), generisches JSON-result - JSON-API: auth, customers, orders, protocols (idempotenter Sync), pdf - JWT-Auth (HS256), CORS für die Capacitor-App - Tabs an Thirdparty + Auftrag, Protokoll-Card, PDF-Generator - QR-Code zum App-Download in der Modul-Konfiguration - de_DE + en_US, Rechtesystem netdiag->protocol read/write/delete Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
25 lines
1,007 B
SQL
25 lines
1,007 B
SQL
-- Copyright (C) 2026 Eduard Wisch <data@data-it-solution.de>
|
|
--
|
|
-- This program is free software; you can redistribute it and/or modify
|
|
-- it under the terms of the GNU General Public License as published by
|
|
-- the Free Software Foundation; either version 3 of the License, or
|
|
-- (at your option) any later version.
|
|
--
|
|
-- Tabelle: ein Tool-Lauf (Messung) innerhalb eines Diagnose-Protokolls.
|
|
-- params/result sind generisches JSON -> neue Tools brauchen kein Schema-Update.
|
|
|
|
CREATE TABLE llx_netdiag_measurement(
|
|
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
|
entity integer DEFAULT 1 NOT NULL,
|
|
fk_protocol integer NOT NULL,
|
|
fk_device integer,
|
|
tool varchar(64) NOT NULL,
|
|
category varchar(32),
|
|
label varchar(255),
|
|
params text,
|
|
result longtext,
|
|
measure_status smallint DEFAULT 0 NOT NULL,
|
|
date_measure datetime,
|
|
date_creation datetime NOT NULL,
|
|
tms timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL
|
|
) ENGINE=innodb;
|