-- MySQL dump 10.11 -- -- Host: localhost Database: simba -- ------------------------------------------------------ -- Server version 5.0.32-Debian_7etch1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `archived_versions` -- DROP TABLE IF EXISTS `archived_versions`; CREATE TABLE `archived_versions` ( `id` int(11) NOT NULL auto_increment, `volume` int(11) default NULL, `version` int(11) default NULL, `file` int(11) default NULL, `offset` bigint(20) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Table structure for table `files` -- DROP TABLE IF EXISTS `files`; CREATE TABLE `files` ( `id` int(11) NOT NULL auto_increment, `path` text, `fileset` int(11) default NULL, PRIMARY KEY (`id`), KEY `files_path_index` (`path`(200)) ) ENGINE=MyISAM AUTO_INCREMENT=923753 DEFAULT CHARSET=utf8; -- -- Table structure for table `filesets` -- DROP TABLE IF EXISTS `filesets`; CREATE TABLE `filesets` ( `id` int(11) NOT NULL auto_increment, `host` varchar(255) default NULL, `dir` text, `options` text, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- -- Table structure for table `sessions` -- DROP TABLE IF EXISTS `sessions`; CREATE TABLE `sessions` ( `id` int(11) NOT NULL auto_increment, `start_date` int(11) default NULL, `end_date` int(11) default NULL, `prefix` varchar(255) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8; -- -- Table structure for table `versions` -- DROP TABLE IF EXISTS `versions`; CREATE TABLE `versions` ( `id` int(11) NOT NULL auto_increment, `file` int(11) default NULL, `file_id` varchar(255) default NULL, `file_type` char(1) default NULL, `file_size` bigint(20) default NULL, `file_mtime` int(11) default NULL, `file_owner` varchar(255) default NULL, `file_group` varchar(255) default NULL, `file_acl` varchar(255) default NULL, `file_unix_bits` set('setuid','setgid','sticky') default NULL, `file_rdev` int(11) default NULL, `date` int(11) default NULL, `checksum` varchar(255) default NULL, `online` tinyint(1) default NULL, `file_linktarget` text, `session` int(11) default NULL, PRIMARY KEY (`id`), KEY `session` (`session`,`file`), KEY `versions_checksum_idx` (`checksum`) ) ENGINE=MyISAM AUTO_INCREMENT=4543607 DEFAULT CHARSET=utf8; -- -- Table structure for table `volumes` -- DROP TABLE IF EXISTS `volumes`; CREATE TABLE `volumes` ( `id` int(11) NOT NULL auto_increment, `label` varchar(255) default NULL, `barcode` varchar(255) default NULL, `filesize` bigint(20) default NULL, `blocksize` int(11) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2007-11-17 19:36:25