Neue Features: - Kabelverbindungen zwischen Anlagen-Elementen dokumentieren - Visuelle Baum-Darstellung mit parallelen vertikalen Linien - Jedes Element mit eigenem Kabel bekommt eigene Linie - Horizontale Verbindungslinien zum Element - Automatische Abstände zwischen Kabel-Gruppen - Kabeltypen (Medium Types) verwalten - Gebäude-Typen für Anlagen-Struktur - Tree-Display-Konfiguration pro System - Audit-Log für Änderungsverfolgung Verbesserungen: - Erste Kabel-Linie rechts, letzte links (korrekte Reihenfolge) - Horizontale Linien enden am Element-Rand - Spacer-Zeilen für bessere Übersichtlichkeit - BOM-Generator für Stücklisten (Prototyp) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
846 B
SQL
Executable file
24 lines
846 B
SQL
Executable file
-- ============================================================================
|
|
-- Copyright (C) 2026 Alles Watt lauft
|
|
--
|
|
-- Dictionary table for installation system categories
|
|
-- ============================================================================
|
|
|
|
CREATE TABLE llx_c_kundenkarte_anlage_system
|
|
(
|
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
|
entity integer DEFAULT 0 NOT NULL,
|
|
|
|
code varchar(32) NOT NULL,
|
|
label varchar(128) NOT NULL,
|
|
description text,
|
|
|
|
picto varchar(64),
|
|
color varchar(8),
|
|
|
|
-- Tree display configuration (JSON)
|
|
tree_display_config text COMMENT 'JSON config for tree display options',
|
|
|
|
position integer DEFAULT 0,
|
|
active tinyint DEFAULT 1 NOT NULL
|
|
) ENGINE=innodb;
|