Finishing Get and Set for TPDestinations

This commit is contained in:
DanB
2013-07-04 19:20:55 +02:00
parent 7e308dca52
commit db62f2cc85
8 changed files with 51 additions and 14 deletions

View File

@@ -18,12 +18,13 @@ CREATE TABLE `tp_timings` (
-- Table structure for table `tp_destinations`
--
CREATE TABLE `tp_destinatins` (
CREATE TABLE `tp_destinations` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tpid` char(40) NOT NULL,
`tag` varchar(24) NOT NULL,
`prefix` varchar(24) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `tpid_dest_prefix` (`tpid`,`tag`,`prefix`),
KEY `tpid` (`tpid`)
);