anchor.diff:  CREATE TABLE `kagent_commands` (
     `id` INT(11) NOT NULL AUTO_INCREMENT,
     `json_command` VARCHAR(1024) NOT NULL,
  -  `host_id` varchar(128) NOT NULL,
  +  `host_id` INT(11) NOT NULL,
     `created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
     `project_id` INT(11),
     PRIMARY KEY (`id`),
     FOREIGN KEY (`project_id`) REFERENCES `project` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION,
  -  FOREIGN KEY (`host_id`) REFERENCES `hosts` (`hostid`) ON DELETE CASCADE ON UPDATE NO ACTION
  -) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
  -
  +  FOREIGN KEY (`host_id`) REFERENCES `hosts` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION
  +) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
  +
  
positive.code:   `id` INT(11) NOT NULL AUTO_INCREMENT,
    `dependency` VARCHAR(128) NOT NULL,
    `version` VARCHAR(128) NOT NULL,
    `repo_url` INT(11) NOT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY (`dependency`, `version`),  
    FOREIGN KEY (`repo_url`) REFERENCES `anaconda_repo` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION
  ) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
  
  
  
negative.code:   `public_ip` varchar(15) DEFAULT NULL,
    `agent_password` varchar(25) DEFAULT NULL,
    `registered` tinyint(1) DEFAULT '0',
    PRIMARY KEY (`id`),
    KEY (`hostid`),
    KEY (`hostname_`)  
  ) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
  
  
  CREATE TABLE `alerts` (
    `id` bigint(20) NOT NULL AUTO_INCREMENT,
    `current_value` varchar(32) DEFAULT NULL,
    `failure_max` varchar(32) DEFAULT NULL,
    `failure_min` varchar(32) DEFAULT NULL,
    `warning_max` varchar(32) DEFAULT NULL,
    `warning_min` varchar(32) DEFAULT NULL,
    `agent_time` bigint(20) DEFAULT NULL,
    `alert_time` datetime DEFAULT NULL,
    `data_source` varchar(128) DEFAULT NULL,
    `host_id` int(11) DEFAULT NULL,
    `message` varchar(1024) NOT NULL,
    `plugin` varchar(128) DEFAULT NULL,
    `plugin_instance` varchar(128) DEFAULT NULL,
    `provider` varchar(255) DEFAULT NULL,
    `severity` varchar(255) DEFAULT NULL,
    `type` varchar(128) DEFAULT NULL,
    `type_instance` varchar(128) DEFAULT NULL,
    PRIMARY KEY (`id`),
    FOREIGN KEY (`host_id`) REFERENCES `hosts` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION
  ) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
  
  
  