The solution is simple.
change the next
CREATE TABLE snmp_storages (
ID INTEGER NOT NULL AUTO_INCREMENT DEFAULT NULL,
SNMP_ID INTEGER DEFAULT NULL,
DESCRIPTION VARCHAR(255) DEFAULT NULL,
MANUFACTURER VARCHAR(255) DEFAULT NULL,
NAME VARCHAR(255) DEFAULT NULL,
MODEL VARCHAR(255) DEFAULT NULL,
DISKSIZE INTEGER DEFAULT NULL,
TYPE VARCHAR(255) DEFAULT NULL,
SERIALNUMBER VARCHAR(255) DEFAULT NULL,
FIRMWARE VARCHAR(255) DEFAULT NULL,
UNIQUE (ID, SNMP_ID)
) DEFAULT CHARSET=UTF8;
CREATE TABLE snmp_powersupplies (
ID INTEGER NOT NULL AUTO_INCREMENT,
SNMP_ID INTEGER DEFAULT NULL,
MANUFACTURER VARCHAR(255) DEFAULT NULL,
REFERENCE VARCHAR(255) DEFAULT NULL,
TYPE VARCHAR(255) DEFAULT NULL,
SERIALNUMBER VARCHAR(255) DEFAULT NULL,
DESCRIPTION VARCHAR(255) DEFAULT NULL,
REVISION VARCHAR(255) DEFAULT NULL,
UNIQUE (ID, SNMP_ID)
) DEFAULT CHARSET=UTF8;