-- -- Table structure for table `rater_cdrs` -- DROP TABLE IF EXISTS `rated_cdrs`; CREATE TABLE `rated_cdrs` ( `tbid` int(11) NOT NULL AUTO_INCREMENT, `cgrid` char(40) NOT NULL, `runid` varchar(64) NOT NULL, `subject` varchar(64) NOT NULL, `cost` DECIMAL(20,4) DEFAULT NULL, `mediation_time` datetime NOT NULL, `extra_info` text, PRIMARY KEY (`tbid`), UNIQUE KEY `costid` (`cgrid`,`runid`) );