Adding TPDestinationRate APIs

This commit is contained in:
DanB
2013-07-10 16:58:57 +02:00
parent 33febd9285
commit f3dbbf77fc
9 changed files with 228 additions and 4 deletions

View File

@@ -58,7 +58,8 @@ CREATE TABLE `tp_destination_rates` (
`destinations_tag` varchar(24) NOT NULL,
`rates_tag` varchar(24) NOT NULL,
PRIMARY KEY (`id`),
KEY `tpid` (`tpid`)
KEY `tpid` (`tpid`),
UNIQUE KEY `tpid_tag_dst_rates` (`tpid`,`tag`,`destinations_tag`, `rates_tag`)
);
--