srv/poe_manager/create_db.py aktualisiert
This commit is contained in:
@@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS devices (
|
||||
switch_hostname TEXT NOT NULL,
|
||||
port TEXT NOT NULL,
|
||||
name TEXT NOT NULL,
|
||||
is_active INTEGER DEFAULT 0
|
||||
is_active INTEGER DEFAULT 0,
|
||||
FOREIGN KEY (switch_hostname) REFERENCES switches(hostname)
|
||||
);
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user