Hacked By AnonymousFox
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
--
-- Database: `roundcube169`
--
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]cache`
--
CREATE TABLE `[[dbprefix]]cache` (
`user_id` int(10) unsigned NOT NULL,
`cache_key` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`user_id`,`cache_key`),
KEY `[[dbprefix]]expires_index` (`expires`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]cache_index`
--
CREATE TABLE `[[dbprefix]]cache_index` (
`user_id` int(10) unsigned NOT NULL,
`mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`valid` tinyint(1) NOT NULL DEFAULT '0',
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`user_id`,`mailbox`),
KEY `[[dbprefix]]expires_index` (`expires`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]cache_messages`
--
CREATE TABLE `[[dbprefix]]cache_messages` (
`user_id` int(10) unsigned NOT NULL,
`mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`uid` int(11) unsigned NOT NULL DEFAULT '0',
`expires` datetime DEFAULT NULL,
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`flags` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`user_id`,`mailbox`,`uid`),
KEY `[[dbprefix]]expires_index` (`expires`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]cache_shared`
--
CREATE TABLE `[[dbprefix]]cache_shared` (
`cache_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`cache_key`),
KEY `[[dbprefix]]expires_index` (`expires`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]cache_thread`
--
CREATE TABLE `[[dbprefix]]cache_thread` (
`user_id` int(10) unsigned NOT NULL,
`mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`expires` datetime DEFAULT NULL,
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`user_id`,`mailbox`),
KEY `[[dbprefix]]expires_index` (`expires`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]collected_addresses`
--
CREATE TABLE `[[dbprefix]]collected_addresses` (
`address_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` int(10) unsigned NOT NULL,
`type` int(10) unsigned NOT NULL,
PRIMARY KEY (`address_id`),
UNIQUE KEY `[[dbprefix]]user_email_collected_addresses_index` (`user_id`,`type`,`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]contactgroupmembers`
--
CREATE TABLE `[[dbprefix]]contactgroupmembers` (
`contactgroup_id` int(10) unsigned NOT NULL,
`contact_id` int(10) unsigned NOT NULL,
`created` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
PRIMARY KEY (`contactgroup_id`,`contact_id`),
KEY `[[dbprefix]]contactgroupmembers_contact_index` (`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]contactgroups`
--
CREATE TABLE `[[dbprefix]]contactgroups` (
`contactgroup_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`contactgroup_id`),
KEY `[[dbprefix]]contactgroups_user_index` (`user_id`,`del`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]contacts`
--
CREATE TABLE `[[dbprefix]]contacts` (
`contact_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`email` text COLLATE utf8mb4_unicode_ci NOT NULL,
`firstname` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`surname` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`vcard` longtext COLLATE utf8mb4_unicode_ci,
`words` text COLLATE utf8mb4_unicode_ci,
`user_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`contact_id`),
KEY `[[dbprefix]]user_contacts_index` (`user_id`,`del`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]dictionary`
--
CREATE TABLE `[[dbprefix]]dictionary` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned DEFAULT NULL,
`language` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL,
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `[[dbprefix]]uniqueness` (`user_id`,`language`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]filestore`
--
CREATE TABLE `[[dbprefix]]filestore` (
`file_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL,
`context` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL,
`filename` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`mtime` int(10) NOT NULL,
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`file_id`),
UNIQUE KEY `[[dbprefix]]uniqueness` (`user_id`,`context`,`filename`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]identities`
--
CREATE TABLE `[[dbprefix]]identities` (
`identity_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
`standard` tinyint(1) NOT NULL DEFAULT '0',
`name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`organization` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`email` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`reply-to` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`bcc` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`signature` longtext COLLATE utf8mb4_unicode_ci,
`html_signature` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`identity_id`),
KEY `[[dbprefix]]user_identities_index` (`user_id`,`del`),
KEY `[[dbprefix]]email_identities_index` (`email`,`del`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]responses`
--
CREATE TABLE `[[dbprefix]]responses` (
`response_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`is_html` tinyint(1) NOT NULL DEFAULT '0',
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`del` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`response_id`),
KEY `[[dbprefix]]user_responses_index` (`user_id`,`del`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]searches`
--
CREATE TABLE `[[dbprefix]]searches` (
`search_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL,
`type` int(3) NOT NULL DEFAULT '0',
`name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`search_id`),
UNIQUE KEY `[[dbprefix]]uniqueness` (`user_id`,`type`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]session`
--
CREATE TABLE `[[dbprefix]]session` (
`sess_id` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`changed` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`ip` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
`vars` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`sess_id`),
KEY `[[dbprefix]]changed_index` (`changed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]system`
--
CREATE TABLE `[[dbprefix]]system` (
`name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
`value` mediumtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
--
-- Dumping data for table `[[dbprefix]]system`
--
INSERT INTO `[[dbprefix]]system` VALUES
('roundcube-version', '2022081200');
-- --------------------------------------------------------
--
-- Table structure for table `[[dbprefix]]users`
--
CREATE TABLE `[[dbprefix]]users` (
`user_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`mail_host` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
`created` datetime NOT NULL DEFAULT '1000-01-01 00:00:00',
`last_login` datetime DEFAULT NULL,
`failed_login` datetime DEFAULT NULL,
`failed_login_counter` int(10) unsigned DEFAULT NULL,
`language` varchar(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`preferences` longtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`user_id`),
UNIQUE KEY `[[dbprefix]]username` (`username`,`mail_host`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `[[dbprefix]]cache`
--
ALTER TABLE `[[dbprefix]]cache`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_cache` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]cache_index`
--
ALTER TABLE `[[dbprefix]]cache_index`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_cache_index` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]cache_messages`
--
ALTER TABLE `[[dbprefix]]cache_messages`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_cache_messages` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]cache_thread`
--
ALTER TABLE `[[dbprefix]]cache_thread`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_cache_thread` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]collected_addresses`
--
ALTER TABLE `[[dbprefix]]collected_addresses`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_collected_addresses` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]contactgroupmembers`
--
ALTER TABLE `[[dbprefix]]contactgroupmembers`
ADD CONSTRAINT `[[dbprefix]]contact_id_fk_contacts` FOREIGN KEY (`contact_id`) REFERENCES `[[dbprefix]]contacts` (`contact_id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `[[dbprefix]]contactgroup_id_fk_contactgroups` FOREIGN KEY (`contactgroup_id`) REFERENCES `[[dbprefix]]contactgroups` (`contactgroup_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]contactgroups`
--
ALTER TABLE `[[dbprefix]]contactgroups`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_contactgroups` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]contacts`
--
ALTER TABLE `[[dbprefix]]contacts`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_contacts` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]dictionary`
--
ALTER TABLE `[[dbprefix]]dictionary`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_dictionary` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]filestore`
--
ALTER TABLE `[[dbprefix]]filestore`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_filestore` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]identities`
--
ALTER TABLE `[[dbprefix]]identities`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_identities` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]responses`
--
ALTER TABLE `[[dbprefix]]responses`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_responses` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
--
-- Constraints for table `[[dbprefix]]searches`
--
ALTER TABLE `[[dbprefix]]searches`
ADD CONSTRAINT `[[dbprefix]]user_id_fk_searches` FOREIGN KEY (`user_id`) REFERENCES `[[dbprefix]]users` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE;
/*!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 */;
Hacked By AnonymousFox1.0, Coded By AnonymousFox