Updated DB asset schema

Fixed URL in host details
This commit is contained in:
Luca Deri 2025-03-27 19:36:56 +01:00
parent 486dc0e33e
commit cb03021f4e
4 changed files with 23 additions and 5 deletions

View file

@ -459,9 +459,14 @@ manufacturer TEXT NULL,
first_seen DATETIME NOT NULL DEFAULT 0,
last_seen DATETIME NOT NULL DEFAULT 0,
gateway_mac TEXT NULL,
json_info TEXT NULL -- A json containing all other info
json_info TEXT NULL, -- A json containing all other info
os_type TEXT NULL,
model TEXT NULL
);
@
ALTER TABLE assets ADD os_type TEXT NULL;
@
ALTER TABLE assets ADD model TEXT NULL;
@
-- -----------------------------------------------------