Files
netdisco/share/schema_versions/App-Netdisco-DB-83-84-PostgreSQL.sql
Oliver Gorwits e52f789b45 #1009 neighbour map depth and/or until end of lldp chains
* sidebar and style changes

* switch server code to new params and values

* working algo for cloud and neighbor depth

* store map positions for lldp cloud with depth

* color the root node uniquely

* restrict all devices, depth, cloud map to < 1000 devices
2023-11-09 19:54:34 +00:00

8 lines
158 B
PL/PgSQL

BEGIN;
ALTER TABLE netmap_positions ADD COLUMN "depth" integer DEFAULT 0 NOT NULL;
UPDATE netmap_positions SET depth = 0 WHERE device IS NOT NULL;
COMMIT;