Added code to rediscovery links and include device ids

This commit is contained in:
laf
2015-03-28 14:05:40 +00:00
parent 808e9ea7f2
commit 8f5d6e8a94
3 changed files with 13 additions and 6 deletions

2
sql-schema/044.sql Normal file
View File

@@ -0,0 +1,2 @@
ALTER TABLE `links` ADD `local_device_id` INT NOT NULL AFTER `local_port_id` , ADD `remote_device_id` INT NOT NULL AFTER `remote_hostname` ;
ALTER TABLE `links` ADD INDEX ( `local_device_id` , `remote_device_id` ) ;