ok
Direktori : /var/softaculous/goffice62/ |
Current File : //var/softaculous/goffice62/goffice62.sql |
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: `goffice6890` -- -- -------------------------------------------------------- -- -- Table structure for table `addressbook_address` -- CREATE TABLE `addressbook_address` ( `contactId` int(11) NOT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` text COLLATE utf8mb4_unicode_ci, `zipCode` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `state` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `country` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `countryCode` char(2) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL COMMENT 'ISO_3166 Alpha 2 code', `latitude` decimal(10,8) DEFAULT NULL, `longitude` decimal(11,8) DEFAULT NULL, KEY `contactId` (`contactId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_addressbook` -- CREATE TABLE `addressbook_addressbook` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `aclId` int(11) NOT NULL, `createdBy` int(11) DEFAULT NULL, `filesFolderId` int(11) DEFAULT NULL, `salutationTemplate` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `aclId` (`aclId`), KEY `createdBy` (`createdBy`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `addressbook_addressbook` -- INSERT INTO `addressbook_addressbook` VALUES (1, 'Shared', 10, 1, NULL, 'Dear [if {{contact.prefixes}}]{{contact.prefixes}}[else][if !{{contact.gender}}]Ms./Mr.[else][if {{contact.gender}}=="M"]Mr.[else]Ms.[/if][/if][/if][if {{contact.middleName}}] {{contact.middleName}}[/if] {{contact.lastName}}'); -- -------------------------------------------------------- -- -- Table structure for table `addressbook_contact` -- CREATE TABLE `addressbook_contact` ( `id` int(11) NOT NULL AUTO_INCREMENT, `addressBookId` int(11) NOT NULL, `createdBy` int(11) DEFAULT NULL, `createdAt` datetime NOT NULL, `modifiedAt` datetime NOT NULL, `modifiedBy` int(11) DEFAULT NULL, `goUserId` int(11) DEFAULT NULL, `prefixes` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Prefixes like ''Sir''', `initials` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `firstName` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `middleName` varchar(55) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `lastName` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `suffixes` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Suffixes like ''Msc.''', `salutation` varchar(382) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `gender` enum('M','F') COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'M for Male, F for Female or null for unknown', `notes` text COLLATE utf8mb4_unicode_ci, `isOrganization` tinyint(1) NOT NULL DEFAULT '0', `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'name field for companies and contacts. It should be the display name of first, middle and last name', `IBAN` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `registrationNumber` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Company trade registration number', `icd` varchar(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `vatNo` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `vatReverseCharge` tinyint(1) NOT NULL DEFAULT '0', `debtorNumber` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `photoBlobId` binary(40) DEFAULT NULL, `language` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `jobTitle` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `department` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `filesFolderId` int(11) DEFAULT NULL, `uid` varchar(512) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `vcardBlobId` binary(40) DEFAULT NULL, `uri` varchar(512) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `color` char(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nameBank` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `BIC` varchar(11) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `newsletterAllowed` tinyint(1) DEFAULT '1', `lastContactAt` datetime DEFAULT NULL, `actionAt` date DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `goUserId` (`goUserId`), KEY `owner` (`createdBy`), KEY `photoBlobId` (`photoBlobId`), KEY `addressBookId` (`addressBookId`), KEY `modifiedBy` (`modifiedBy`), KEY `vcardBlobId` (`vcardBlobId`), KEY `isOrganization` (`isOrganization`), KEY `name` (`name`), KEY `modifiedAt` (`modifiedAt`), KEY `lastName` (`lastName`), KEY `isOrganization_2` (`isOrganization`), KEY `addressbook_contact_addressBookId_lastName_index` (`addressBookId`,`lastName`), KEY `addressbook_contact_addressBookId_name_index` (`addressBookId`,`name`), KEY `addressbook_contact_isOrganization_index` (`isOrganization`), KEY `addressbook_contact_lastContactAt_index` (`lastContactAt`), KEY `addressbook_contact_actionAt_index` (`actionAt`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_contact_custom_fields` -- CREATE TABLE `addressbook_contact_custom_fields` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_contact_group` -- CREATE TABLE `addressbook_contact_group` ( `contactId` int(11) NOT NULL, `groupId` int(11) NOT NULL, PRIMARY KEY (`contactId`,`groupId`), KEY `groupId` (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_contact_star` -- CREATE TABLE `addressbook_contact_star` ( `contactId` int(11) NOT NULL, `userId` int(11) NOT NULL, `modSeq` int(11) NOT NULL DEFAULT '0', `starred` tinyint(1) DEFAULT NULL, PRIMARY KEY (`contactId`,`userId`), KEY `addressbook_contact_star_ibfk_2` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_date` -- CREATE TABLE `addressbook_date` ( `contactId` int(11) NOT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'birthday', `date` date NOT NULL, KEY `contactId` (`contactId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_email_address` -- CREATE TABLE `addressbook_email_address` ( `contactId` int(11) NOT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, KEY `contactId` (`contactId`), KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_group` -- CREATE TABLE `addressbook_group` ( `id` int(11) NOT NULL AUTO_INCREMENT, `addressBookId` int(11) NOT NULL, `name` varchar(190) CHARACTER SET latin1 NOT NULL, PRIMARY KEY (`id`), KEY `addressBookId` (`addressBookId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_phone_number` -- CREATE TABLE `addressbook_phone_number` ( `contactId` int(11) NOT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `number` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, KEY `contactId` (`contactId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_portlet_birthday` -- CREATE TABLE `addressbook_portlet_birthday` ( `userId` int(11) NOT NULL, `addressBookId` int(11) NOT NULL, PRIMARY KEY (`userId`,`addressBookId`), KEY `addressbook_portlet_birthday_fk2` (`addressBookId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_url` -- CREATE TABLE `addressbook_url` ( `contactId` int(11) NOT NULL, `type` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, KEY `contactId` (`contactId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `addressbook_user_settings` -- CREATE TABLE `addressbook_user_settings` ( `userId` int(11) NOT NULL, `defaultAddressBookId` int(11) DEFAULT NULL, `lastAddressBookId` int(11) DEFAULT NULL, `startIn` enum('allcontacts','starred','default','remember') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'allcontacts', PRIMARY KEY (`userId`), KEY `defaultAddressBookId` (`defaultAddressBookId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT; -- -------------------------------------------------------- -- -- Table structure for table `bookmarks_bookmark` -- CREATE TABLE `bookmarks_bookmark` ( `id` int(11) NOT NULL AUTO_INCREMENT, `categoryId` int(11) NOT NULL, `createdBy` int(11) DEFAULT NULL, `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `logo` binary(40) DEFAULT NULL, `openExtern` tinyint(1) NOT NULL DEFAULT '1', `behaveAsModule` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `createdBy` (`createdBy`), KEY `categoryId` (`categoryId`), KEY `core_blob_bookmark_logo_idx` (`logo`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=3 ; -- -- Dumping data for table `bookmarks_bookmark` -- INSERT INTO `bookmarks_bookmark` VALUES (1, 1, 1, 'Group-Office', 'https://www.group-office.com', 'Group-Office is an enterprise CRM and groupware tool. Collaborate, Share projects, calendars, files and e-mail online with co-workers and clients. Easy to use and fully customizable.', 'f384ee1dd8a66f36a425dce7b08992d7a6a68c36', 1, 0), (2, 1, 1, 'Intermesh', 'https://www.intermesh.nl', NULL, NULL, 1, 0); -- -------------------------------------------------------- -- -- Table structure for table `bookmarks_category` -- CREATE TABLE `bookmarks_category` ( `id` int(11) NOT NULL AUTO_INCREMENT, `createdBy` int(11) DEFAULT NULL, `aclId` int(11) NOT NULL, `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `aclId` (`aclId`), KEY `createdBy` (`createdBy`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `bookmarks_category` -- INSERT INTO `bookmarks_category` VALUES (1, 1, 11, 'General'); -- -------------------------------------------------------- -- -- Table structure for table `cal_calendars` -- CREATE TABLE `cal_calendars` ( `id` int(11) NOT NULL AUTO_INCREMENT, `group_id` int(11) NOT NULL DEFAULT '1', `user_id` int(11) NOT NULL DEFAULT '0', `acl_id` int(11) NOT NULL DEFAULT '0', `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `start_hour` tinyint(4) NOT NULL DEFAULT '0', `end_hour` tinyint(4) NOT NULL DEFAULT '0', `background` varchar(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `time_interval` int(11) NOT NULL DEFAULT '1800', `public` tinyint(1) NOT NULL DEFAULT '0', `shared_acl` tinyint(1) NOT NULL DEFAULT '0', `show_bdays` tinyint(1) NOT NULL DEFAULT '0', `show_completed_tasks` tinyint(1) NOT NULL DEFAULT '1', `comment` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `project_id` int(11) NOT NULL DEFAULT '0', `tasklist_id` int(11) NOT NULL DEFAULT '0', `files_folder_id` int(11) NOT NULL DEFAULT '0', `show_holidays` tinyint(1) NOT NULL DEFAULT '1', `enable_ics_import` tinyint(1) NOT NULL DEFAULT '0', `ics_import_url` varchar(512) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `tooltip` varchar(127) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `version` int(10) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `group_id` (`group_id`), KEY `project_id` (`project_id`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `cal_calendars_custom_fields` -- CREATE TABLE `cal_calendars_custom_fields` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `cal_calendar_user_colors` -- CREATE TABLE `cal_calendar_user_colors` ( `user_id` int(11) NOT NULL, `calendar_id` int(11) NOT NULL, `color` varchar(6) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`user_id`,`calendar_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `cal_categories` -- CREATE TABLE `cal_categories` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `color` char(6) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'EBF1E2', `calendar_id` int(11) NOT NULL, `acl_id` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `calendar_id` (`calendar_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `cal_events` -- CREATE TABLE `cal_events` ( `id` int(11) NOT NULL AUTO_INCREMENT, `uuid` varchar(190) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT '', `calendar_id` int(11) NOT NULL, `user_id` int(11) NOT NULL DEFAULT '0', `start_time` int(11) NOT NULL DEFAULT '0', `end_time` int(11) NOT NULL DEFAULT '0', `timezone` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `all_day_event` tinyint(1) NOT NULL DEFAULT '0', `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL, `description` text COLLATE utf8mb4_unicode_ci, `location` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `repeat_end_time` int(11) NOT NULL DEFAULT '0', `reminder` int(11) DEFAULT NULL, `ctime` int(11) NOT NULL DEFAULT '0', `mtime` int(11) NOT NULL DEFAULT '0', `muser_id` int(11) NOT NULL DEFAULT '0', `busy` tinyint(1) NOT NULL DEFAULT '1', `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'NEEDS-ACTION', `resource_event_id` int(11) NOT NULL DEFAULT '0', `private` tinyint(1) NOT NULL DEFAULT '0', `rrule` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `background` char(6) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ebf1e2', `files_folder_id` int(11) NOT NULL, `read_only` tinyint(1) NOT NULL DEFAULT '0', `category_id` int(11) DEFAULT NULL, `exception_for_event_id` int(11) NOT NULL DEFAULT '0', `recurrence_id` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `is_organizer` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `start_time` (`start_time`), KEY `end_time` (`end_time`), KEY `repeat_end_time` (`repeat_end_time`), KEY `rrule` (`rrule`), KEY `calendar_id` (`calendar_id`), KEY `busy` (`busy`), KEY `category_id` (`category_id`), KEY `uuid` (`uuid`), KEY `resource_event_id` (`resource_event_id`), KEY `recurrence_id` (`recurrence_id`), KEY `exception_for_event_id` (`exception_for_event_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `cal_events_custom_fields` -- CREATE TABLE `cal_events_custom_fields` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT; -- -------------------------------------------------------- -- -- Table structure for table `cal_events_declined` -- CREATE TABLE `cal_events_declined` ( `uid` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`uid`,`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `cal_exceptions` -- CREATE TABLE `cal_exceptions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `event_id` int(11) NOT NULL DEFAULT '0', `time` int(11) NOT NULL DEFAULT '0', `exception_event_id` int(11) NOT NULL DEFAULT '0', `user_id` int(11) NOT NULL DEFAULT '0', `muser_id` int(11) NOT NULL DEFAULT '0', `ctime` int(11) NOT NULL DEFAULT '0', `mtime` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `event_id` (`event_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `cal_groups` -- CREATE TABLE `cal_groups` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `fields` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `show_not_as_busy` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `cal_groups` -- INSERT INTO `cal_groups` VALUES (1, 1, 'Calendars', '', 0); -- -------------------------------------------------------- -- -- Table structure for table `cal_group_admins` -- CREATE TABLE `cal_group_admins` ( `group_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`group_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `cal_participants` -- CREATE TABLE `cal_participants` ( `id` int(11) NOT NULL AUTO_INCREMENT, `event_id` int(11) NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_id` int(11) NOT NULL DEFAULT '0', `contact_id` int(11) NOT NULL DEFAULT '0', `status` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'NEEDS-ACTION', `last_modified` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `is_organizer` tinyint(1) NOT NULL DEFAULT '0', `role` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `event_id` (`event_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `cal_settings` -- CREATE TABLE `cal_settings` ( `user_id` int(11) NOT NULL, `reminder` int(11) DEFAULT NULL, `background` char(6) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'EBF1E2', `calendar_id` int(11) NOT NULL DEFAULT '0', `show_statuses` tinyint(1) NOT NULL DEFAULT '1', `check_conflict` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`user_id`), KEY `calendar_id` (`calendar_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `cal_views` -- CREATE TABLE `cal_views` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `time_interval` int(11) NOT NULL DEFAULT '1800', `acl_id` int(11) NOT NULL DEFAULT '0', `merge` tinyint(1) NOT NULL DEFAULT '0', `owncolor` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `cal_views_calendars` -- CREATE TABLE `cal_views_calendars` ( `view_id` int(11) NOT NULL DEFAULT '0', `calendar_id` int(11) NOT NULL DEFAULT '0', `background` char(6) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'CCFFCC', PRIMARY KEY (`view_id`,`calendar_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `cal_views_groups` -- CREATE TABLE `cal_views_groups` ( `view_id` int(11) NOT NULL, `group_id` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`view_id`,`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `cal_visible_tasklists` -- CREATE TABLE `cal_visible_tasklists` ( `calendar_id` int(11) NOT NULL, `tasklist_id` int(11) NOT NULL, PRIMARY KEY (`calendar_id`,`tasklist_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `comments_comment` -- CREATE TABLE `comments_comment` ( `id` int(11) NOT NULL AUTO_INCREMENT, `createdAt` datetime NOT NULL, `date` datetime NOT NULL, `entityId` int(11) NOT NULL, `entityTypeId` int(11) NOT NULL, `createdBy` int(11) DEFAULT NULL, `modifiedBy` int(11) DEFAULT NULL, `modifiedAt` datetime DEFAULT NULL, `text` mediumtext CHARACTER SET utf8mb4, `section` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mimeMessageId` varchar(255) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, PRIMARY KEY (`id`), KEY `date` (`date`), KEY `fk_comments_comment_core_entity_type_idx` (`entityId`), KEY `fk_comments_comment_core_user1_idx` (`createdBy`), KEY `fk_comments_comment_core_user2_idx` (`modifiedBy`), KEY `section` (`section`), KEY `comments_comment_mimeMessageId_index` (`mimeMessageId`), KEY `comments_comment_core_entity_id_fk` (`entityTypeId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `comments_comment_attachment` -- CREATE TABLE `comments_comment_attachment` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `commentId` int(11) NOT NULL, `blobId` binary(40) DEFAULT NULL, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `comments_comment_attachment_comments_comment_id_fk` (`commentId`), KEY `comments_comment_attachment_core_blob_id_fk` (`blobId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `comments_comment_image` -- CREATE TABLE `comments_comment_image` ( `commentId` int(11) NOT NULL, `blobId` binary(40) NOT NULL, PRIMARY KEY (`commentId`,`blobId`), KEY `blobId` (`blobId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `comments_comment_label` -- CREATE TABLE `comments_comment_label` ( `labelId` int(11) NOT NULL, `commentId` int(11) NOT NULL, PRIMARY KEY (`labelId`,`commentId`), KEY `fk_comments_label_has_comments_comment_comments_comment1_idx` (`commentId`), KEY `fk_comments_label_has_comments_comment_comments_label1_idx` (`labelId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `comments_label` -- CREATE TABLE `comments_label` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(127) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `color` char(6) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '243a80', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_acl` -- CREATE TABLE `core_acl` ( `id` int(11) NOT NULL AUTO_INCREMENT, `ownedBy` int(11) DEFAULT NULL, `usedIn` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `modifiedAt` datetime DEFAULT NULL, `entityTypeId` int(11) DEFAULT NULL, `entityId` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `core_acl_ibfk_1` (`entityTypeId`), KEY `ownedBy` (`ownedBy`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=20 ; -- -- Dumping data for table `core_acl` -- INSERT INTO `core_acl` VALUES (1, 1, 'core_group.aclId', '[[regtime]]', 11, 1), (2, 1, 'core_group.aclId', '[[regtime]]', 11, 2), (3, 1, 'core_group.aclId', '[[regtime]]', 11, 3), (4, 1, 'core_group.aclId', '[[regtime]]', 11, 4), (5, 1, 'core_entity.defaultAclId', '[[regtime]]', 8, NULL), (6, 1, 'core_entity.defaultAclId', '[[regtime]]', 10, NULL), (7, 1, 'core_entity.defaultAclId', '[[regtime]]', 11, NULL), (8, 1, 'go_templates.acl_id', '[[regtime]]', 26, 1), (9, 1, 'core_entity.defaultAclId', '[[regtime]]', 26, NULL), (10, 1, 'addressbook_addressbook.aclId', '[[regtime]]', 27, 1), (11, 1, 'bookmarks_category.aclId', '[[regtime]]', 31, 1), (12, 1, 'notes_note_book.aclId', '[[regtime]]', 36, 65), (13, 1, 'core_entity.defaultAclId', '[[regtime]]', 41, NULL), (14, 1, 'fs_templates.acl_id', '[[regtime]]', 45, 1), (15, 1, 'core_entity.defaultAclId', '[[regtime]]', 45, NULL), (16, 1, 'fs_templates.acl_id', '[[regtime]]', 45, 2), (17, 1, 'core_module.shadowAclId', '[[regtime]]', 14, 16), (18, 1, 'fs_folders.acl_id', '[[regtime]]', 43, 2), (19, 1, 'fs_folders.acl_id', '[[regtime]]', 43, 3); -- -------------------------------------------------------- -- -- Table structure for table `core_acl_group` -- CREATE TABLE `core_acl_group` ( `aclId` int(11) NOT NULL, `groupId` int(11) NOT NULL DEFAULT '0', `level` tinyint(4) NOT NULL DEFAULT '10', PRIMARY KEY (`aclId`,`groupId`), KEY `level` (`level`), KEY `groupId` (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_acl_group` -- INSERT INTO `core_acl_group` VALUES (2, 2, 10), (3, 3, 10), (4, 4, 10), (5, 2, 10), (7, 2, 10), (8, 3, 10), (11, 3, 10), (14, 3, 10), (16, 3, 10), (17, 3, 10), (6, 2, 30), (13, 3, 30), (10, 3, 40), (12, 3, 40), (19, 3, 40); -- -------------------------------------------------------- -- -- Table structure for table `core_acl_group_changes` -- CREATE TABLE `core_acl_group_changes` ( `id` int(11) NOT NULL AUTO_INCREMENT, `aclId` int(11) NOT NULL, `groupId` int(11) NOT NULL, `modSeq` int(11) NOT NULL, `granted` tinyint(1) NOT NULL, PRIMARY KEY (`id`), KEY `aclId` (`aclId`,`groupId`,`modSeq`), KEY `group` (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=6 ; -- -------------------------------------------------------- -- -- Table structure for table `core_alert` -- CREATE TABLE `core_alert` ( `id` int(11) NOT NULL AUTO_INCREMENT, `entityTypeId` int(11) NOT NULL, `entityId` int(11) NOT NULL, `userId` int(11) NOT NULL, `triggerAt` datetime NOT NULL, `tag` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `recurrenceId` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `data` text COLLATE utf8mb4_unicode_ci, `sendMail` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `core_alert_entityTypeId_entityId_tag_userId_uindex` (`entityTypeId`,`entityId`,`tag`,`userId`), KEY `dk_alert_entityType_idx` (`entityTypeId`), KEY `fk_alert_user_idx` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_auth_allow_group` -- CREATE TABLE `core_auth_allow_group` ( `id` int(11) NOT NULL AUTO_INCREMENT, `groupId` int(11) NOT NULL, `ipPattern` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'IP Address. Wildcards can be used where * matches anything and ? matches exactly one character', PRIMARY KEY (`id`), KEY `groupId` (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_auth_method` -- CREATE TABLE `core_auth_method` ( `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `moduleId` int(11) NOT NULL, `sortOrder` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `moduleId` (`moduleId`), KEY `moduleId_sortOrder` (`moduleId`,`sortOrder`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_auth_method` -- INSERT INTO `core_auth_method` VALUES ('password', 1, 1), ('forcepasswordchange', 1, 2), ('otpauthenticator', 8, 3); -- -------------------------------------------------------- -- -- Table structure for table `core_auth_password` -- CREATE TABLE `core_auth_password` ( `userId` int(11) NOT NULL, `password` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_auth_password` -- INSERT INTO `core_auth_password` VALUES (1, '[[admin_pass]]'); -- -------------------------------------------------------- -- -- Table structure for table `core_auth_remember_me` -- CREATE TABLE `core_auth_remember_me` ( `id` int(11) NOT NULL AUTO_INCREMENT, `token` varchar(190) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `series` varchar(190) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `expiresAt` datetime DEFAULT NULL, `userId` int(11) NOT NULL, `clientId` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `core_auth_remember_me_series_index` (`series`), KEY `core_auth_remember_me_core_user_id_fk` (`userId`), KEY `fk_core_auth_remember_me_core_client1_idx` (`clientId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_auth_token` -- CREATE TABLE `core_auth_token` ( `loginToken` varchar(100) CHARACTER SET ascii COLLATE ascii_bin NOT NULL, `accessToken` varchar(100) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `CSRFToken` varchar(100) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `userId` int(11) NOT NULL, `createdAt` datetime NOT NULL, `expiresAt` datetime DEFAULT NULL, `passedAuthenticators` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `clientId` int(10) unsigned NOT NULL, PRIMARY KEY (`loginToken`), UNIQUE KEY `core_auth_token_pk` (`accessToken`), KEY `fk_core_auth_token_core_client1_idx` (`clientId`), KEY `fk_core_auth_token_core_user1_idx` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `core_blob` -- CREATE TABLE `core_blob` ( `id` binary(40) NOT NULL, `type` varchar(129) COLLATE utf8mb4_unicode_ci NOT NULL, `size` bigint(20) NOT NULL DEFAULT '0', `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `createdAt` datetime NOT NULL, `modifiedAt` datetime DEFAULT NULL, `staleAt` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `staleAt` (`staleAt`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_blob` -- INSERT INTO `core_blob` VALUES ('f384ee1dd8a66f36a425dce7b08992d7a6a68c36', 'image/x-icon', 696, 'www_group-office_com.ico', '[[regtime]]', '[[regtime]]', '[[regtime]]'); -- -------------------------------------------------------- -- -- Table structure for table `core_change` -- CREATE TABLE `core_change` ( `id` int(11) NOT NULL AUTO_INCREMENT, `entityId` varchar(100) CHARACTER SET ascii COLLATE ascii_bin NOT NULL, `entityTypeId` int(11) NOT NULL, `modSeq` int(11) NOT NULL, `aclId` int(11) DEFAULT NULL, `createdAt` datetime NOT NULL, `destroyed` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `aclId` (`aclId`), KEY `entityTypeId` (`entityTypeId`), KEY `entityId` (`entityId`), KEY `core_change_modSeq_entityTypeId_entityId_index` (`modSeq`,`entityTypeId`,`entityId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=3 ; -- -------------------------------------------------------- -- -- Table structure for table `core_change_user` -- CREATE TABLE `core_change_user` ( `userId` int(11) NOT NULL, `entityId` int(11) NOT NULL, `entityTypeId` int(11) NOT NULL, `modSeq` int(11) NOT NULL, PRIMARY KEY (`userId`,`entityId`,`entityTypeId`), KEY `entityTypeId` (`entityTypeId`), KEY `core_change_user_modSeq_userId_entityTypeId_entityId_index` (`modSeq`,`userId`,`entityTypeId`,`entityId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `core_change_user_modseq` -- CREATE TABLE `core_change_user_modseq` ( `userId` int(11) NOT NULL, `entityTypeId` int(11) NOT NULL, `highestModSeq` int(11) NOT NULL DEFAULT '0', `lowestModSeq` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`userId`,`entityTypeId`), KEY `entityTypeId` (`entityTypeId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `core_client` -- CREATE TABLE `core_client` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `deviceId` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL, `platform` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL, `version` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `ip` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL, `lastSeen` datetime NOT NULL, `createdAt` datetime NOT NULL, `status` enum('new','allowed','denied') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'new', `needResync` tinyint(1) DEFAULT '0', `userId` int(11) NOT NULL, PRIMARY KEY (`id`), KEY `core_client_core_user_id_fk` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_cron_job` -- CREATE TABLE `core_cron_job` ( `id` int(11) NOT NULL AUTO_INCREMENT, `moduleId` int(11) NOT NULL, `description` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `expression` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `enabled` tinyint(1) NOT NULL DEFAULT '1', `nextRunAt` datetime DEFAULT NULL, `lastRunAt` datetime DEFAULT NULL, `runningSince` datetime DEFAULT NULL, `lastError` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), KEY `moduleId` (`moduleId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `core_cron_job` -- INSERT INTO `core_cron_job` VALUES (1, 1, 'Garbage collection', 'GarbageCollection', '0 0 * * *', 1, '[[nextRunAt]]', NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `core_customfields_field` -- CREATE TABLE `core_customfields_field` ( `id` int(11) NOT NULL AUTO_INCREMENT, `fieldSetId` int(11) NOT NULL, `modSeq` int(11) DEFAULT NULL, `createdAt` datetime DEFAULT NULL, `modifiedAt` datetime DEFAULT NULL, `deletedAt` datetime DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `databaseName` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Text', `sortOrder` int(11) NOT NULL DEFAULT '0', `required` tinyint(1) NOT NULL DEFAULT '0', `relatedFieldCondition` text COLLATE utf8mb4_unicode_ci, `conditionallyHidden` tinyint(1) NOT NULL DEFAULT '0', `conditionallyRequired` tinyint(1) NOT NULL DEFAULT '0', `hint` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `exclude_from_grid` tinyint(1) NOT NULL DEFAULT '0', `unique_values` tinyint(1) NOT NULL DEFAULT '0', `prefix` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `suffix` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `options` text COLLATE utf8mb4_unicode_ci, `hiddenInGrid` tinyint(1) NOT NULL DEFAULT '1', `filterable` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `type` (`fieldSetId`), KEY `modSeq` (`modSeq`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_customfields_field_set` -- CREATE TABLE `core_customfields_field_set` ( `id` int(11) NOT NULL AUTO_INCREMENT, `modSeq` int(11) DEFAULT NULL, `createdAt` datetime DEFAULT NULL, `modifiedAt` datetime DEFAULT NULL, `deletedAt` datetime DEFAULT NULL, `entityId` int(11) NOT NULL, `aclId` int(11) NOT NULL, `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci, `sortOrder` tinyint(4) NOT NULL DEFAULT '0', `filter` text COLLATE utf8mb4_unicode_ci, `isTab` tinyint(1) NOT NULL DEFAULT '0', `collapseIfEmpty` tinyint(1) NOT NULL DEFAULT '0', `columns` tinyint(4) NOT NULL DEFAULT '2', `parentFieldSetId` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `entityId` (`entityId`), KEY `aclId` (`aclId`), KEY `modSeq` (`modSeq`), KEY `core_customfields_field_set_core_customfields_field_set_id_fk` (`parentFieldSetId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_customfields_select_option` -- CREATE TABLE `core_customfields_select_option` ( `id` int(11) NOT NULL AUTO_INCREMENT, `fieldId` int(11) NOT NULL, `parentId` int(11) DEFAULT NULL, `text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `foregroundColor` varchar(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `backgroundColor` varchar(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `renderMode` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `sortOrder` int(11) unsigned DEFAULT '0', `enabled` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `field_id` (`fieldId`), KEY `parentId` (`parentId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_email_template` -- CREATE TABLE `core_email_template` ( `id` int(11) NOT NULL AUTO_INCREMENT, `moduleId` int(11) NOT NULL, `key` varchar(20) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `language` varchar(20) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT 'en', `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `subject` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `body` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `core_email_template_moduleId_key_index` (`moduleId`,`key`), KEY `moduleId` (`moduleId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_email_template_attachment` -- CREATE TABLE `core_email_template_attachment` ( `id` int(11) NOT NULL AUTO_INCREMENT, `emailTemplateId` int(11) NOT NULL, `blobId` binary(40) NOT NULL, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `inline` tinyint(1) NOT NULL DEFAULT '0', `attachment` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `templateId` (`emailTemplateId`), KEY `blobId` (`blobId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_entity` -- CREATE TABLE `core_entity` ( `id` int(11) NOT NULL AUTO_INCREMENT, `moduleId` int(11) DEFAULT NULL, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `clientName` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `highestModSeq` int(11) NOT NULL DEFAULT '0', `defaultAclId` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `clientName` (`clientName`), UNIQUE KEY `name` (`name`,`moduleId`) USING BTREE, KEY `moduleId` (`moduleId`), KEY `core_entity_ibfk_2` (`defaultAclId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=46 ; -- -- Dumping data for table `core_entity` -- INSERT INTO `core_entity` VALUES (1, 1, 'Method', 'Method', 0, NULL), (2, 1, 'Blob', 'Blob', 0, NULL), (3, 1, 'Acl', 'Acl', 0, NULL), (4, 1, 'Alert', 'Alert', 0, NULL), (5, 1, 'AuthAllowGroup', 'AuthAllowGroup', 0, NULL), (6, 1, 'CronJobSchedule', 'CronJobSchedule', 0, NULL), (7, 1, 'EmailTemplate', 'EmailTemplate', 0, NULL), (8, 1, 'EntityFilter', 'EntityFilter', 0, 5), (9, 1, 'Field', 'Field', 0, NULL), (10, 1, 'FieldSet', 'FieldSet', 0, 6), (11, 1, 'Group', 'Group', 0, 7), (12, 1, 'ImportMapping', 'ImportMapping', 0, NULL), (13, 1, 'Link', 'Link', 0, NULL), (14, 1, 'Module', 'Module', 0, NULL), (15, 1, 'OauthAccessToken', 'OauthAccessToken', 0, NULL), (16, 1, 'OauthAuthCode', 'OauthAuthCode', 0, NULL), (17, 1, 'OauthClient', 'OauthClient', 0, NULL), (18, 1, 'PdfTemplate', 'PdfTemplate', 0, NULL), (19, 1, 'RememberMe', 'RememberMe', 0, NULL), (20, 1, 'Search', 'Search', 0, NULL), (21, 1, 'SmtpAccount', 'SmtpAccount', 0, NULL), (22, 1, 'SpreadSheetExport', 'SpreadSheetExport', 0, NULL), (23, 1, 'Token', 'Token', 0, NULL), (24, 1, 'User', 'User', 0, NULL), (25, 1, 'UserDisplay', 'UserDisplay', 0, NULL), (26, 1, 'Template', 'Template', 0, 9), (27, 2, 'AddressBook', 'AddressBook', 0, NULL), (28, 2, 'Contact', 'Contact', 0, NULL), (29, 2, 'Group', 'AddressBookGroup', 0, NULL), (30, 3, 'Bookmark', 'Bookmark', 0, NULL), (31, 3, 'Category', 'BookmarksCategory', 0, NULL), (32, 5, 'Comment', 'Comment', 0, NULL), (33, 5, 'Label', 'CommentLabel', 0, NULL), (34, 6, 'LogEntry', 'LogEntry', 0, NULL), (35, 7, 'Note', 'Note', 0, NULL), (36, 7, 'NoteBook', 'NoteBook', 0, NULL), (37, 10, 'Category', 'TaskCategory', 0, NULL), (38, 10, 'Task', 'Task', 0, NULL), (39, 10, 'TaskList', 'TaskList', 0, NULL), (40, 10, 'TaskListGrouping', 'TaskListGrouping', 0, NULL), (41, 13, 'Calendar', 'Calendar', 0, 13), (42, 13, 'Event', 'Event', 0, NULL), (43, 16, 'Folder', 'Folder', 0, NULL), (44, 16, 'File', 'File', 0, NULL), (45, 16, 'Template', 'FilesTemplate', 0, 15); -- -------------------------------------------------------- -- -- Table structure for table `core_entity_filter` -- CREATE TABLE `core_entity_filter` ( `id` int(11) NOT NULL AUTO_INCREMENT, `entityTypeId` int(11) NOT NULL, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `createdBy` int(11) NOT NULL, `filter` text COLLATE utf8mb4_unicode_ci, `aclId` int(11) NOT NULL, `type` enum('fixed','variable') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'fixed', PRIMARY KEY (`id`), KEY `aclid` (`aclId`), KEY `createdBy` (`createdBy`), KEY `entityTypeId` (`entityTypeId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_group` -- CREATE TABLE `core_group` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `createdBy` int(11) NOT NULL, `aclId` int(11) DEFAULT NULL, `isUserGroupFor` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), KEY `isUserGroupFor` (`isUserGroupFor`), KEY `aclId` (`aclId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=5 ; -- -- Dumping data for table `core_group` -- INSERT INTO `core_group` VALUES (1, 'Admins', 1, 1, NULL), (2, 'Everyone', 1, 2, NULL), (3, 'Internal', 1, 3, NULL), (4, '[[admin_username]]', 1, 4, 1); -- -------------------------------------------------------- -- -- Table structure for table `core_group_default_group` -- CREATE TABLE `core_group_default_group` ( `groupId` int(11) NOT NULL, PRIMARY KEY (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_group_default_group` -- INSERT INTO `core_group_default_group` VALUES (3); -- -------------------------------------------------------- -- -- Table structure for table `core_import_mapping` -- CREATE TABLE `core_import_mapping` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `entityTypeId` int(11) DEFAULT NULL, `checksum` char(32) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `name` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '(unnamed)', `mapping` text COLLATE utf8mb4_unicode_ci, `updateBy` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `dateFormat` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `timeFormat` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `decimalSeparator` char(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `thousandsSeparator` char(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `core_import_mapping_core_entity_null_fk` (`entityTypeId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_link` -- CREATE TABLE `core_link` ( `id` int(11) NOT NULL AUTO_INCREMENT, `fromEntityTypeId` int(11) NOT NULL, `fromId` int(11) NOT NULL, `toEntityTypeId` int(11) NOT NULL, `toId` int(11) NOT NULL, `description` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `createdAt` datetime NOT NULL, `deletedAt` datetime DEFAULT NULL, `modSeq` int(11) DEFAULT NULL, `folderId` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `fromEntityId` (`fromEntityTypeId`,`fromId`,`toEntityTypeId`,`toId`) USING BTREE, KEY `toEntity` (`toEntityTypeId`), KEY `fromEntityTypeId` (`fromEntityTypeId`), KEY `fromId` (`fromId`), KEY `toEntityTypeId` (`toEntityTypeId`), KEY `toId` (`toId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_module` -- CREATE TABLE `core_module` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `package` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `version` int(11) NOT NULL, `sort_order` int(11) NOT NULL DEFAULT '0', `admin_menu` tinyint(1) NOT NULL DEFAULT '0', `enabled` tinyint(1) NOT NULL DEFAULT '1', `modifiedAt` datetime DEFAULT NULL, `modSeq` int(11) DEFAULT NULL, `deletedAt` datetime DEFAULT NULL, `shadowAclId` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), KEY `core_module_core_acl_id_fk` (`shadowAclId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=21 ; -- -- Dumping data for table `core_module` -- INSERT INTO `core_module` VALUES (1, 'core', 'core', 404, 0, 0, 1, NULL, NULL, NULL, NULL), (2, 'addressbook', 'community', 93, 101, 0, 1, NULL, NULL, NULL, NULL), (3, 'bookmarks', 'community', 11, 102, 0, 1, NULL, NULL, NULL, NULL), (4, 'carddav', 'community', 0, 103, 0, 1, NULL, NULL, NULL, NULL), (5, 'comments', 'community', 40, 104, 0, 1, NULL, NULL, NULL, NULL), (6, 'history', 'community', 14, 105, 0, 1, NULL, NULL, NULL, NULL), (7, 'notes', 'community', 60, 106, 0, 1, NULL, NULL, NULL, NULL), (8, 'otp', 'community', 8, 107, 0, 1, NULL, NULL, NULL, NULL), (9, 'pwned', 'community', 0, 108, 0, 1, NULL, NULL, NULL, NULL), (10, 'tasks', 'community', 48, 109, 0, 1, NULL, NULL, NULL, NULL), (11, 'dav', NULL, 1, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (12, 'sync', NULL, 59, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (13, 'calendar', NULL, 188, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (14, 'caldav', NULL, 33, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (15, 'email', NULL, 122, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (16, 'files', NULL, 143, 110, 0, 1, '[[regtime]]', NULL, NULL, 17), (17, 'jitsimeet', NULL, 0, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (18, 'sieve', NULL, 0, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (19, 'summary', NULL, 31, 110, 0, 1, '[[regtime]]', NULL, NULL, NULL), (20, 'zpushadmin', NULL, 8, 110, 1, 1, '[[regtime]]', NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `core_oauth_access_token` -- CREATE TABLE `core_oauth_access_token` ( `identifier` varchar(128) CHARACTER SET ascii COLLATE ascii_bin NOT NULL, `expiryDateTime` datetime DEFAULT NULL, `userIdentifier` int(11) NOT NULL, `clientId` int(11) NOT NULL, PRIMARY KEY (`identifier`), KEY `userIdentifier` (`userIdentifier`), KEY `clientId` (`clientId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `core_oauth_auth_codes` -- CREATE TABLE `core_oauth_auth_codes` ( `id` int(11) NOT NULL AUTO_INCREMENT, `clientId` int(11) NOT NULL, `identifier` varchar(128) CHARACTER SET ascii COLLATE ascii_bin NOT NULL, `userIdentifier` int(11) NOT NULL, `expiryDateTime` datetime NOT NULL, `nonce` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_oauth_client` -- CREATE TABLE `core_oauth_client` ( `id` int(11) NOT NULL AUTO_INCREMENT, `identifier` varchar(128) CHARACTER SET ascii COLLATE ascii_bin NOT NULL, `isConfidential` tinyint(1) NOT NULL, `name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL, `redirectUri` text COLLATE utf8mb4_unicode_ci NOT NULL, `secret` varchar(128) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_pdf_block` -- CREATE TABLE `core_pdf_block` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `pdfTemplateId` bigint(20) unsigned NOT NULL, `x` int(11) DEFAULT NULL, `y` int(11) DEFAULT NULL, `width` int(11) DEFAULT NULL, `height` int(11) DEFAULT NULL, `align` enum('L','C','R','J') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'L', `content` text COLLATE utf8mb4_unicode_ci NOT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'text', PRIMARY KEY (`id`), KEY `pdfTemplateId` (`pdfTemplateId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_pdf_template` -- CREATE TABLE `core_pdf_template` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `moduleId` int(11) NOT NULL, `key` varchar(20) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `language` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en', `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `stationaryBlobId` binary(40) DEFAULT NULL, `logoBlobId` binary(40) DEFAULT NULL, `landscape` tinyint(1) NOT NULL DEFAULT '0', `pageSize` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'A4', `measureUnit` enum('mm','pt','cm','in') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'mm', `marginTop` decimal(19,4) NOT NULL DEFAULT '20.0000', `marginRight` decimal(19,4) NOT NULL DEFAULT '10.0000', `marginBottom` decimal(19,4) NOT NULL DEFAULT '20.0000', `marginLeft` decimal(19,4) NOT NULL DEFAULT '10.0000', `header` text COLLATE utf8mb4_unicode_ci, `headerX` decimal(19,4) DEFAULT '0.0000', `headerY` decimal(19,4) DEFAULT '10.0000', `footer` text COLLATE utf8mb4_unicode_ci, `footerX` decimal(19,4) DEFAULT '0.0000', `footerY` decimal(19,4) DEFAULT '-20.0000', PRIMARY KEY (`id`), KEY `core_pdf_template_core_blob_id_fk` (`logoBlobId`), KEY `core_pdf_template_key_index` (`moduleId`,`key`), KEY `stationaryBlobId` (`stationaryBlobId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_permission` -- CREATE TABLE `core_permission` ( `moduleId` int(11) NOT NULL, `groupId` int(11) NOT NULL, `rights` bigint(20) NOT NULL DEFAULT '0', PRIMARY KEY (`moduleId`,`groupId`), KEY `fk_permission_group_idx` (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_permission` -- INSERT INTO `core_permission` VALUES (1, 2, 0), (2, 3, 2), (3, 3, 0), (4, 3, 0), (5, 3, 0), (7, 3, 1), (8, 3, 0), (10, 3, 1), (11, 3, 0), (12, 3, 0), (13, 3, 0), (14, 3, 0), (15, 3, 0), (16, 3, 2), (17, 3, 0), (18, 3, 0), (19, 3, 0); -- -------------------------------------------------------- -- -- Table structure for table `core_search` -- CREATE TABLE `core_search` ( `id` int(11) NOT NULL AUTO_INCREMENT, `entityId` int(11) NOT NULL, `moduleId` int(11) DEFAULT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `description` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `entityTypeId` int(11) NOT NULL, `filter` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `modifiedAt` datetime DEFAULT NULL, `aclId` int(11) NOT NULL, `rebuild` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `entityId` (`entityId`,`entityTypeId`), KEY `acl_id` (`aclId`), KEY `moduleId` (`moduleId`), KEY `entityTypeId` (`entityTypeId`), KEY `core_search_entityTypeId_filter_modifiedAt_aclId_index` (`entityTypeId`,`filter`,`modifiedAt`,`aclId`), KEY `core_search_filter_index` (`filter`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=3 ; -- -- Dumping data for table `core_search` -- INSERT INTO `core_search` VALUES (1, 2, 16, '[[admin_username]]', 'users/[[admin_username]]', 43, NULL, '[[regtime]]', 18, 0), (2, 3, 16, 'Public', 'users/[[admin_username]]/Public', 43, NULL, '[[regtime]]', 19, 0); -- -------------------------------------------------------- -- -- Table structure for table `core_search_word` -- CREATE TABLE `core_search_word` ( `searchId` int(11) NOT NULL, `word` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`word`,`searchId`), KEY `searchId` (`searchId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_search_word` -- INSERT INTO `core_search_word` VALUES (1, '2'), (1, 'folder'), (1, '[[admin_username]]'), (1, 'users/[[admin_username]]'), (2, '3'), (2, 'folder'), (2, 'public'), (2, 'users/[[admin_username]]/public'); -- -------------------------------------------------------- -- -- Table structure for table `core_setting` -- CREATE TABLE `core_setting` ( `moduleId` int(11) NOT NULL, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `value` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`moduleId`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_setting` -- INSERT INTO `core_setting` VALUES (1, 'cacheClearedAt', '[[timestamp]]'), (1, 'corsAllowOrigin', ''), (1, 'databaseVersion', '6.8.90'), (1, 'language', 'en'), (1, 'locale', 'aa_DJ.utf8'), (1, 'smtpPassword', NULL), (1, 'systemEmail', '[[admin_email]]'), (1, 'URL', '[[softurl]]/'), (2, 'autoLinkAddressBookIds', NULL); -- -------------------------------------------------------- -- -- Table structure for table `core_smtp_account` -- CREATE TABLE `core_smtp_account` ( `id` int(11) NOT NULL AUTO_INCREMENT, `moduleId` int(11) NOT NULL, `aclId` int(11) NOT NULL, `hostname` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `port` int(11) NOT NULL DEFAULT '587', `username` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` text COLLATE utf8mb4_unicode_ci, `encryption` enum('tls','ssl') COLLATE utf8mb4_unicode_ci DEFAULT 'tls', `verifyCertificate` tinyint(1) NOT NULL DEFAULT '1', `fromName` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `fromEmail` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `maxMessagesPerMinute` smallint(5) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `moduleId` (`moduleId`), KEY `aclId` (`aclId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_spreadsheet_export` -- CREATE TABLE `core_spreadsheet_export` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `userId` int(11) NOT NULL, `entityTypeId` int(11) NOT NULL, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `columns` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `userId` (`userId`), KEY `entityTypeId` (`entityTypeId`), KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `core_user` -- CREATE TABLE `core_user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `displayName` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `avatarId` binary(40) DEFAULT NULL, `enabled` tinyint(1) NOT NULL DEFAULT '1', `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `recoveryEmail` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `recoveryHash` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `recoverySendAt` datetime DEFAULT NULL, `lastLogin` datetime DEFAULT NULL, `createdAt` datetime DEFAULT NULL, `modifiedAt` datetime DEFAULT NULL, `dateFormat` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'd-m-Y', `shortDateInList` tinyint(1) NOT NULL DEFAULT '1', `timeFormat` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'G:i', `thousandsSeparator` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '.', `decimalSeparator` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ',', `currency` char(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `loginCount` int(11) NOT NULL DEFAULT '0', `max_rows_list` tinyint(4) NOT NULL DEFAULT '20', `timezone` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Europe/Amsterdam', `start_module` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'summary', `language` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en', `theme` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Paper', `themeColorScheme` enum('light','dark','system') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'light', `firstWeekday` tinyint(4) NOT NULL DEFAULT '1', `sort_name` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'first_name', `muser_id` int(11) NOT NULL DEFAULT '0', `mute_sound` tinyint(1) NOT NULL DEFAULT '0', `mute_reminder_sound` tinyint(1) NOT NULL DEFAULT '0', `mute_new_mail_sound` tinyint(1) NOT NULL DEFAULT '0', `show_smilies` tinyint(1) NOT NULL DEFAULT '1', `auto_punctuation` tinyint(1) NOT NULL DEFAULT '0', `listSeparator` char(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ';', `textSeparator` char(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '"', `files_folder_id` int(11) NOT NULL DEFAULT '0', `disk_quota` bigint(20) DEFAULT NULL, `disk_usage` bigint(20) NOT NULL DEFAULT '0', `mail_reminders` tinyint(1) NOT NULL DEFAULT '0', `holidayset` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `sort_email_addresses_by_time` tinyint(1) NOT NULL DEFAULT '0', `no_reminders` tinyint(1) NOT NULL DEFAULT '0', `homeDir` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `confirmOnMove` tinyint(1) NOT NULL DEFAULT '0', `passwordModifiedAt` datetime DEFAULT NULL, `forcePasswordChange` tinyint(1) NOT NULL DEFAULT '0', `enableSendShortcut` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `username` (`username`), KEY `fk_user_avatar_id_idx` (`avatarId`), KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ; -- -- Dumping data for table `core_user` -- INSERT INTO `core_user` VALUES (1, '[[admin_username]]', 'System Administrator', NULL, 1, '[[admin_email]]', '[[admin_email]]', NULL, NULL, NULL, '[[regtime]]', '[[regtime]]', 'd-m-Y', 1, 'G:i', '.', ',', '€', 0, 20, 'Europe/Amsterdam', 'summary', 'en', 'Paper', 'light', 1, 'first_name', 0, 0, 0, 0, 1, 0, ';', '"', 0, NULL, 0, 0, NULL, 0, 0, 'users/[[admin_username]]', 0, '[[regtime]]', 0, 1); -- -------------------------------------------------------- -- -- Table structure for table `core_user_custom_fields` -- CREATE TABLE `core_user_custom_fields` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `core_user_default_group` -- CREATE TABLE `core_user_default_group` ( `groupId` int(11) NOT NULL, PRIMARY KEY (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `core_user_group` -- CREATE TABLE `core_user_group` ( `groupId` int(11) NOT NULL, `userId` int(11) NOT NULL, PRIMARY KEY (`groupId`,`userId`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `core_user_group` -- INSERT INTO `core_user_group` VALUES (1, 1), (2, 1), (4, 1); -- -------------------------------------------------------- -- -- Table structure for table `dav_calendar_changes` -- CREATE TABLE `dav_calendar_changes` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `uri` varbinary(200) NOT NULL, `synctoken` int(11) unsigned NOT NULL, `calendarid` int(11) unsigned NOT NULL, `operation` tinyint(1) NOT NULL, PRIMARY KEY (`id`), KEY `calendarid_synctoken` (`calendarid`,`synctoken`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `dav_events` -- CREATE TABLE `dav_events` ( `id` int(11) NOT NULL, `mtime` int(11) NOT NULL, `data` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, `uri` varchar(512) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `uri` (`uri`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `dav_locks` -- CREATE TABLE `dav_locks` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `owner` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `timeout` int(10) unsigned DEFAULT NULL, `created` int(11) DEFAULT NULL, `token` varbinary(100) DEFAULT NULL, `scope` tinyint(4) DEFAULT NULL, `depth` tinyint(4) DEFAULT NULL, `uri` varbinary(1000) DEFAULT NULL, PRIMARY KEY (`id`), KEY `token` (`token`), KEY `uri` (`uri`(100)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `dav_tasks` -- CREATE TABLE `dav_tasks` ( `id` int(11) NOT NULL, `mtime` int(11) NOT NULL, `data` text COLLATE utf8mb4_unicode_ci NOT NULL, `uri` varchar(512) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `uri` (`uri`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_default_email_account_templates` -- CREATE TABLE `email_default_email_account_templates` ( `account_id` int(11) NOT NULL, `template_id` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`account_id`), KEY `template_id` (`template_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_default_email_templates` -- CREATE TABLE `email_default_email_templates` ( `user_id` int(11) NOT NULL, `template_id` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`user_id`), KEY `template_id` (`template_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `emp_folders` -- CREATE TABLE `emp_folders` ( `folder_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `mtime` int(11) NOT NULL, PRIMARY KEY (`folder_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `em_accounts` -- CREATE TABLE `em_accounts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `acl_id` int(11) NOT NULL DEFAULT '0', `host` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `port` int(11) NOT NULL DEFAULT '0', `deprecated_use_ssl` tinyint(1) NOT NULL DEFAULT '0', `novalidate_cert` tinyint(1) NOT NULL DEFAULT '0', `username` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `password` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `imap_encryption` char(3) COLLATE utf8mb4_unicode_ci NOT NULL, `imap_allow_self_signed` tinyint(1) NOT NULL DEFAULT '1', `mbroot` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `sent` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT 'Sent', `drafts` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT 'Drafts', `trash` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Trash', `spam` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Spam', `smtp_host` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `smtp_port` int(11) NOT NULL, `smtp_encryption` char(10) COLLATE utf8mb4_unicode_ci NOT NULL, `smtp_allow_self_signed` tinyint(1) NOT NULL DEFAULT '0', `smtp_username` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `smtp_password` varchar(512) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `password_encrypted` tinyint(4) NOT NULL DEFAULT '0', `ignore_sent_folder` tinyint(1) NOT NULL DEFAULT '0', `save_sent` tinyint(1) NOT NULL DEFAULT '1', `sieve_port` int(11) NOT NULL, `sieve_usetls` tinyint(1) NOT NULL DEFAULT '1', `check_mailboxes` text COLLATE utf8mb4_unicode_ci, `do_not_mark_as_read` tinyint(1) NOT NULL DEFAULT '0', `signature_below_reply` tinyint(1) NOT NULL DEFAULT '0', `full_reply_headers` tinyint(1) NOT NULL DEFAULT '0', `force_smtp_login` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `em_accounts_collapsed` -- CREATE TABLE `em_accounts_collapsed` ( `account_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`account_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `em_accounts_sort` -- CREATE TABLE `em_accounts_sort` ( `account_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `order` int(11) NOT NULL, PRIMARY KEY (`account_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `em_aliases` -- CREATE TABLE `em_aliases` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account_id` int(11) NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `signature` text COLLATE utf8mb4_unicode_ci, `default` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `account_id` (`account_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `em_contacts_last_mail_times` -- CREATE TABLE `em_contacts_last_mail_times` ( `contact_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `last_mail_time` int(11) NOT NULL, PRIMARY KEY (`contact_id`,`user_id`), KEY `em_contacts_last_mail_times_core_user_id_fk` (`user_id`), KEY `last_mail_time` (`last_mail_time`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `em_filters` -- CREATE TABLE `em_filters` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account_id` int(11) NOT NULL DEFAULT '0', `field` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `keyword` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `folder` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `priority` int(11) NOT NULL DEFAULT '0', `mark_as_read` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `em_folders` -- CREATE TABLE `em_folders` ( `id` int(11) NOT NULL DEFAULT '0', `account_id` int(11) NOT NULL DEFAULT '0', `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `subscribed` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `parent_id` int(11) NOT NULL DEFAULT '0', `delimiter` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `sort_order` tinyint(4) NOT NULL DEFAULT '0', `msgcount` int(11) NOT NULL DEFAULT '0', `unseen` int(11) NOT NULL DEFAULT '0', `auto_check` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', `can_have_children` tinyint(1) NOT NULL, `no_select` tinyint(1) DEFAULT NULL, `sort` longtext COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `account_id` (`account_id`), KEY `parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `em_folders_expanded` -- CREATE TABLE `em_folders_expanded` ( `folder_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`folder_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `em_labels` -- CREATE TABLE `em_labels` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `flag` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `color` varchar(6) COLLATE utf8mb4_unicode_ci NOT NULL, `account_id` int(11) NOT NULL, `default` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `em_links` -- CREATE TABLE `em_links` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `from` varchar(255) DEFAULT NULL, `to` text, `subject` varchar(255) DEFAULT NULL, `time` int(11) NOT NULL DEFAULT '0', `path` varchar(255) DEFAULT NULL, `has_attachments` tinyint(1) DEFAULT '0', `ctime` int(11) NOT NULL, `mtime` int(11) NOT NULL DEFAULT '0', `muser_id` int(11) NOT NULL DEFAULT '0', `acl_id` int(11) NOT NULL, `uid` varchar(350) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `account_id` (`user_id`), KEY `uid` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `em_messages_cache` -- CREATE TABLE `em_messages_cache` ( `folder_id` int(11) NOT NULL, `uid` int(11) NOT NULL, `account_id` int(11) NOT NULL, `new` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL, `subject` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `from` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `size` int(11) NOT NULL, `udate` int(11) NOT NULL, `attachments` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL, `flagged` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL, `answered` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL, `forwarded` tinyint(1) NOT NULL, `priority` tinyint(4) NOT NULL, `to` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `serialized_message_object` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`folder_id`,`uid`), KEY `account_id` (`account_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `em_portlet_folders` -- CREATE TABLE `em_portlet_folders` ( `account_id` int(11) NOT NULL, `folder_name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` int(11) NOT NULL, `mtime` int(11) NOT NULL, PRIMARY KEY (`account_id`,`folder_name`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_bookmarks` -- CREATE TABLE `fs_bookmarks` ( `folder_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`folder_id`,`user_id`), KEY `fs_bookmarks_core_user_id_fk` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_filehandlers` -- CREATE TABLE `fs_filehandlers` ( `user_id` int(11) NOT NULL, `extension` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `cls` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`user_id`,`extension`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_files` -- CREATE TABLE `fs_files` ( `id` int(11) NOT NULL AUTO_INCREMENT, `folder_id` int(11) NOT NULL, `name` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `locked_user_id` int(11) NOT NULL DEFAULT '0', `status_id` int(11) NOT NULL DEFAULT '0', `ctime` int(11) NOT NULL DEFAULT '0', `mtime` int(11) NOT NULL DEFAULT '0', `muser_id` int(11) NOT NULL DEFAULT '0', `size` bigint(20) NOT NULL, `user_id` int(11) NOT NULL, `comment` text COLLATE utf8mb4_unicode_ci, `extension` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `expire_time` int(11) NOT NULL DEFAULT '0', `random_code` char(11) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `delete_when_expired` tinyint(1) NOT NULL DEFAULT '0', `content_expire_date` int(11) DEFAULT NULL, `version` int(10) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `folder_id_2` (`folder_id`,`name`), KEY `folder_id` (`folder_id`), KEY `name` (`name`), KEY `extension` (`extension`), KEY `mtime` (`mtime`), KEY `content_expire_date` (`content_expire_date`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fs_files_custom_fields` -- CREATE TABLE `fs_files_custom_fields` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `fs_folders` -- CREATE TABLE `fs_folders` ( `user_id` int(11) NOT NULL DEFAULT '0', `id` int(11) NOT NULL AUTO_INCREMENT, `parent_id` int(11) NOT NULL, `name` varchar(260) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `visible` tinyint(1) NOT NULL DEFAULT '0', `acl_id` int(11) NOT NULL DEFAULT '0', `comment` text COLLATE utf8mb4_unicode_ci, `thumbs` tinyint(1) NOT NULL DEFAULT '1', `ctime` int(11) NOT NULL, `mtime` int(11) NOT NULL, `muser_id` int(11) NOT NULL DEFAULT '0', `quota_user_id` int(11) NOT NULL DEFAULT '0', `readonly` tinyint(1) NOT NULL DEFAULT '0', `cm_state` text COLLATE utf8mb4_unicode_ci, `apply_state` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `parent_id_3` (`parent_id`,`name`), KEY `name` (`name`), KEY `parent_id` (`parent_id`), KEY `visible` (`visible`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=4 ; -- -- Dumping data for table `fs_folders` -- INSERT INTO `fs_folders` VALUES (1, 1, 0, 'users', 0, 17, NULL, 1, [[timestamp]], [[timestamp]], 1, 1, 1, NULL, 0), (1, 2, 1, '[[admin_username]]', 1, 18, NULL, 1, [[timestamp]], [[timestamp]], 1, 1, 1, NULL, 0), (1, 3, 2, 'Public', 0, 19, NULL, 1, [[timestamp]], [[timestamp]], 1, 1, 0, NULL, 0); -- -------------------------------------------------------- -- -- Table structure for table `fs_folders_custom_fields` -- CREATE TABLE `fs_folders_custom_fields` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_folder_pref` -- CREATE TABLE `fs_folder_pref` ( `folder_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `thumbs` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`folder_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_new_files` -- CREATE TABLE `fs_new_files` ( `file_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, KEY `file_id` (`file_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_notifications` -- CREATE TABLE `fs_notifications` ( `folder_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`folder_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_notification_messages` -- CREATE TABLE `fs_notification_messages` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `modified_user_id` int(11) NOT NULL, `type` int(11) NOT NULL, `arg1` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `arg2` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `mtime` int(11) NOT NULL, `status` tinyint(1) NOT NULL, PRIMARY KEY (`id`), KEY `user_id` (`user_id`,`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `fs_shared_cache` -- CREATE TABLE `fs_shared_cache` ( `user_id` int(11) NOT NULL, `folder_id` int(11) NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `path` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`user_id`,`folder_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_shared_root_folders` -- CREATE TABLE `fs_shared_root_folders` ( `user_id` int(11) NOT NULL, `folder_id` int(11) NOT NULL, PRIMARY KEY (`user_id`,`folder_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `fs_statuses` -- CREATE TABLE `fs_statuses` ( `id` int(11) NOT NULL DEFAULT '0', `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_status_history` -- CREATE TABLE `fs_status_history` ( `id` int(11) NOT NULL DEFAULT '0', `link_id` int(11) NOT NULL DEFAULT '0', `status_id` int(11) NOT NULL DEFAULT '0', `user_id` int(11) NOT NULL DEFAULT '0', `ctime` int(11) NOT NULL DEFAULT '0', `comments` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `link_id` (`link_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `fs_templates` -- CREATE TABLE `fs_templates` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `acl_id` int(11) NOT NULL, `content` mediumblob NOT NULL, `extension` char(4) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=3 ; -- -- Dumping data for table `fs_templates` -- INSERT INTO `fs_templates` VALUES (1, 1, 'Microsoft Word document', 14, 'PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0_rels/.rels��MKA��C��l+���"Bo"�������3i���A\n�P��Ǽy���m��N���AêiAq0Ѻ0jx�=/`�/�W>��J�\\*�ބ�aI���L�41q��!fOR�<b"���qݶ��2��1��j�[���H�76z�$�&f^�\\��8.Nyd�`�y�q�j4�x]h�{�8��S4G�A�y�Y8X���(�[Fw�i4o|˼�l�^�͢���PK��#�\0\0\0=\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0word/_rels/document.xml.rels��M\n�0���"�ަU��nDp+�\01���6 �(z{�Z(���}�1/__��]�m��,I��Q�Ҧp(��%��I��NR\\ �v���Dn�yP-�2$֡���^R,}ÝT''� ���O&�U��ʀ�7���m]k���=\Z\Z��n�H��A��>.?��|m\r����������?@��������I��wPK�/0��\0\0\0\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0word/settings.xmlE�K�0D��"����S����Bk�RbG���� +��73z��+E��"#��f� �<�t�p>�0��������l7����%�>�����jn����)Ȃ3ReW.)h��f''.C.ܣH��h�έl\n#AW/?��Lm��#i�i��\ZQO�rTε����m�]�/PKe��"�\0\0\0�\0\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0word/fontTable.xml���N�0��<E�;K�Mպ q�\0���]#%q���=Y(�@�%�����Y�c`C���B\n�j�O��8��o���K+9 ��n�ʆ|d��=���m�]���:��Pp�7�5��L�ӡ�j]�*����ܚ��얮qK�.�F����ρ�r7����r�q���x#�@�Ϛl%�B�q��å\ZF���L���C0p�xn� ��>�#�E�֬�,YF-���0�u�-77��-������7PK��Z]\0\0\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0word/styles.xml�TQo�0~߯��Nh�5T�� ��н�A�9��s\Z诟�j��x������;��6�\Z�JF�s�f�X%\\n"��|l�Y@dBI���=���;��xI�"b��z����(��ݭ����ل�2�6*F"�>a���pɆu Z�I�ʍ+�؝v��``c@�����{����\\C.l��,,�qk��*Qi�_\n��b��5J�nkTES��qu�r�&;����˚�t\n�r�jyt�P�yĖ<s�̱�T��)b3�rL�L�7!���H��Hґ,ey����������u�֖1�� �g[�ĥOyk:?��5m�KS������@�J�Ӓu�5�l��l_�\n���`���������g�WC�Kx��h\\Gw�Z�kD��k�uA9��[�a|���p���}/Z��h�3��5�~�9������F��t���� �''{\Zl\r�#��О�p�d�&\0Ơ����?��l3.q�g+7�������wL�g���5�v*�^��]f�l�zG�PKՔq�\0\0�\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0word/document.xml�R�n�0��+"��T�F.��VH�0�&�d{#{!Я�M�K�ś�̾&��\\�N��B���4e X���Uξ�%K< [�rv�6�U�(O,%������l�e\rF��Qҡǒ&M�e�$�.g5Q�q�''M�����x���{��4]pZP��ת�C����F����-��q(��`��]_#����''�uƌ�΅�C˿�l;����G,�16�g�naOW\rI���Ι� e|�⣢{�7��"R$uJ�6c%ډ\nb� ��?��ù,��pm4u6{O��S�$�H�&R�* �_O#�Nt5�b\ZJ�''9U����A���dݨ� ��2Bwl4v理=J�}����ʅu�!\r�v�c��`��_�PK���ly\0\06\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0docProps/app.xml��=k�0ཿ��TcL�BC�h�t3�tN��sp�}�����xx�v�Sq���wy�)�)��;v�)פH(���wБ+$��-�\0\r�".u�6�&u+S�c���G+1��H�8\Z�^�Қ���4�2���W�\\��_��!{�����qz�S�Q��bo^4�T���z�7n^��u;�Mq�0�gPH�,[�f3������#�PK(��\0\0\0h\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0docProps/core.xmlm�[O�0��Kﷶ D�m\\h���D��������2���&\Z��}���8/��-�@�H�V�u���P��\r\n��E}S\n˄q��$�,��g�Vh�e{��} ��qt-�\\|��9Vx��I��шN�F�J��A�(�cZP��*��8�t\0��UxHFr��H�}_�Ӂ����}��2<5�:}�\0T�''5x�&�v��9y�><����:��,��5%lv�ncdS���<���W���ҹ.V��1K�8��TiMJ|9����PK��i\0\0\0\0PK\0\0H�B\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0[Content_Types].xml��1O�0�����+JBI: 1B�0#c_�Ķ|����sh#���X���}�瓋�f�5x�֔�<�YFZ�M[���6�b�jQ�[���`ɺ�5�(;fց���A��;!�E�"�/��&� i��*� 終d%|���?z�gqe��{Ad�L8�k)��k�>��)V�\Z��30�=��z��)+_e$�74B�\\�П�l�h S��漕�H~t���l����x���&�>�mх�w���O`:�6�r�p�CN��c��*���8�A�Ė�b�������\rPKc�a*\0\0^\0\0PK\0\0\0H�B��#�\0\0\0=\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0_rels/.relsPK\0\0\0H�B�/0��\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0word/_rels/document.xml.relsPK\0\0\0H�Be��"�\0\0\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0!\0\0word/settings.xmlPK\0\0\0H�B��Z]\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0word/fontTable.xmlPK\0\0\0H�BՔq�\0\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0F\0\0word/styles.xmlPK\0\0\0H�B���ly\0\06\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0word/document.xmlPK\0\0\0H�B(��\0\0\0h\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0S\0\0docProps/app.xmlPK\0\0\0H�B��i\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0s \0\0docProps/core.xmlPK\0\0\0H�Bc�a*\0\0^\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\n\0\0[Content_Types].xmlPK\0\0\0\0 \0 \0<\0\0<\0\0\0\0', 'docx'), (2, 1, 'Open-Office Text document', 16, 'PK\0\0\0\0\0K;\Z9^�2''\0\0\0''\0\0\0\0\0\0mimetypeapplication/vnd.oasis.opendocument.textPK\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\Z\0\0\0Configurations2/statusbar/PK\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0''\0\0\0Configurations2/accelerator/current.xml\0PK\0\0\0\0\0\0\0\0\0\0\0PK\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Configurations2/floater/PK\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\Z\0\0\0Configurations2/popupmenu/PK\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Configurations2/progressbar/PK\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Configurations2/menubar/PK\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Configurations2/toolbar/PK\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Configurations2/images/Bitmaps/PK\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0content.xml�V�n!�+F,�c'']$S��JQ�JIMZuK��iyL���_�1N2 �7���s��s/ov�[�\rS���TbE�\\������\nܬ>,U�0L+�p''��%VҺ�±���l\r:-+�3�D����J�T�*EWa�1vϳ���-��\\�Ǟp�S�����F}.�c��)�Q���e���E�=�bǙ�[���ma���r��\Z.���a��#��4(�!��/f�b��VP�r��ش$ى''���A�p�l���]OH�7Hg�F\0��{I��$)W ����\n��qw�-r�����fm�6#:�+��R=!�P��|� �q��߄��Y�8~�ǣ�J�&��-�C�t��tl|/�� \\�8=�\r�L����o�@G0{\\2i,�Ge\ZF��0�F^�]K5�6 �4�Q�q)�T���љ9��`5\\��B�@��A���bnV�x��pǾ�\Z<�2L��%��;?T0���G�*�.Aq����5�no�e}�wD��bw�H3y�vi_��R��^��̘s���Я�x@�L*�`2�0{c�x�&8e�!�:�T��!Ob��"�q���2<o����>&z,B�0�r�/Ug�AK�N��k�0e��yg�v(��=+���g''���qp`Z�6R��e$>�#O�&�wQ|x���˴�PK�\0=@�\0\0s \0\0PK\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\n\0\0\0styles.xml�YK��6��W*�m˻����E�����׀�h� E\n$e����D˒W�H�=, �p��<���7��MvD**�]O�ф�D��o�?��n�7�?��\rM�*I����F�6s�rĻ��|%��j�qN�J''+Q�7�B�U�V����-s�[���������-s�;��\Z���M��1v�^1�(y�5��3ʿ�E���j6��jZ]M�����r9��p���d�+Mf��L��i<�9�x,>�B�e�&r�i��''^U����mL�dX��\r�|�ޫt�{��po�u6���; ��� �I���t��~!D�lp j�.������앤�Ȁ=9˞`�4y�р/�";�Ѥ.!Aي�{_�6��''�$a���fy⾍�,5yO��?"�<�@0y֜��]�3.������ɑhÏ��I�Ȳ��rT'';,��$��<�߀��\0��êUE�z��?�g�_9���\Z�H�3�\Z�4��4ra�Ǟ�\r.Y��\Z�V�"�I�y�oTH�A�)8�T��p**��hͧW ��!:D\r�Au%H8�ڎ2!�W���a]ܞe��)+$�X�''�=2k�08GEu�\\��`��((���B�}��#\\jat@hДNJY�a���XK��)\r.מbʁ����3��((O��R�Vƃ�����E�L��n�\r�Ӕ����U�&�OiYB}��Hѯ�4^ڮ1̷%��gv!%�����DC�C_������DP���V��M��Nj�ԯ��''Պ<��#�t>F�pGhC��Ь�֬Gy5&�\Z?Dg\nL���phԂ#��lf��6''wE�]:���}���(�RHOn����M�f�q�`�6e�_�����@��G�q}��Qj7�vV�K�rj��n�I�cʑ��� \\�0��:,�H��+\Z#a��ZH�&蠐C1\\(��U���:�a���_)�[�3s�7���P���O)�i4X(��V\n�A2��u*�/�� ��B�8E�P��ې�#,|Z�?�Ez�PI˱�z&+L^خۮ����V\r9^�$kcۍ��ƘU���-Aᨯ��rq����2�W�c3�i�@�3>���C�IH~�����>}ܷ�i�r�31ʌ��s���c|�;.L)|A�J��Xm�%���Ƀ�H���[�����|8�z�[s�*\nwqx[�5�њ��m��}���^��n�A�Q+�^��\n_+Y�ڽ!z��VwG�,���5�92�%�9�ɯzk��95��5P�$�o�$i�kq���.��⺹P\\�.�/��Bq-/W<����B�\\h����\rݖ�>�&\rխm#�6�}��y�Q��Ҡ��F�\n���Ci;/���g\nF�˛�GHx:����EZ}j������rَG��Si���F�4�ih251��Zi��<9A&M�''������ݣ�M��QO�Ng)M��2��t�� ��̼��Wg�X+j$$�����B��{q��v���Ne\rih���\0D9�7�1ϖv�_3(Rxq�\Z��<�m���Ck''���''��=<xc�N},8�\\*��b��KHV��1����8�Q8��s�?TF��؏Yx�`�TPy��Vr�\Z��z�H:;�1�!\Z|G�����oPK�E�}\0\0�\0\0PK\0\0\0\0\0K;\Z9�g��\0\0\0\0\0\0\0meta.xml<?xml version="1.0" encoding="UTF-8"?>\n<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="http://openoffice.org/2004/office" office:version="1.1"><office:meta><meta:generator>OpenOffice.org/2.4$Linux OpenOffice.org_project/680m17$Build-9310</meta:generator><meta:initial-creator>Merijn Schering</meta:initial-creator><meta:creation-date>2008-08-26T09:26:02</meta:creation-date><meta:editing-cycles>0</meta:editing-cycles><meta:editing-duration>PT0S</meta:editing-duration><meta:user-defined meta:name="Info 1"/><meta:user-defined meta:name="Info 2"/><meta:user-defined meta:name="Info 3"/><meta:user-defined meta:name="Info 4"/><meta:document-statistic meta:table-count="0" meta:image-count="0" meta:object-count="0" meta:page-count="1" meta:paragraph-count="0" meta:word-count="0" meta:character-count="0"/></office:meta></office:document-meta>PK\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Thumbnails/thumbnail.png��s���b``��p �[8������{�8�T�y{i#''�ρ\r|?�?���t�C��Ûw��~�2��9K&xrrV��o�ʓ����Ԏ_y2cTpTp����3\n�*L���~.��\0PK�׃�|\0\0\0�\0\0PK\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0settings.xml�YQs�8~�_��;Jo�ʴ��챥����7��ձ2�S�ߟ�N�K ~�Mlɒ�믫����T��~^��@Fb~�=N������?�q6�h��1]Q�5-Qg�]�f���K�h"S�j\n�jꠉ �Ͷ���M�,{��x��Z''�ju�\\�/�(����Uվ�,\rP̢�����oU!�"�!;�UvQ�]V������o\\S�Z?l�o]�\n��J�!6�9����x������k^Ѿ�{~�z_�`�m��uBo"��V�+�p�}��"��z�^����(ԋ"ᗍ�Ɵ�d��|Qx�z��H��.GR�Ag��Ԗ�)"&���)��''��\n�1�}�g����Wb�T"�\n�]_G��C�!ׇy�nUiI��L0_����Q����''S�Uє��\\��O��V�h_�4\Z��/�D�Qk���_�8ٿ� Iڎ���}a�vY�Q���Sc�h�����&��y�/ b9����d���3���I6a\n�N��C�=û��?�A�{��T���o<Ti<��1%���ryLB����%�-N�z��p�\\��n$�&3�G(tO�t�8��L�url���~�t��J���xW�A�p��Q�Y���N����P�[��f.|e�0�(���n(QlS<�z[S�� &�^��#[tp��]��D{��~�1QGa�A�2�N�C�A��''o1�7�F勰͙xV�t�tƃ�[zt������p$����#`!\n��AS�?A��.n�t}[�u�d��z�O�~T o�f��5%�˄���\r)��Q����U����|�b\nt�Swt߾���"Щ�4�y4�c��U��o�ã�W�e�/�m�$-�]�����TJ�&���S�`M����������J��l9���°���[T���EY����nw�?��.[�BL���V�I�d ȭ�.�R��1pV�����D��^�ȍ�L���M�[�I߶Ӿk*�N�W�6����ɂ��W0��ZKSTQ��E''W�uAUB5�+���_���D�9.��D;L�p�{*��:f",h����H��fk�6�)ҋ{&R��س�P#0u�L0O8�f��M��&}rt6��oY��bkL������ \nyj�T�\\Nu�Q��,x�KL��ީ����2��F���t��нXQ��$R�����j;o��|��L�PKt����\0\0h\0\0PK\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0META-INF/manifest.xml��Kj�0@�=���V�U1q-��&���f��W��6��X; ��F#�h��[S�0���Oͣ��)�k7v�c�^����aa����Ӡ����HѵHS�"��Z�^%��ۯ��ɴ|�.�A���x�.2�5�|� �h��;�7GWs�h�,.��dL����B�%�My�n�c�� �Y''�@,���`��(U�q:b�bqW�`<0�R�O �G?F�r7=�^�ޛbpmaD���-*긓��_PrS�4I7�Z��O�HN�z����b��K|0H�c-2��x��d7�!ɧa�87|��"s�ϩ]����PK5b�9>\0\0J\0\0PK\0\0\0\0\0\0K;\Z9^�2''\0\0\0''\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0mimetypePK\0\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\Z\0\0\0\0\0\0\0\0\0\0\0\0\0M\0\0\0Configurations2/statusbar/PK\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0''\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0\0Configurations2/accelerator/current.xmlPK\0\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0\0Configurations2/floater/PK\0\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\Z\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0Configurations2/popupmenu/PK\0\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0J\0\0Configurations2/progressbar/PK\0\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0Configurations2/menubar/PK\0\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0Configurations2/toolbar/PK\0\0\0\0\0\0K;\Z9\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0Configurations2/images/Bitmaps/PK\0\0\0\0K;\Z9�\0=@�\0\0s \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0-\0\0content.xmlPK\0\0\0\0K;\Z9�E�}\0\0�\0\0\n\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0styles.xmlPK\0\0\0\0\0\0K;\Z9�g��\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0meta.xmlPK\0\0\0\0K;\Z9�׃�|\0\0\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0Thumbnails/thumbnail.pngPK\0\0\0\0K;\Z9t����\0\0h\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0settings.xmlPK\0\0\0\0K;\Z95b�9>\0\0J\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0�\0\0META-INF/manifest.xmlPK\0\0\0\0\0\0�\0\07\0\0\0\0', 'odt'); -- -------------------------------------------------------- -- -- Table structure for table `fs_versions` -- CREATE TABLE `fs_versions` ( `id` int(11) NOT NULL AUTO_INCREMENT, `file_id` int(11) NOT NULL, `mtime` int(11) NOT NULL, `user_id` int(11) NOT NULL, `path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `version` int(11) NOT NULL DEFAULT '1', `size_bytes` bigint(20) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `file_id` (`file_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `go_address_format` -- CREATE TABLE `go_address_format` ( `id` int(11) NOT NULL, `format` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_advanced_searches` -- CREATE TABLE `go_advanced_searches` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `user_id` int(11) NOT NULL DEFAULT '0', `acl_id` int(11) NOT NULL DEFAULT '0', `data` text COLLATE utf8mb4_unicode_ci, `model_name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `go_cache` -- CREATE TABLE `go_cache` ( `user_id` int(11) NOT NULL, `key` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `content` longtext COLLATE utf8mb4_unicode_ci, `mtime` int(11) NOT NULL, PRIMARY KEY (`user_id`,`key`), KEY `mtime` (`mtime`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_cf_setting_tabs` -- CREATE TABLE `go_cf_setting_tabs` ( `cf_category_id` int(11) NOT NULL, PRIMARY KEY (`cf_category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_clients` -- CREATE TABLE `go_clients` ( `id` int(11) NOT NULL AUTO_INCREMENT, `footprint` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `user_id` int(11) NOT NULL, `ip` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL, `user_agent` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ctime` int(11) NOT NULL, `last_active` int(11) NOT NULL, `in_use` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `unique_footprint` (`footprint`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `go_countries` -- CREATE TABLE `go_countries` ( `id` int(11) NOT NULL DEFAULT '0', `name` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `iso_code_2` char(2) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `iso_code_3` char(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_cron` -- CREATE TABLE `go_cron` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `active` tinyint(1) NOT NULL DEFAULT '1', `minutes` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1', `hours` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1', `monthdays` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '*', `months` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '*', `weekdays` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '*', `years` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '*', `job` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `runonce` tinyint(1) NOT NULL DEFAULT '0', `nextrun` int(11) NOT NULL DEFAULT '0', `lastrun` int(11) NOT NULL DEFAULT '0', `completedat` int(11) NOT NULL DEFAULT '0', `error` text COLLATE utf8mb4_unicode_ci, `autodestroy` tinyint(1) NOT NULL DEFAULT '0', `params` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `nextrun_active` (`nextrun`,`active`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=4 ; -- -- Dumping data for table `go_cron` -- INSERT INTO `go_cron` VALUES (1, 'Calendar publisher', 1, '0', '*', '*', '*', '*', '*', 'GO\\Calendar\\Cron\\CalendarPublisher', 0, [[timestamp]], 0, 0, NULL, 0, '[]'), (2, 'Email Reminders', 1, '*/5', '*', '*', '*', '*', '*', 'GO\\Base\\Cron\\EmailReminders', 0, [[timestamp]], 0, 0, NULL, 0, '[]'), (3, 'Calculate disk usage', 1, '1', '1', '*', '*', '*', '*', 'GO\\Base\\Cron\\CalculateDiskUsage', 0, [[timestamp_nextday]], 0, 0, NULL, 0, '[]'); -- -------------------------------------------------------- -- -- Table structure for table `go_cron_groups` -- CREATE TABLE `go_cron_groups` ( `cronjob_id` int(11) NOT NULL, `group_id` int(11) NOT NULL, PRIMARY KEY (`cronjob_id`,`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_cron_users` -- CREATE TABLE `go_cron_users` ( `cronjob_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, PRIMARY KEY (`cronjob_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_holidays` -- CREATE TABLE `go_holidays` ( `id` int(11) NOT NULL AUTO_INCREMENT, `date` date NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `region` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `free_day` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `region` (`region`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `go_links_em_links` -- CREATE TABLE `go_links_em_links` ( `id` int(11) NOT NULL, `folder_id` int(11) NOT NULL, `model_id` int(11) NOT NULL, `model_type_id` int(11) NOT NULL, `description` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ctime` int(11) NOT NULL, PRIMARY KEY (`id`,`model_id`,`model_type_id`), KEY `id` (`id`,`folder_id`), KEY `ctime` (`ctime`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_links_fs_files` -- CREATE TABLE `go_links_fs_files` ( `id` int(11) NOT NULL, `folder_id` int(11) NOT NULL, `model_id` int(11) NOT NULL, `model_type_id` int(11) NOT NULL, `description` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ctime` int(11) NOT NULL, PRIMARY KEY (`id`,`model_id`,`model_type_id`), KEY `id` (`id`,`folder_id`), KEY `ctime` (`ctime`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_links_fs_folders` -- CREATE TABLE `go_links_fs_folders` ( `id` int(11) NOT NULL, `folder_id` int(11) NOT NULL, `model_id` int(11) NOT NULL, `model_type_id` int(11) NOT NULL, `description` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ctime` int(11) NOT NULL, PRIMARY KEY (`id`,`model_id`,`model_type_id`), KEY `id` (`id`,`folder_id`), KEY `ctime` (`ctime`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_reminders` -- CREATE TABLE `go_reminders` ( `id` int(11) NOT NULL AUTO_INCREMENT, `model_id` int(11) NOT NULL, `model_type_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `time` int(11) NOT NULL, `vtime` int(11) NOT NULL DEFAULT '0', `snooze_time` int(11) NOT NULL, `manual` tinyint(1) NOT NULL DEFAULT '0', `text` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `go_reminders_users` -- CREATE TABLE `go_reminders_users` ( `reminder_id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `time` int(11) NOT NULL, `mail_sent` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`reminder_id`,`user_id`), KEY `user_id_time` (`user_id`,`time`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_saved_exports` -- CREATE TABLE `go_saved_exports` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `class_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `view` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `export_columns` text COLLATE utf8mb4_unicode_ci, `orientation` enum('V','H') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'V', `include_column_names` tinyint(1) NOT NULL DEFAULT '1', `use_db_column_names` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `go_saved_search_queries` -- CREATE TABLE `go_saved_search_queries` ( `id` int(11) NOT NULL, `user_id` int(11) NOT NULL, `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `sql` text COLLATE utf8mb4_unicode_ci NOT NULL, `type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `type` (`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_search_sync` -- CREATE TABLE `go_search_sync` ( `user_id` int(11) NOT NULL DEFAULT '0', `module` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `last_sync_time` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`user_id`,`module`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_settings` -- CREATE TABLE `go_settings` ( `user_id` int(11) NOT NULL DEFAULT '0', `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `value` longtext COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`user_id`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_state` -- CREATE TABLE `go_state` ( `user_id` int(11) NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `value` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`user_id`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `go_templates` -- CREATE TABLE `go_templates` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `type` tinyint(4) NOT NULL DEFAULT '0', `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `acl_id` int(11) NOT NULL DEFAULT '0', `content` longblob NOT NULL, `filename` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `extension` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `group_id` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_go_templates_go_template_group_idx` (`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC AUTO_INCREMENT=2 ; -- -- Dumping data for table `go_templates` -- INSERT INTO `go_templates` VALUES (1, 1, 0, 'Default', 8, 'Date: [[sql_date]]\r\nTo: undisclosed-recipients:;\r\nFrom: Group-Office <[[admin_email]]>\r\nSubject: \r\nMessage-ID: <d5a16c48d5559ba8254243efad0ce59e@[[domhost]]>\r\nX-Mailer: Group-Office\r\nMIME-Version: 1.0\r\nContent-Type: multipart/alternative;\r\n boundary="b1=_D0vw6ULxUvkbtk9c97L1XGLE9y78iNctDQn6JKfXs"\r\nContent-Transfer-Encoding: 8bit\r\n\r\n--b1=_D0vw6ULxUvkbtk9c97L1XGLE9y78iNctDQn6JKfXs\r\nContent-Type: text/plain; charset=us-ascii\r\n\r\nHi {contact:firstName},\r\n\r\n{body}\r\n\r\nBest regards\r\n\r\n\r\n{user:displayName}\r\n\r\n--b1=_D0vw6ULxUvkbtk9c97L1XGLE9y78iNctDQn6JKfXs\r\nContent-Type: text/html; charset=us-ascii\r\n\r\nHi<gotpl if="contact:firstName"> {contact:firstName},</gotpl><br />\r\n<br />\r\n{body}<br />\r\n<br />\r\nBest regards<br />\r\n<br />\r\n<br />\r\n{user:displayName}<br />\r\n\r\n\r\n--b1=_D0vw6ULxUvkbtk9c97L1XGLE9y78iNctDQn6JKfXs--\r\n', NULL, '', NULL); -- -------------------------------------------------------- -- -- Table structure for table `go_template_group` -- CREATE TABLE `go_template_group` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `go_working_weeks` -- CREATE TABLE `go_working_weeks` ( `user_id` int(11) NOT NULL DEFAULT '0', `mo_work_hours` double NOT NULL DEFAULT '8', `tu_work_hours` double NOT NULL DEFAULT '8', `we_work_hours` double NOT NULL DEFAULT '8', `th_work_hours` double NOT NULL DEFAULT '8', `fr_work_hours` double NOT NULL DEFAULT '8', `sa_work_hours` double NOT NULL DEFAULT '0', `su_work_hours` double NOT NULL DEFAULT '0', PRIMARY KEY (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `history_log_entry` -- CREATE TABLE `history_log_entry` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `action` int(11) DEFAULT NULL, `description` varchar(384) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `changes` text COLLATE utf8mb4_unicode_ci, `createdAt` datetime DEFAULT NULL, `createdBy` int(11) DEFAULT NULL, `aclId` int(11) DEFAULT NULL, `removeAcl` tinyint(1) NOT NULL DEFAULT '0', `entityTypeId` int(11) NOT NULL, `entityId` varchar(100) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `remoteIp` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `requestId` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_log_entry_core_user_idx` (`createdBy`), KEY `fk_log_entry_core_acl1_idx` (`aclId`), KEY `fk_log_entry_core_entity1_idx` (`entityTypeId`), KEY `entityId` (`entityId`), KEY `history_log_entry_createdAt_index` (`createdAt`), KEY `history_log_entry_removeAcl_action_index` (`removeAcl`,`action`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `notes_note` -- CREATE TABLE `notes_note` ( `id` int(11) NOT NULL AUTO_INCREMENT, `noteBookId` int(11) NOT NULL, `createdBy` int(11) DEFAULT NULL, `modifiedBy` int(11) DEFAULT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `content` mediumtext COLLATE utf8mb4_unicode_ci, `filesFolderId` int(11) DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '', `createdAt` datetime DEFAULT NULL, `modifiedAt` datetime DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`createdBy`), KEY `category_id` (`noteBookId`), KEY `modifiedBy` (`modifiedBy`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=173 ; -- -------------------------------------------------------- -- -- Table structure for table `notes_note_book` -- CREATE TABLE `notes_note_book` ( `id` int(11) NOT NULL AUTO_INCREMENT, `deletedAt` datetime DEFAULT NULL, `createdBy` int(11) DEFAULT NULL, `aclId` int(11) NOT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `filesFolderId` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `aclId` (`aclId`), KEY `createdBy` (`createdBy`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=66 ; -- -- Dumping data for table `notes_note_book` -- INSERT INTO `notes_note_book` VALUES (65, NULL, 1, 12, 'Shared', NULL); -- -------------------------------------------------------- -- -- Table structure for table `notes_note_custom_fields` -- CREATE TABLE `notes_note_custom_fields` ( `id` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `notes_note_image` -- CREATE TABLE `notes_note_image` ( `noteId` int(11) NOT NULL, `blobId` binary(40) NOT NULL, PRIMARY KEY (`noteId`,`blobId`), KEY `blobId` (`blobId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `notes_user_settings` -- CREATE TABLE `notes_user_settings` ( `userId` int(11) NOT NULL, `defaultNoteBookId` int(11) DEFAULT NULL, `rememberLastItems` tinyint(1) DEFAULT '0', `lastNoteBookIds` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '', PRIMARY KEY (`userId`), KEY `defaultNoteBookId` (`defaultNoteBookId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `otp_secret` -- CREATE TABLE `otp_secret` ( `userId` int(11) NOT NULL, `secret` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL, `createdAt` datetime NOT NULL, `verified` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`userId`), KEY `user` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `su_announcements` -- CREATE TABLE `su_announcements` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `acl_id` int(11) NOT NULL, `due_time` int(11) NOT NULL DEFAULT '0', `ctime` int(11) NOT NULL DEFAULT '0', `mtime` int(11) NOT NULL DEFAULT '0', `title` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `content` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `due_time` (`due_time`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `su_latest_read_announcement_records` -- CREATE TABLE `su_latest_read_announcement_records` ( `user_id` int(11) NOT NULL, `announcement_id` int(11) DEFAULT NULL, `announcement_ctime` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`user_id`), KEY `su_latest_read_announcement_records_su_announcements_id_fk` (`announcement_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `su_notes` -- CREATE TABLE `su_notes` ( `user_id` int(11) NOT NULL, `text` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `su_rss_feeds` -- CREATE TABLE `su_rss_feeds` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `summary` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `su_rss_feeds_core_user_id_fk` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `su_visible_calendars` -- CREATE TABLE `su_visible_calendars` ( `user_id` int(11) NOT NULL, `calendar_id` int(11) NOT NULL, PRIMARY KEY (`user_id`,`calendar_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `su_visible_lists` -- CREATE TABLE `su_visible_lists` ( `user_id` int(11) NOT NULL, `tasklist_id` int(11) NOT NULL, PRIMARY KEY (`user_id`,`tasklist_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `sync_addressbook_user` -- CREATE TABLE `sync_addressbook_user` ( `addressBookId` int(11) NOT NULL, `userId` int(11) NOT NULL, `isDefault` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`addressBookId`,`userId`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `sync_calendar_user` -- CREATE TABLE `sync_calendar_user` ( `calendar_id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `default_calendar` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`calendar_id`,`user_id`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `sync_devices` -- CREATE TABLE `sync_devices` ( `id` int(11) NOT NULL DEFAULT '0', `manufacturer` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `model` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `software_version` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `user_id` int(11) NOT NULL DEFAULT '0', `uri` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `UTC` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL, `vcalendar_version` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `sync_note_categories_user` -- CREATE TABLE `sync_note_categories_user` ( `category_id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL DEFAULT '0', `default_category` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`category_id`,`user_id`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `sync_settings` -- CREATE TABLE `sync_settings` ( `user_id` int(11) NOT NULL DEFAULT '0', `addressbook_id` int(11) NOT NULL DEFAULT '0', `calendar_id` int(11) NOT NULL DEFAULT '0', `tasklist_id` int(11) NOT NULL DEFAULT '0', `note_category_id` int(11) NOT NULL DEFAULT '0', `account_id` int(11) NOT NULL DEFAULT '0', `server_is_master` tinyint(1) NOT NULL DEFAULT '1', `max_days_old` tinyint(4) NOT NULL DEFAULT '0', `delete_old_events` tinyint(1) NOT NULL DEFAULT '1', `allowDeletes` tinyint(1) DEFAULT '0', PRIMARY KEY (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `sync_tasklist_user` -- CREATE TABLE `sync_tasklist_user` ( `tasklistId` int(11) unsigned NOT NULL AUTO_INCREMENT, `userId` int(11) NOT NULL DEFAULT '0', `isDefault` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`tasklistId`,`userId`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `sync_user_note_book` -- CREATE TABLE `sync_user_note_book` ( `noteBookId` int(11) NOT NULL, `userId` int(11) NOT NULL, `isDefault` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`noteBookId`,`userId`), KEY `user` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks_alert` -- CREATE TABLE `tasks_alert` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `when` datetime NOT NULL, `acknowledged` datetime DEFAULT NULL, `relatedTo` text COLLATE utf8mb4_unicode_ci, `action` smallint(2) NOT NULL DEFAULT '1', `offset` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `relativeTo` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT 'start', `taskId` int(11) unsigned NOT NULL, `userId` int(11) NOT NULL, PRIMARY KEY (`id`,`taskId`,`userId`), KEY `fk_tasks_alert_tasks_task_user1_idx` (`taskId`,`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tasks_category` -- CREATE TABLE `tasks_category` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `ownerId` int(11) DEFAULT NULL, `tasklistId` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `user_id` (`ownerId`), KEY `tasks_category_tasklist_ibfk_9` (`tasklistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tasks_default_alert` -- CREATE TABLE `tasks_default_alert` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `when` datetime NOT NULL, `relatedTo` text COLLATE utf8mb4_unicode_ci, `action` smallint(2) NOT NULL DEFAULT '1', `offset` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `relativeTo` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT 'start', `withTime` tinyint(1) NOT NULL DEFAULT '1', `tasklistId` int(11) unsigned NOT NULL, PRIMARY KEY (`id`,`tasklistId`), KEY `fk_tasks_default_alert_tasks_tasklist1_idx` (`tasklistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tasks_portlet_tasklist` -- CREATE TABLE `tasks_portlet_tasklist` ( `userId` int(11) NOT NULL, `tasklistId` int(11) unsigned NOT NULL, PRIMARY KEY (`userId`,`tasklistId`), KEY `tasklistId` (`tasklistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks_task` -- CREATE TABLE `tasks_task` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `uid` varchar(190) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT '', `tasklistId` int(11) unsigned NOT NULL, `groupId` int(10) unsigned DEFAULT NULL, `responsibleUserId` int(11) DEFAULT NULL, `createdBy` int(11) DEFAULT NULL, `createdAt` datetime NOT NULL, `modifiedAt` datetime NOT NULL, `modifiedBy` int(11) DEFAULT NULL, `filesFolderId` int(11) DEFAULT NULL, `due` date DEFAULT NULL, `start` date DEFAULT NULL, `estimatedDuration` int(11) DEFAULT NULL COMMENT 'Duration in seconds', `progress` tinyint(2) NOT NULL DEFAULT '1', `progressUpdated` datetime DEFAULT NULL, `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` text COLLATE utf8mb4_unicode_ci, `color` char(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `recurrenceRule` varchar(400) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `priority` int(11) NOT NULL DEFAULT '1', `freeBusyStatus` char(4) COLLATE utf8mb4_unicode_ci DEFAULT 'busy', `privacy` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT 'public', `percentComplete` tinyint(4) NOT NULL DEFAULT '0', `uri` varchar(190) CHARACTER SET ascii COLLATE ascii_bin DEFAULT NULL, `vcalendarBlobId` binary(40) DEFAULT NULL, `latitude` decimal(10,8) DEFAULT NULL, `longitude` decimal(11,8) DEFAULT NULL, PRIMARY KEY (`id`), KEY `list_id` (`tasklistId`), KEY `groupId` (`groupId`), KEY `rrule` (`recurrenceRule`(191)), KEY `uuid` (`uid`), KEY `fkModifiedBy` (`modifiedBy`), KEY `createdBy` (`createdBy`), KEY `filesFolderId` (`filesFolderId`), KEY `tasks_task_groupId_idx` (`groupId`), KEY `tasks_vcalendar_blob_idx` (`vcalendarBlobId`), KEY `tasks_task_core_user_id_fk` (`responsibleUserId`), KEY `tasks_task_progress_index` (`progress`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tasks_tasklist` -- CREATE TABLE `tasks_tasklist` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `role` tinyint(2) unsigned DEFAULT NULL, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `createdBy` int(11) DEFAULT NULL, `aclId` int(11) NOT NULL, `version` int(10) unsigned NOT NULL DEFAULT '1', `ownerId` int(11) NOT NULL DEFAULT '1', `filesFolderId` int(11) DEFAULT NULL, `projectId` int(11) DEFAULT NULL, `groupingId` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `fkCreatedBy` (`createdBy`), KEY `fkAcl` (`aclId`), KEY `tasks_tasklist_tasks_tasklist_grouping_null_fk` (`groupingId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tasks_tasklist_group` -- CREATE TABLE `tasks_tasklist_group` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `color` char(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `sortOrder` smallint(2) unsigned NOT NULL DEFAULT '0', `tasklistId` int(11) unsigned NOT NULL, `progressChange` tinyint(2) DEFAULT NULL, PRIMARY KEY (`id`,`tasklistId`), UNIQUE KEY `fk_tasks_column_tasks_id_idx` (`id`), UNIQUE KEY `tasks_tasklist_group_pk` (`id`), KEY `fk_tasks_column_tasks_tasklist1_idx` (`tasklistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tasks_tasklist_grouping` -- CREATE TABLE `tasks_tasklist_grouping` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL, `order` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `tasks_tasklist_grouping_name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `tasks_tasklist_user` -- CREATE TABLE `tasks_tasklist_user` ( `tasklistId` int(11) unsigned NOT NULL, `userId` int(11) NOT NULL, `modSeq` int(11) NOT NULL, `color` char(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `sortOrder` int(11) DEFAULT NULL, `isVisible` tinyint(1) NOT NULL DEFAULT '0', `isSubscribed` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`tasklistId`,`userId`), KEY `fk_tasks_tasklist_user_tasks_tasklist1_idx` (`tasklistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks_task_category` -- CREATE TABLE `tasks_task_category` ( `taskId` int(11) unsigned NOT NULL, `categoryId` int(11) unsigned NOT NULL, PRIMARY KEY (`taskId`,`categoryId`), KEY `tasks_task_category_ibfk_2` (`categoryId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks_task_custom_fields` -- CREATE TABLE `tasks_task_custom_fields` ( `id` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks_task_user` -- CREATE TABLE `tasks_task_user` ( `taskId` int(11) unsigned NOT NULL, `userId` int(11) NOT NULL, `modSeq` int(11) NOT NULL DEFAULT '0', `freeBusyStatus` char(4) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'busy', PRIMARY KEY (`taskId`,`userId`), KEY `fk_tasks_task_user_tasks_task1_idx` (`taskId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks_user_settings` -- CREATE TABLE `tasks_user_settings` ( `userId` int(11) NOT NULL, `defaultTasklistId` int(11) unsigned DEFAULT NULL, `rememberLastItems` tinyint(1) NOT NULL DEFAULT '0', `lastTasklistIds` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `defaultDate` tinyint(1) DEFAULT '0', PRIMARY KEY (`userId`), KEY `tasks_user_settings_tasks_tasklist_id_fk` (`defaultTasklistId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `zpa_devices` -- CREATE TABLE `zpa_devices` ( `id` int(11) NOT NULL AUTO_INCREMENT, `device_id` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `device_type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `remote_addr` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL, `can_connect` tinyint(1) NOT NULL DEFAULT '0', `ctime` int(11) NOT NULL, `mtime` int(11) NOT NULL, `new` tinyint(1) NOT NULL DEFAULT '1', `username` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `comment` text COLLATE utf8mb4_unicode_ci, `as_version` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `device_id` (`device_id`,`username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -- Constraints for dumped tables -- -- -- Constraints for table `addressbook_address` -- ALTER TABLE `addressbook_address` ADD CONSTRAINT `addressbook_address_ibfk_1` FOREIGN KEY (`contactId`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_addressbook` -- ALTER TABLE `addressbook_addressbook` ADD CONSTRAINT `addressbook_addressbook_ibfk_1` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`), ADD CONSTRAINT `addressbook_addressbook_ibfk_2` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION; -- -- Constraints for table `addressbook_contact` -- ALTER TABLE `addressbook_contact` ADD CONSTRAINT `addressbook_contact_ibfk_1` FOREIGN KEY (`addressBookId`) REFERENCES `addressbook_addressbook` (`id`), ADD CONSTRAINT `addressbook_contact_ibfk_2` FOREIGN KEY (`photoBlobId`) REFERENCES `core_blob` (`id`), ADD CONSTRAINT `addressbook_contact_ibfk_3` FOREIGN KEY (`modifiedBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `addressbook_contact_ibfk_4` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `addressbook_contact_ibfk_5` FOREIGN KEY (`goUserId`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `addressbook_contact_ibfk_6` FOREIGN KEY (`vcardBlobId`) REFERENCES `core_blob` (`id`); -- -- Constraints for table `addressbook_contact_custom_fields` -- ALTER TABLE `addressbook_contact_custom_fields` ADD CONSTRAINT `addressbook_contact_custom_fields_ibfk_1` FOREIGN KEY (`id`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_contact_group` -- ALTER TABLE `addressbook_contact_group` ADD CONSTRAINT `addressbook_contact_group_ibfk_1` FOREIGN KEY (`contactId`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `addressbook_contact_group_ibfk_2` FOREIGN KEY (`groupId`) REFERENCES `addressbook_group` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_contact_star` -- ALTER TABLE `addressbook_contact_star` ADD CONSTRAINT `addressbook_contact_star_ibfk_1` FOREIGN KEY (`contactId`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `addressbook_contact_star_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_date` -- ALTER TABLE `addressbook_date` ADD CONSTRAINT `addressbook_date_ibfk_1` FOREIGN KEY (`contactId`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_email_address` -- ALTER TABLE `addressbook_email_address` ADD CONSTRAINT `addressbook_email_address_ibfk_1` FOREIGN KEY (`contactId`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_group` -- ALTER TABLE `addressbook_group` ADD CONSTRAINT `addressbook_group_ibfk_1` FOREIGN KEY (`addressBookId`) REFERENCES `addressbook_addressbook` (`id`); -- -- Constraints for table `addressbook_phone_number` -- ALTER TABLE `addressbook_phone_number` ADD CONSTRAINT `addressbook_phone_number_ibfk_1` FOREIGN KEY (`contactId`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_portlet_birthday` -- ALTER TABLE `addressbook_portlet_birthday` ADD CONSTRAINT `addressbook_portlet_birthday_fk1` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `addressbook_portlet_birthday_fk2` FOREIGN KEY (`addressBookId`) REFERENCES `addressbook_addressbook` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_url` -- ALTER TABLE `addressbook_url` ADD CONSTRAINT `addressbook_url_ibfk_1` FOREIGN KEY (`contactId`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE; -- -- Constraints for table `addressbook_user_settings` -- ALTER TABLE `addressbook_user_settings` ADD CONSTRAINT `addressbook_user_settings_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `addressbook_user_settings_ibfk_2` FOREIGN KEY (`defaultAddressBookId`) REFERENCES `addressbook_addressbook` (`id`) ON DELETE SET NULL; -- -- Constraints for table `bookmarks_bookmark` -- ALTER TABLE `bookmarks_bookmark` ADD CONSTRAINT `bookmarks_bookmark_ibfk_1` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `bookmarks_bookmark_ibfk_2` FOREIGN KEY (`categoryId`) REFERENCES `bookmarks_category` (`id`), ADD CONSTRAINT `core_blob_bookmark_logo` FOREIGN KEY (`logo`) REFERENCES `core_blob` (`id`); -- -- Constraints for table `bookmarks_category` -- ALTER TABLE `bookmarks_category` ADD CONSTRAINT `bookmarks_category_acl_ibfk_1` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`), ADD CONSTRAINT `bookmarks_category_ibfk_1` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL; -- -- Constraints for table `cal_calendars_custom_fields` -- ALTER TABLE `cal_calendars_custom_fields` ADD CONSTRAINT `cal_calendars_custom_fields_ibfk_1` FOREIGN KEY (`id`) REFERENCES `cal_calendars` (`id`) ON DELETE CASCADE; -- -- Constraints for table `cal_events_custom_fields` -- ALTER TABLE `cal_events_custom_fields` ADD CONSTRAINT `cal_events_custom_fields_ibfk_1` FOREIGN KEY (`id`) REFERENCES `cal_events` (`id`) ON DELETE CASCADE; -- -- Constraints for table `comments_comment` -- ALTER TABLE `comments_comment` ADD CONSTRAINT `comments_comment_core_entity_id_fk` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fk_comments_comment_core_user1` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `fk_comments_comment_core_user2` FOREIGN KEY (`modifiedBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL; -- -- Constraints for table `comments_comment_attachment` -- ALTER TABLE `comments_comment_attachment` ADD CONSTRAINT `comments_comment_attachment_comments_comment_id_fk` FOREIGN KEY (`commentId`) REFERENCES `comments_comment` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `comments_comment_attachment_core_blob_id_fk` FOREIGN KEY (`blobId`) REFERENCES `core_blob` (`id`) ON DELETE CASCADE; -- -- Constraints for table `comments_comment_image` -- ALTER TABLE `comments_comment_image` ADD CONSTRAINT `comments_comment_image_ibfk_1` FOREIGN KEY (`blobId`) REFERENCES `core_blob` (`id`), ADD CONSTRAINT `comments_comment_image_ibfk_2` FOREIGN KEY (`commentId`) REFERENCES `comments_comment` (`id`) ON DELETE CASCADE; -- -- Constraints for table `comments_comment_label` -- ALTER TABLE `comments_comment_label` ADD CONSTRAINT `fk_comments_label_has_comments_comment_comments_comment1` FOREIGN KEY (`commentId`) REFERENCES `comments_comment` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fk_comments_label_has_comments_comment_comments_label1` FOREIGN KEY (`labelId`) REFERENCES `comments_label` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_acl` -- ALTER TABLE `core_acl` ADD CONSTRAINT `core_acl_ibfk_1` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `core_acl_ibfk_2` FOREIGN KEY (`ownedBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL; -- -- Constraints for table `core_acl_group` -- ALTER TABLE `core_acl_group` ADD CONSTRAINT `core_acl_group_ibfk_1` FOREIGN KEY (`groupId`) REFERENCES `core_group` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_acl_group_ibfk_2` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `core_acl_group_changes` -- ALTER TABLE `core_acl_group_changes` ADD CONSTRAINT `all` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `group` FOREIGN KEY (`groupId`) REFERENCES `core_group` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `core_alert` -- ALTER TABLE `core_alert` ADD CONSTRAINT `fk_alert_entityType` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, ADD CONSTRAINT `fk_alert_user` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `core_auth_allow_group` -- ALTER TABLE `core_auth_allow_group` ADD CONSTRAINT `core_auth_allow_group_ibfk_1` FOREIGN KEY (`groupId`) REFERENCES `core_group` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_auth_method` -- ALTER TABLE `core_auth_method` ADD CONSTRAINT `core_auth_method_ibfk_1` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_auth_password` -- ALTER TABLE `core_auth_password` ADD CONSTRAINT `core_auth_password_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_auth_remember_me` -- ALTER TABLE `core_auth_remember_me` ADD CONSTRAINT `core_auth_remember_me_core_user_id_fk` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fk_core_auth_remember_me_core_client1` FOREIGN KEY (`clientId`) REFERENCES `core_client` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_auth_token` -- ALTER TABLE `core_auth_token` ADD CONSTRAINT `fk_core_auth_token_core_client1` FOREIGN KEY (`clientId`) REFERENCES `core_client` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fk_core_auth_token_core_user1` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_change` -- ALTER TABLE `core_change` ADD CONSTRAINT `core_change_ibfk_1` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_change_ibfk_2` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`) ON DELETE SET NULL; -- -- Constraints for table `core_change_user` -- ALTER TABLE `core_change_user` ADD CONSTRAINT `core_change_user_ibfk_1` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_change_user_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_change_user_modseq` -- ALTER TABLE `core_change_user_modseq` ADD CONSTRAINT `core_change_user_modseq_ibfk_1` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_change_user_modseq_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_client` -- ALTER TABLE `core_client` ADD CONSTRAINT `core_client_core_user_id_fk` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_cron_job` -- ALTER TABLE `core_cron_job` ADD CONSTRAINT `core_cron_job_ibfk_1` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_customfields_field` -- ALTER TABLE `core_customfields_field` ADD CONSTRAINT `core_customfields_field_ibfk_1` FOREIGN KEY (`fieldSetId`) REFERENCES `core_customfields_field_set` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_customfields_field_set` -- ALTER TABLE `core_customfields_field_set` ADD CONSTRAINT `core_customfields_field_set_core_customfields_field_set_id_fk` FOREIGN KEY (`parentFieldSetId`) REFERENCES `core_customfields_field_set` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `core_customfields_field_set_ibfk_1` FOREIGN KEY (`entityId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_customfields_field_set_ibfk_2` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`); -- -- Constraints for table `core_customfields_select_option` -- ALTER TABLE `core_customfields_select_option` ADD CONSTRAINT `core_customfields_select_option_ibfk_1` FOREIGN KEY (`fieldId`) REFERENCES `core_customfields_field` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_customfields_select_option_ibfk_2` FOREIGN KEY (`fieldId`) REFERENCES `core_customfields_field` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_customfields_select_option_ibfk_3` FOREIGN KEY (`parentId`) REFERENCES `core_customfields_select_option` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_email_template` -- ALTER TABLE `core_email_template` ADD CONSTRAINT `core_email_template_ibfk_2` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_email_template_attachment` -- ALTER TABLE `core_email_template_attachment` ADD CONSTRAINT `core_email_template_attachment_ibfk_1` FOREIGN KEY (`blobId`) REFERENCES `core_blob` (`id`), ADD CONSTRAINT `core_email_template_attachment_ibfk_2` FOREIGN KEY (`emailTemplateId`) REFERENCES `core_email_template` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_entity` -- ALTER TABLE `core_entity` ADD CONSTRAINT `core_entity_ibfk_1` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_entity_ibfk_2` FOREIGN KEY (`defaultAclId`) REFERENCES `core_acl` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_entity_filter` -- ALTER TABLE `core_entity_filter` ADD CONSTRAINT `core_entity_filter_ibfk_1` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`), ADD CONSTRAINT `core_entity_filter_ibfk_2` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_group` -- ALTER TABLE `core_group` ADD CONSTRAINT `core_group_ibfk_1` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`), ADD CONSTRAINT `core_group_ibfk_2` FOREIGN KEY (`isUserGroupFor`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_group_default_group` -- ALTER TABLE `core_group_default_group` ADD CONSTRAINT `core_group_default_group_ibfk_1` FOREIGN KEY (`groupId`) REFERENCES `core_group` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_import_mapping` -- ALTER TABLE `core_import_mapping` ADD CONSTRAINT `core_import_mapping_core_entity_null_fk` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_link` -- ALTER TABLE `core_link` ADD CONSTRAINT `fromEntity` FOREIGN KEY (`fromEntityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `toEntity` FOREIGN KEY (`toEntityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_module` -- ALTER TABLE `core_module` ADD CONSTRAINT `core_module_core_acl_id_fk` FOREIGN KEY (`shadowAclId`) REFERENCES `core_acl` (`id`); -- -- Constraints for table `core_oauth_access_token` -- ALTER TABLE `core_oauth_access_token` ADD CONSTRAINT `core_oauth_access_token_ibfk_2` FOREIGN KEY (`userIdentifier`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_oauth_access_token_ibfk_3` FOREIGN KEY (`clientId`) REFERENCES `core_oauth_client` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_pdf_block` -- ALTER TABLE `core_pdf_block` ADD CONSTRAINT `core_pdf_block_ibfk_1` FOREIGN KEY (`pdfTemplateId`) REFERENCES `core_pdf_template` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_pdf_template` -- ALTER TABLE `core_pdf_template` ADD CONSTRAINT `core_pdf_template_core_blob_id_fk` FOREIGN KEY (`logoBlobId`) REFERENCES `core_blob` (`id`), ADD CONSTRAINT `core_pdf_template_ibfk_1` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_pdf_template_ibfk_2` FOREIGN KEY (`stationaryBlobId`) REFERENCES `core_blob` (`id`); -- -- Constraints for table `core_permission` -- ALTER TABLE `core_permission` ADD CONSTRAINT `fk_permission_group` FOREIGN KEY (`groupId`) REFERENCES `core_group` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION, ADD CONSTRAINT `fk_permission_module` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `core_search` -- ALTER TABLE `core_search` ADD CONSTRAINT `core_search_ibfk_1` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `core_search_ibfk_2` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_search_word` -- ALTER TABLE `core_search_word` ADD CONSTRAINT `core_search_word_ibfk_1` FOREIGN KEY (`searchId`) REFERENCES `core_search` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_setting` -- ALTER TABLE `core_setting` ADD CONSTRAINT `module` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_smtp_account` -- ALTER TABLE `core_smtp_account` ADD CONSTRAINT `core_smtp_account_ibfk_1` FOREIGN KEY (`moduleId`) REFERENCES `core_module` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_smtp_account_ibfk_2` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`); -- -- Constraints for table `core_spreadsheet_export` -- ALTER TABLE `core_spreadsheet_export` ADD CONSTRAINT `core_spreadsheet_export_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_spreadsheet_export_ibfk_2` FOREIGN KEY (`entityTypeId`) REFERENCES `core_entity` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_user` -- ALTER TABLE `core_user` ADD CONSTRAINT `fk_user_avatar_id` FOREIGN KEY (`avatarId`) REFERENCES `core_blob` (`id`) ON UPDATE NO ACTION; -- -- Constraints for table `core_user_custom_fields` -- ALTER TABLE `core_user_custom_fields` ADD CONSTRAINT `core_user_custom_fields_ibfk_1` FOREIGN KEY (`id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_user_default_group` -- ALTER TABLE `core_user_default_group` ADD CONSTRAINT `core_user_default_group_ibfk_1` FOREIGN KEY (`groupId`) REFERENCES `core_group` (`id`) ON DELETE CASCADE; -- -- Constraints for table `core_user_group` -- ALTER TABLE `core_user_group` ADD CONSTRAINT `core_user_group_ibfk_1` FOREIGN KEY (`groupId`) REFERENCES `core_group` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `core_user_group_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `em_contacts_last_mail_times` -- ALTER TABLE `em_contacts_last_mail_times` ADD CONSTRAINT `em_contacts_last_mail_times_addressbook_addressbook_id_fk` FOREIGN KEY (`contact_id`) REFERENCES `addressbook_contact` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `em_contacts_last_mail_times_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `fs_bookmarks` -- ALTER TABLE `fs_bookmarks` ADD CONSTRAINT `fs_bookmarks_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fs_bookmarks_fs_folders_folder_id_fk` FOREIGN KEY (`folder_id`) REFERENCES `fs_folders` (`id`) ON DELETE CASCADE; -- -- Constraints for table `fs_files_custom_fields` -- ALTER TABLE `fs_files_custom_fields` ADD CONSTRAINT `fs_files_custom_fields_ibfk_1` FOREIGN KEY (`id`) REFERENCES `fs_files` (`id`) ON DELETE CASCADE; -- -- Constraints for table `fs_folders_custom_fields` -- ALTER TABLE `fs_folders_custom_fields` ADD CONSTRAINT `fs_folders_custom_fields_ibfk_1` FOREIGN KEY (`id`) REFERENCES `fs_folders` (`id`) ON DELETE CASCADE; -- -- Constraints for table `go_state` -- ALTER TABLE `go_state` ADD CONSTRAINT `go_state_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `go_templates` -- ALTER TABLE `go_templates` ADD CONSTRAINT `fk_go_templates_go_template_group` FOREIGN KEY (`group_id`) REFERENCES `go_template_group` (`id`) ON DELETE SET NULL; -- -- Constraints for table `history_log_entry` -- ALTER TABLE `history_log_entry` ADD CONSTRAINT `fk_log_entry_core_acl1` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `notes_note` -- ALTER TABLE `notes_note` ADD CONSTRAINT `notes_note_ibfk_1` FOREIGN KEY (`noteBookId`) REFERENCES `notes_note_book` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `notes_note_ibfk_2` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION, ADD CONSTRAINT `notes_note_ibfk_3` FOREIGN KEY (`modifiedBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION; -- -- Constraints for table `notes_note_book` -- ALTER TABLE `notes_note_book` ADD CONSTRAINT `notes_note_book_ibfk_1` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`), ADD CONSTRAINT `notes_note_book_ibfk_2` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION; -- -- Constraints for table `notes_note_custom_fields` -- ALTER TABLE `notes_note_custom_fields` ADD CONSTRAINT `notes_note_custom_fields_ibfk_1` FOREIGN KEY (`id`) REFERENCES `notes_note` (`id`) ON DELETE CASCADE; -- -- Constraints for table `notes_note_image` -- ALTER TABLE `notes_note_image` ADD CONSTRAINT `notes_note_image_ibfk_1` FOREIGN KEY (`blobId`) REFERENCES `core_blob` (`id`), ADD CONSTRAINT `notes_note_image_ibfk_2` FOREIGN KEY (`noteId`) REFERENCES `notes_note` (`id`) ON DELETE CASCADE; -- -- Constraints for table `notes_user_settings` -- ALTER TABLE `notes_user_settings` ADD CONSTRAINT `notes_user_settings_ibfk_1` FOREIGN KEY (`defaultNoteBookId`) REFERENCES `notes_note_book` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `notes_user_settings_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `otp_secret` -- ALTER TABLE `otp_secret` ADD CONSTRAINT `otp_secret_user` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `su_latest_read_announcement_records` -- ALTER TABLE `su_latest_read_announcement_records` ADD CONSTRAINT `su_latest_read_announcement_records_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `su_latest_read_announcement_records_su_announcements_id_fk` FOREIGN KEY (`announcement_id`) REFERENCES `su_announcements` (`id`) ON DELETE CASCADE; -- -- Constraints for table `su_notes` -- ALTER TABLE `su_notes` ADD CONSTRAINT `su_notes_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `su_rss_feeds` -- ALTER TABLE `su_rss_feeds` ADD CONSTRAINT `su_rss_feeds_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `su_visible_calendars` -- ALTER TABLE `su_visible_calendars` ADD CONSTRAINT `su_visible_calendars_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `su_visible_lists` -- ALTER TABLE `su_visible_lists` ADD CONSTRAINT `su_visible_lists_core_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `sync_addressbook_user` -- ALTER TABLE `sync_addressbook_user` ADD CONSTRAINT `sync_addressbook_user_ibfk_1` FOREIGN KEY (`addressBookId`) REFERENCES `addressbook_addressbook` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `sync_addressbook_user_ibfk_2` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `sync_tasklist_user` -- ALTER TABLE `sync_tasklist_user` ADD CONSTRAINT `sync_tasklist_user_core_user_id_fk` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `sync_tasklist_user_tasks_tasklist_id_fk` FOREIGN KEY (`tasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE CASCADE; -- -- Constraints for table `sync_user_note_book` -- ALTER TABLE `sync_user_note_book` ADD CONSTRAINT `sync_user_note_book_user` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE; -- -- Constraints for table `tasks_alert` -- ALTER TABLE `tasks_alert` ADD CONSTRAINT `fk_tasks_alert_tasks_task_user1` FOREIGN KEY (`taskId`, `userId`) REFERENCES `tasks_task_user` (`taskId`, `userId`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `tasks_category` -- ALTER TABLE `tasks_category` ADD CONSTRAINT `tasks_category_ibfk_1` FOREIGN KEY (`ownerId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `tasks_category_tasklist_ibfk_9` FOREIGN KEY (`tasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE CASCADE; -- -- Constraints for table `tasks_default_alert` -- ALTER TABLE `tasks_default_alert` ADD CONSTRAINT `fk_tasks_default_alert_tasks_tasklist1` FOREIGN KEY (`tasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `tasks_portlet_tasklist` -- ALTER TABLE `tasks_portlet_tasklist` ADD CONSTRAINT `tasks_portlet_tasklist_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `tasks_portlet_tasklist_ibfk_2` FOREIGN KEY (`tasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE CASCADE; -- -- Constraints for table `tasks_task` -- ALTER TABLE `tasks_task` ADD CONSTRAINT `tasks_task_core_user_id_fk` FOREIGN KEY (`responsibleUserId`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `tasks_task_fkModifiedBy` FOREIGN KEY (`modifiedBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `tasks_task_groupId` FOREIGN KEY (`groupId`) REFERENCES `tasks_tasklist_group` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, ADD CONSTRAINT `tasks_task_ibfk_1` FOREIGN KEY (`tasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `tasks_task_ibfk_2` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`) ON DELETE SET NULL, ADD CONSTRAINT `tasks_vcalendar_blob` FOREIGN KEY (`vcalendarBlobId`) REFERENCES `core_blob` (`id`) ON UPDATE SET NULL; -- -- Constraints for table `tasks_tasklist` -- ALTER TABLE `tasks_tasklist` ADD CONSTRAINT `tasks_tasklist_ibfk1` FOREIGN KEY (`aclId`) REFERENCES `core_acl` (`id`), ADD CONSTRAINT `tasks_tasklist_ibfk2` FOREIGN KEY (`createdBy`) REFERENCES `core_user` (`id`), ADD CONSTRAINT `tasks_tasklist_tasks_tasklist_grouping_null_fk` FOREIGN KEY (`groupingId`) REFERENCES `tasks_tasklist_grouping` (`id`) ON DELETE SET NULL; -- -- Constraints for table `tasks_tasklist_group` -- ALTER TABLE `tasks_tasklist_group` ADD CONSTRAINT `fk_tasks_column_tasks_tasklist1` FOREIGN KEY (`tasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `tasks_tasklist_user` -- ALTER TABLE `tasks_tasklist_user` ADD CONSTRAINT `fk_tasks_tasklist_user_tasks_tasklist1` FOREIGN KEY (`tasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `tasks_task_category` -- ALTER TABLE `tasks_task_category` ADD CONSTRAINT `tasks_task_category_ibfk_1` FOREIGN KEY (`taskId`) REFERENCES `tasks_task` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `tasks_task_category_ibfk_2` FOREIGN KEY (`categoryId`) REFERENCES `tasks_category` (`id`) ON DELETE CASCADE; -- -- Constraints for table `tasks_task_custom_fields` -- ALTER TABLE `tasks_task_custom_fields` ADD CONSTRAINT `fk_tasks_task_custom_field1` FOREIGN KEY (`id`) REFERENCES `tasks_task` (`id`) ON DELETE CASCADE; -- -- Constraints for table `tasks_task_user` -- ALTER TABLE `tasks_task_user` ADD CONSTRAINT `fk_tasks_task_user_tasks_task1` FOREIGN KEY (`taskId`) REFERENCES `tasks_task` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION; -- -- Constraints for table `tasks_user_settings` -- ALTER TABLE `tasks_user_settings` ADD CONSTRAINT `tasks_user_settings_core_user_id_fk` FOREIGN KEY (`userId`) REFERENCES `core_user` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `tasks_user_settings_tasks_tasklist_id_fk` FOREIGN KEY (`defaultTasklistId`) REFERENCES `tasks_tasklist` (`id`) ON DELETE SET NULL; /*!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 */;