text: 
  --
  -- Table structure for table `filestore_file`
  --
  
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `filestore_file` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `filestore_type_id` int(11) NOT NULL DEFAULT '0',
    `filestore_volume_id` int(11) NOT NULL DEFAULT '0',
    `filename` varchar(255) NOT NULL DEFAULT '',
    `original_filename` varchar(255) DEFAULT NULL,
    `filesize` int(11) NOT NULL DEFAULT '0',
    `filenum` int(11) NOT NULL DEFAULT '0',
    `deleted` enum('Y','N') NOT NULL DEFAULT 'N',
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  CREATE TABLE `filestore_image` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `name` varchar(255),
    `original_file_id` int(11) NOT NULL DEFAULT '0',
    `thumb_file_id` int(11) NOT NULL DEFAULT '0',
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Table structure for table `filestore_type`
  --
  
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `filestore_type` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `name` varchar(255) DEFAULT NULL,
    `mime_type` varchar(64) NOT NULL DEFAULT '',
    `extension` varchar(5) DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Table structure for table `filestore_volume`
  --
  
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `filestore_volume` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `name` varchar(32) NOT NULL DEFAULT '',
    `dirname` varchar(255) NOT NULL DEFAULT '',
    `total_space` bigint(20) NOT NULL DEFAULT '0',
    `used_space` bigint(20) NOT NULL DEFAULT '0',
    `stored_files_cnt` int(11) NOT NULL DEFAULT '0',
    `enabled` enum('Y','N') DEFAULT 'Y',
    `last_filenum` int(11) DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `name` (`name`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  /*!40101 SET character_set_client = @saved_cs_client */;
  