added db loader

This commit is contained in:
Radu Ioan Fericean
2013-06-01 16:45:37 +03:00
parent ea15c17832
commit dca4cd0038
7 changed files with 510 additions and 23 deletions

View File

@@ -1,6 +1,7 @@
--
-- Table structure for table `tp_timings`
--
??? all float instead int
CREATE TABLE `tp_timings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
@@ -39,6 +40,7 @@ CREATE TABLE `tp_rates` (
`destinations_tag` varchar(24) NOT NULL,
`connect_fee` DECIMAL(5,4) NOT NULL,
`rate` DECIMAL(5,4) NOT NULL,
??? priced_units
`rate_increments` INT(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `tpid` (`tpid`)