/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `all_channels` (
  `id` varchar(255) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channel` (
  `channelnum` smallint(4) DEFAULT NULL,
  `id` varchar(255) NOT NULL DEFAULT '',
  `display_name` varchar(255) DEFAULT NULL,
  `iconurl` varchar(255) DEFAULT NULL,
  `channelname` varchar(20) DEFAULT NULL,
  KEY `channel_id` (`id`(10))
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channel_to_hd` (
  `channelnum` smallint(4) DEFAULT NULL,
  `channelnum_hd` smallint(4) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `channellike` (
  `userid` varchar(10) NOT NULL DEFAULT '',
  `id` varchar(255) DEFAULT NULL,
  KEY `channellike_id` (`id`(10))
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hatedcategories` (
  `userid` varchar(10) NOT NULL DEFAULT '',
  `category` varchar(255) NOT NULL DEFAULT '',
  KEY `hatedcategories_category` (`category`(10))
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hatedprograms` (
  `unid` int(11) NOT NULL AUTO_INCREMENT,
  `userid` varchar(10) NOT NULL DEFAULT '',
  `title` varchar(255) NOT NULL DEFAULT '',
  `channel` varchar(255) DEFAULT NULL,
  KEY `hatedprograms_title` (`title`),
  KEY `unid` (`unid`)
) ENGINE=MyISAM AUTO_INCREMENT=1829 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `programcategories` (
  `uniquenum` int(11) DEFAULT NULL,
  `category` varchar(255) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `programme` (
  `uniquenum` int(4) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) DEFAULT NULL,
  `sub_title` varchar(255) DEFAULT NULL,
  `desc_str` varchar(255) DEFAULT NULL,
  `start_str` varchar(255) DEFAULT NULL,
  `stop_str` varchar(255) DEFAULT NULL,
  `channel` varchar(255) DEFAULT NULL,
  `channel_no` smallint(6) DEFAULT NULL,
  `category` varchar(255) DEFAULT NULL,
  `length` varchar(255) DEFAULT NULL,
  `star_rating` varchar(255) DEFAULT NULL,
  `start_date` datetime DEFAULT NULL,
  `stop_date` datetime DEFAULT NULL,
  `date_str` varchar(255) DEFAULT NULL,
  `detailnumber` int(11) DEFAULT NULL,
  `episodenum` varchar(255) DEFAULT NULL,
  `video_quality` varchar(20) DEFAULT NULL,
  KEY `programme_title` (`title`),
  KEY `programme_channel` (`channel`(10)),
  KEY `programme_category` (`category`(10)),
  KEY `programme_start_date` (`start_date`),
  KEY `programme_stop_date` (`stop_date`),
  KEY `uniquenum` (`uniquenum`),
  KEY `uniquenum_2` (`uniquenum`)
) ENGINE=MyISAM AUTO_INCREMENT=13486763 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `programmeweight` (
  `title` varchar(255) NOT NULL DEFAULT '',
  `weight` smallint(4) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
