Webgui fixed cables and fuses, parts of code reorganized

This commit is contained in:
thooge committed 2026-10-25 09:03:24 +01:00
1 parent 9d09b1e120
commit 5641e1706f
25 files changed
+497 -427

No files matched your search

+2 -1
View File
@@ -296,7 +296,7 @@ CREATE TABLE cable (
ON DELETE RESTRICT
) ENGINE=InnoDB;
CREATE table fuse (
CREATE TABLE fuse (
fuseid smallint(6) UNSIGNED NOT NULL AUTO_INCREMENT,
vid smallint(6) NOT NULL DEFAULT 1,
fnumber smallint(6) NOT NULL,
@@ -306,6 +306,7 @@ CREATE table fuse (
eid smallint(6) UNSIGNED DEFAULT NULL,
location tinyint(3) DEFAULT 0, -- from dropdown id 10
description varchar(60) DEFAULT NULL,
color char(6) DEFAULT NULL,
remarks varchar(150) DEFAULT NULL,
PRIMARY KEY (fuseid),
UNIQUE INDEX ix_fusenumber (vid, fnumber),