mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 10:36:24 +05:00
16 lines
371 B
SQL
16 lines
371 B
SQL
|
|
--
|
|
-- Table structure for table `rater_cdrs`
|
|
--
|
|
DROP TABLE IF EXISTS `rated_cdrs`;
|
|
CREATE TABLE `rated_cdrs` (
|
|
`id` 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,
|
|
`extra_info` text,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `costid` (`cgrid`,`runid`)
|
|
);
|