srv/poe_manager/create_db.py aktualisiert

This commit is contained in:
2025-09-30 19:11:09 +02:00
parent 0c82ce6100
commit bc80b5fcf1

View File

@@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS devices (
switch_hostname TEXT NOT NULL, switch_hostname TEXT NOT NULL,
port TEXT NOT NULL, port TEXT NOT NULL,
name TEXT NOT NULL, name TEXT NOT NULL,
is_active INTEGER DEFAULT 0 is_active INTEGER DEFAULT 0,
FOREIGN KEY (switch_hostname) REFERENCES switches(hostname) FOREIGN KEY (switch_hostname) REFERENCES switches(hostname)
); );
""") """)