mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
17 lines
413 B
SQL
17 lines
413 B
SQL
|
|
--
|
|
-- Table structure for table `rated_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`)
|
|
);
|