CREATE TABLE IF NOT EXISTS `netscaler_services` (  `svc_id` int(11) NOT NULL AUTO_INCREMENT,  `device_id` int(11) NOT NULL,  `svc_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,  `svc_ip` varchar(128) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,  `svc_port` int(8) NOT NULL,  `svc_type` varchar(64) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,  `svc_state` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,  `svc_clients` int(11) NOT NULL,  `svc_server` int(11) NOT NULL,  `svc_req_rate` int(11) NOT NULL,  `svc_bps_in` int(11) NOT NULL,  `svc_bps_out` int(11) NOT NULL,  PRIMARY KEY (`svc_id`)) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ;
CREATE TABLE IF NOT EXISTS `netscaler_services_vservers` (  `sv_id` int(11) NOT NULL AUTO_INCREMENT,  `device_id` int(11) NOT NULL,  `vsvr_name` varchar(128) NOT NULL,  `svc_name` varchar(128) NOT NULL,  `service_weight` int(11) NOT NULL,  PRIMARY KEY (`sv_id`),  UNIQUE KEY `index` (`device_id`,`vsvr_name`,`svc_name`)) ENGINE=InnoDB  DEFAULT CHARSET=utf8 ;
