Network map sql update + fix for duplicate links

This commit is contained in:
laf
2015-07-15 20:09:20 +01:00
parent 94e4a075fc
commit 4c39421787
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
ALTER TABLE `ipv4_mac` CHANGE `mac_address` `mac_address` VARCHAR( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , CHANGE `ipv4_address` `ipv4_address` VARCHAR( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
ALTER TABLE `ipv4_mac` ADD INDEX ( `port_id`), ADD INDEX (`mac_address` )
ALTER TABLE `ipv4_mac` DROP INDEX `interface_id`, DROP INDEX `interface_id_2`