| 1 | -- MySQL dump 10.10 |
|---|
| 2 | -- |
|---|
| 3 | -- Host: localhost Database: mythconverg |
|---|
| 4 | -- ------------------------------------------------------ |
|---|
| 5 | -- Server version 5.0.22 |
|---|
| 6 | |
|---|
| 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|---|
| 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
|---|
| 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
|---|
| 10 | /*!40101 SET NAMES utf8 */; |
|---|
| 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|---|
| 12 | /*!40103 SET TIME_ZONE='+00:00' */; |
|---|
| 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
|---|
| 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|---|
| 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|---|
| 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|---|
| 17 | |
|---|
| 18 | -- |
|---|
| 19 | -- Table structure for table `videocountry` |
|---|
| 20 | -- |
|---|
| 21 | |
|---|
| 22 | DROP TABLE IF EXISTS `videocountry`; |
|---|
| 23 | CREATE TABLE `videocountry` ( |
|---|
| 24 | `intid` int(10) unsigned NOT NULL auto_increment, |
|---|
| 25 | `country` varchar(128) NOT NULL, |
|---|
| 26 | PRIMARY KEY (`intid`) |
|---|
| 27 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|---|
| 28 | |
|---|
| 29 | -- |
|---|
| 30 | -- Dumping data for table `videocountry` |
|---|
| 31 | -- |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | /*!40000 ALTER TABLE `videocountry` DISABLE KEYS */; |
|---|
| 35 | LOCK TABLES `videocountry` WRITE; |
|---|
| 36 | INSERT INTO `videocountry` VALUES (1,'Germany'),(2,'USA'); |
|---|
| 37 | UNLOCK TABLES; |
|---|
| 38 | /*!40000 ALTER TABLE `videocountry` ENABLE KEYS */; |
|---|
| 39 | |
|---|
| 40 | -- |
|---|
| 41 | -- Table structure for table `videometadatacountry` |
|---|
| 42 | -- |
|---|
| 43 | |
|---|
| 44 | DROP TABLE IF EXISTS `videometadatacountry`; |
|---|
| 45 | CREATE TABLE `videometadatacountry` ( |
|---|
| 46 | `idvideo` int(10) unsigned NOT NULL, |
|---|
| 47 | `idcountry` int(10) unsigned NOT NULL, |
|---|
| 48 | KEY `idvideo` (`idvideo`), |
|---|
| 49 | KEY `idcountry` (`idcountry`) |
|---|
| 50 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|---|
| 51 | |
|---|
| 52 | -- |
|---|
| 53 | -- Dumping data for table `videometadatacountry` |
|---|
| 54 | -- |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | /*!40000 ALTER TABLE `videometadatacountry` DISABLE KEYS */; |
|---|
| 58 | LOCK TABLES `videometadatacountry` WRITE; |
|---|
| 59 | INSERT INTO `videometadatacountry` VALUES (744,1),(744,2); |
|---|
| 60 | UNLOCK TABLES; |
|---|
| 61 | /*!40000 ALTER TABLE `videometadatacountry` ENABLE KEYS */; |
|---|
| 62 | |
|---|
| 63 | -- |
|---|
| 64 | -- Table structure for table `videogenre` |
|---|
| 65 | -- |
|---|
| 66 | |
|---|
| 67 | DROP TABLE IF EXISTS `videogenre`; |
|---|
| 68 | CREATE TABLE `videogenre` ( |
|---|
| 69 | `intid` int(10) unsigned NOT NULL auto_increment, |
|---|
| 70 | `genre` varchar(128) NOT NULL, |
|---|
| 71 | PRIMARY KEY (`intid`) |
|---|
| 72 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|---|
| 73 | |
|---|
| 74 | -- |
|---|
| 75 | -- Dumping data for table `videogenre` |
|---|
| 76 | -- |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | /*!40000 ALTER TABLE `videogenre` DISABLE KEYS */; |
|---|
| 80 | LOCK TABLES `videogenre` WRITE; |
|---|
| 81 | INSERT INTO `videogenre` VALUES (1,'Action'),(2,'Drama'),(3,'Thriller'); |
|---|
| 82 | UNLOCK TABLES; |
|---|
| 83 | /*!40000 ALTER TABLE `videogenre` ENABLE KEYS */; |
|---|
| 84 | |
|---|
| 85 | -- |
|---|
| 86 | -- Table structure for table `videometadatagenre` |
|---|
| 87 | -- |
|---|
| 88 | |
|---|
| 89 | DROP TABLE IF EXISTS `videometadatagenre`; |
|---|
| 90 | CREATE TABLE `videometadatagenre` ( |
|---|
| 91 | `idvideo` int(10) unsigned NOT NULL, |
|---|
| 92 | `idgenre` int(10) unsigned NOT NULL, |
|---|
| 93 | KEY `idvideo` (`idvideo`), |
|---|
| 94 | KEY `idgenre` (`idgenre`) |
|---|
| 95 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|---|
| 96 | |
|---|
| 97 | -- |
|---|
| 98 | -- Dumping data for table `videometadatagenre` |
|---|
| 99 | -- |
|---|
| 100 | |
|---|
| 101 | |
|---|
| 102 | /*!40000 ALTER TABLE `videometadatagenre` DISABLE KEYS */; |
|---|
| 103 | LOCK TABLES `videometadatagenre` WRITE; |
|---|
| 104 | INSERT INTO `videometadatagenre` VALUES (744,1),(744,2),(744,3); |
|---|
| 105 | UNLOCK TABLES; |
|---|
| 106 | /*!40000 ALTER TABLE `videometadatagenre` ENABLE KEYS */; |
|---|
| 107 | |
|---|
| 108 | -- |
|---|
| 109 | -- Table structure for table `videometadata` |
|---|
| 110 | -- |
|---|
| 111 | |
|---|
| 112 | DROP TABLE IF EXISTS `videometadata`; |
|---|
| 113 | CREATE TABLE `videometadata` ( |
|---|
| 114 | `intid` int(10) unsigned NOT NULL auto_increment, |
|---|
| 115 | `title` varchar(128) NOT NULL, |
|---|
| 116 | `director` varchar(128) NOT NULL, |
|---|
| 117 | `plot` text, |
|---|
| 118 | `rating` varchar(128) NOT NULL, |
|---|
| 119 | `inetref` varchar(32) NOT NULL, |
|---|
| 120 | `year` int(10) unsigned NOT NULL, |
|---|
| 121 | `userrating` float NOT NULL, |
|---|
| 122 | `length` int(10) unsigned NOT NULL, |
|---|
| 123 | `showlevel` int(10) unsigned NOT NULL, |
|---|
| 124 | `filename` text NOT NULL, |
|---|
| 125 | `coverfile` text NOT NULL, |
|---|
| 126 | `childid` int(11) NOT NULL default '-1', |
|---|
| 127 | `browse` tinyint(1) NOT NULL default '1', |
|---|
| 128 | `playcommand` varchar(255) default NULL, |
|---|
| 129 | `category` int(10) unsigned NOT NULL default '0', |
|---|
| 130 | PRIMARY KEY (`intid`), |
|---|
| 131 | KEY `director` (`director`), |
|---|
| 132 | KEY `title` (`title`), |
|---|
| 133 | KEY `title_2` (`title`) |
|---|
| 134 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
|---|
| 135 | |
|---|
| 136 | -- |
|---|
| 137 | -- Dumping data for table `videometadata` |
|---|
| 138 | -- |
|---|
| 139 | |
|---|
| 140 | |
|---|
| 141 | /*!40000 ALTER TABLE `videometadata` DISABLE KEYS */; |
|---|
| 142 | LOCK TABLES `videometadata` WRITE; |
|---|
| 143 | INSERT INTO `videometadata` VALUES (744,'16 Blocks','Richard Donner','An aging cop (Willis) is assigned the ordinary task of escorting a fast-talking witness (Def) from police custody to a courthouse. There are however forces at work trying to stop prevent them from making it. ','Rated PG-13 for violence, intense sequences of action, and some strong language.','0450232',2006,6.6,0,1,'/media/fs/video/movies/16 blocks.img','/home/mythtv/.mythtv/MythVideo/0450232.jpg',-1,1,'',0); |
|---|
| 144 | UNLOCK TABLES; |
|---|
| 145 | /*!40000 ALTER TABLE `videometadata` ENABLE KEYS */; |
|---|
| 146 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
|---|
| 147 | |
|---|
| 148 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
|---|
| 149 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
|---|
| 150 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
|---|
| 151 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|---|
| 152 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
|---|
| 153 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|---|
| 154 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|---|
| 155 | |
|---|