ALTER TABLE `sensors` CHANGE `sensor_class` `sensor_class` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, CHANGE `poller_type` `poller_type` ENUM('snmp','agent','ipmi') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'snmp', CHANGE `sensor_mib` `sensor_mib` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL, CHANGE `sensor_object` `sensor_object` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL, CHANGE `sensor_type` `sensor_type` VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL, CHANGE `sensor_unit` `sensor_unit` VARCHAR(16) CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `entPhysicalIndex_measured` `entPhysicalIndex_measured` VARCHAR(16) CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `measured_class` `measured_class` ENUM('port','outlet','printersupply') CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `sensor_event` `sensor_event` ENUM('ok','warning','alert','ignore') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'ignore';
ALTER TABLE `status` CHANGE `poller_type` `poller_type` ENUM('snmp','agent','ipmi') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'snmp', CHANGE `status_mib` `status_mib` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `status_object` `status_object` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL, CHANGE `status_type` `status_type` VARCHAR(255) CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL, CHANGE `entPhysicalIndex_measured` `entPhysicalIndex_measured` VARCHAR(16) CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `measured_class` `measured_class` ENUM('port','outlet','printersupply') CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `measured_entity` `measured_entity` VARCHAR(32) CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `status_event` `status_event` ENUM('ok','warning','alert','ignore') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'ignore';
ALTER TABLE `counters` CHANGE `poller_type` `poller_type` ENUM('snmp','agent','ipmi') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'snmp', CHANGE `counter_class` `counter_class` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, CHANGE `counter_mib` `counter_mib` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `counter_object` `counter_object` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL, CHANGE `measured_class` `measured_class` ENUM('port','outlet','printersupply') CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `counter_event` `counter_event` ENUM('ok','warning','alert','ignore') CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT 'ignore';
ALTER TABLE `printersupplies` CHANGE `supply_index` `supply_index` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, CHANGE `supply_mib` `supply_mib` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, CHANGE `supply_oid` `supply_oid` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, CHANGE `supply_capacity_oid` `supply_capacity_oid` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL;
ALTER TABLE `processors` CHANGE `processor_oid` `processor_oid` VARCHAR(128) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, CHANGE `processor_index` `processor_index` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, CHANGE `processor_type` `processor_type` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL;
ALTER TABLE `storage` CHANGE `storage_mib` `storage_mib` VARCHAR(64) CHARACTER SET latin1 COLLATE latin1_general_ci NULL DEFAULT NULL, CHANGE `storage_type` `storage_type` VARCHAR(32) CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL;
ALTER TABLE `devices_mibs` CHANGE `object` `object` TEXT CHARACTER SET latin1 COLLATE latin1_general_cs NULL DEFAULT NULL COMMENT 'Table or Object or Numeric. Latin charset for 1byte chars!';
