ok
Direktori : /var/softaculous/pimcore/ |
Current File : //var/softaculous/pimcore/pimcore.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: `pimcore1150` -- -- -------------------------------------------------------- -- -- Table structure for table `assets` -- CREATE TABLE `assets` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `parentId` int unsigned DEFAULT NULL, `type` varchar(20) DEFAULT NULL, `filename` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '', `path` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL, `mimetype` varchar(190) DEFAULT NULL, `creationDate` int unsigned DEFAULT NULL, `modificationDate` int unsigned DEFAULT NULL, `dataModificationDate` int unsigned DEFAULT NULL, `userOwner` int unsigned DEFAULT NULL, `userModification` int unsigned DEFAULT NULL, `customSettings` longtext, `hasMetaData` tinyint(1) NOT NULL DEFAULT '0', `versionCount` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `fullpath` (`path`,`filename`), KEY `parentId` (`parentId`), KEY `filename` (`filename`), KEY `modificationDate` (`modificationDate`), KEY `versionCount` (`versionCount`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=2 ; -- -- Dumping data for table `assets` -- INSERT INTO `assets` VALUES (1, 0, 'folder', '', '/', NULL, [[timestamp]], [[timestamp]], NULL, 1, 1, NULL, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `assets_image_thumbnail_cache` -- CREATE TABLE `assets_image_thumbnail_cache` ( `cid` int unsigned NOT NULL, `name` varchar(190) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL, `filename` varchar(190) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin NOT NULL, `modificationDate` int unsigned DEFAULT NULL, `filesize` int unsigned DEFAULT NULL, `width` smallint unsigned DEFAULT NULL, `height` smallint unsigned DEFAULT NULL, PRIMARY KEY (`cid`,`name`,`filename`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `assets_metadata` -- CREATE TABLE `assets_metadata` ( `cid` int unsigned NOT NULL, `name` varchar(190) NOT NULL, `language` varchar(10) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '', `type` enum('input','textarea','asset','document','object','date','select','checkbox') DEFAULT NULL, `data` longtext, PRIMARY KEY (`cid`,`name`,`language`), KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `cache_items` -- CREATE TABLE `cache_items` ( `item_id` varbinary(255) NOT NULL, `item_data` mediumblob NOT NULL, `item_lifetime` int unsigned DEFAULT NULL, `item_time` int unsigned NOT NULL, PRIMARY KEY (`item_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `classes` -- CREATE TABLE `classes` ( `id` varchar(50) NOT NULL, `name` varchar(190) NOT NULL DEFAULT '', `definitionModificationDate` int unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `classificationstore_collectionrelations` -- CREATE TABLE `classificationstore_collectionrelations` ( `colId` int unsigned NOT NULL, `groupId` int unsigned NOT NULL, `sorter` int DEFAULT '0', PRIMARY KEY (`colId`,`groupId`), KEY `FK_classificationstore_collectionrelations_groups` (`groupId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `classificationstore_collections` -- CREATE TABLE `classificationstore_collections` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `storeId` int DEFAULT NULL, `name` varchar(255) NOT NULL DEFAULT '', `description` varchar(255) DEFAULT NULL, `creationDate` int unsigned DEFAULT '0', `modificationDate` int unsigned DEFAULT '0', PRIMARY KEY (`id`), KEY `storeId` (`storeId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `classificationstore_groups` -- CREATE TABLE `classificationstore_groups` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `storeId` int DEFAULT NULL, `parentId` int unsigned NOT NULL DEFAULT '0', `name` varchar(190) NOT NULL DEFAULT '', `description` varchar(255) DEFAULT NULL, `creationDate` int unsigned DEFAULT '0', `modificationDate` int unsigned DEFAULT '0', PRIMARY KEY (`id`), KEY `storeId` (`storeId`), KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `classificationstore_keys` -- CREATE TABLE `classificationstore_keys` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `storeId` int DEFAULT NULL, `name` varchar(190) NOT NULL DEFAULT '', `title` varchar(255) NOT NULL DEFAULT '', `description` text, `type` varchar(190) DEFAULT NULL, `creationDate` int unsigned DEFAULT '0', `modificationDate` int unsigned DEFAULT '0', `definition` json DEFAULT NULL, `enabled` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `name` (`name`), KEY `enabled` (`enabled`), KEY `type` (`type`), KEY `storeId` (`storeId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `classificationstore_relations` -- CREATE TABLE `classificationstore_relations` ( `groupId` int unsigned NOT NULL, `keyId` int unsigned NOT NULL, `sorter` int DEFAULT NULL, `mandatory` tinyint(1) DEFAULT NULL, PRIMARY KEY (`groupId`,`keyId`), KEY `FK_classificationstore_relations_classificationstore_keys` (`keyId`), KEY `mandatory` (`mandatory`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `classificationstore_stores` -- CREATE TABLE `classificationstore_stores` ( `id` int NOT NULL AUTO_INCREMENT, `name` varchar(190) DEFAULT NULL, `description` longtext, PRIMARY KEY (`id`), KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `dependencies` -- CREATE TABLE `dependencies` ( `id` bigint NOT NULL AUTO_INCREMENT, `sourcetype` enum('document','asset','object') NOT NULL DEFAULT 'document', `sourceid` int unsigned NOT NULL DEFAULT '0', `targettype` enum('document','asset','object') NOT NULL DEFAULT 'document', `targetid` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `combi` (`sourcetype`,`sourceid`,`targettype`,`targetid`), KEY `targettype_targetid` (`targettype`,`targetid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `documents` -- CREATE TABLE `documents` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `parentId` int unsigned DEFAULT NULL, `type` enum('page','link','snippet','folder','hardlink','email') DEFAULT NULL, `key` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '', `path` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL, `index` int unsigned DEFAULT '0', `published` tinyint unsigned DEFAULT '1', `creationDate` int unsigned DEFAULT NULL, `modificationDate` int unsigned DEFAULT NULL, `userOwner` int unsigned DEFAULT NULL, `userModification` int unsigned DEFAULT NULL, `versionCount` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `fullpath` (`path`,`key`), KEY `parentId` (`parentId`), KEY `key` (`key`), KEY `published` (`published`), KEY `modificationDate` (`modificationDate`), KEY `versionCount` (`versionCount`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=2 ; -- -- Dumping data for table `documents` -- INSERT INTO `documents` VALUES (1, 0, 'page', '', '/', 999999, 1, [[timestamp]], [[timestamp]], 1, 1, 0); -- -------------------------------------------------------- -- -- Table structure for table `documents_editables` -- CREATE TABLE `documents_editables` ( `documentId` int unsigned NOT NULL DEFAULT '0', `name` varchar(750) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '', `type` varchar(50) DEFAULT NULL, `data` longtext, PRIMARY KEY (`documentId`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `documents_email` -- CREATE TABLE `documents_email` ( `id` int unsigned NOT NULL DEFAULT '0', `controller` varchar(500) DEFAULT NULL, `template` varchar(255) DEFAULT NULL, `to` varchar(255) DEFAULT NULL, `from` varchar(255) DEFAULT NULL, `replyTo` varchar(255) DEFAULT NULL, `cc` varchar(255) DEFAULT NULL, `bcc` varchar(255) DEFAULT NULL, `subject` varchar(255) DEFAULT NULL, `missingRequiredEditable` tinyint unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `documents_hardlink` -- CREATE TABLE `documents_hardlink` ( `id` int unsigned NOT NULL DEFAULT '0', `sourceId` int DEFAULT NULL, `propertiesFromSource` tinyint(1) DEFAULT NULL, `childrenFromSource` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `sourceId` (`sourceId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `documents_link` -- CREATE TABLE `documents_link` ( `id` int unsigned NOT NULL DEFAULT '0', `internalType` enum('document','asset','object') DEFAULT NULL, `internal` int unsigned DEFAULT NULL, `direct` varchar(1000) DEFAULT NULL, `linktype` enum('direct','internal') DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `documents_page` -- CREATE TABLE `documents_page` ( `id` int unsigned NOT NULL DEFAULT '0', `controller` varchar(500) DEFAULT NULL, `template` varchar(255) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `description` varchar(383) DEFAULT NULL, `prettyUrl` varchar(255) DEFAULT NULL, `contentMainDocumentId` int DEFAULT NULL, `targetGroupIds` varchar(255) NOT NULL DEFAULT '', `missingRequiredEditable` tinyint unsigned DEFAULT NULL, `staticGeneratorEnabled` tinyint unsigned DEFAULT NULL, `staticGeneratorLifetime` int DEFAULT NULL, PRIMARY KEY (`id`), KEY `prettyUrl` (`prettyUrl`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `documents_page` -- INSERT INTO `documents_page` VALUES (1, 'App\\Controller\\DefaultController::defaultAction', '', '', '', NULL, NULL, '', NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `documents_snippet` -- CREATE TABLE `documents_snippet` ( `id` int unsigned NOT NULL DEFAULT '0', `controller` varchar(500) DEFAULT NULL, `template` varchar(255) DEFAULT NULL, `contentMainDocumentId` int DEFAULT NULL, `missingRequiredEditable` tinyint unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `documents_translations` -- CREATE TABLE `documents_translations` ( `id` int unsigned NOT NULL DEFAULT '0', `sourceId` int unsigned NOT NULL DEFAULT '0', `language` varchar(10) NOT NULL DEFAULT '', PRIMARY KEY (`sourceId`,`language`), KEY `id` (`id`), KEY `language` (`language`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `edit_lock` -- CREATE TABLE `edit_lock` ( `id` int NOT NULL AUTO_INCREMENT, `cid` int unsigned NOT NULL DEFAULT '0', `ctype` enum('document','asset','object') DEFAULT NULL, `userId` int unsigned NOT NULL DEFAULT '0', `sessionId` varchar(255) DEFAULT NULL, `date` int unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `ctype` (`ctype`), KEY `cidtype` (`cid`,`ctype`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `element_workflow_state` -- CREATE TABLE `element_workflow_state` ( `cid` int NOT NULL DEFAULT '0', `ctype` enum('document','asset','object') NOT NULL, `place` text, `workflow` varchar(100) NOT NULL, PRIMARY KEY (`cid`,`ctype`,`workflow`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `email_blocklist` -- CREATE TABLE `email_blocklist` ( `address` varchar(190) NOT NULL DEFAULT '', `creationDate` int unsigned DEFAULT NULL, `modificationDate` int unsigned DEFAULT NULL, PRIMARY KEY (`address`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `email_log` -- CREATE TABLE `email_log` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `documentId` int unsigned DEFAULT NULL, `requestUri` varchar(500) DEFAULT NULL, `params` text, `from` varchar(500) DEFAULT NULL, `replyTo` varchar(255) DEFAULT NULL, `to` longtext, `cc` longtext, `bcc` longtext, `sentDate` int unsigned DEFAULT NULL, `subject` varchar(500) DEFAULT NULL, `error` text, PRIMARY KEY (`id`), KEY `sentDate` (`sentDate`,`id`), KEY `document_id` (`documentId`), FULLTEXT KEY `fulltext` (`from`,`to`,`cc`,`bcc`,`subject`,`params`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `gridconfigs` -- CREATE TABLE `gridconfigs` ( `id` int NOT NULL AUTO_INCREMENT, `ownerId` int DEFAULT NULL, `classId` varchar(50) DEFAULT NULL, `name` varchar(50) DEFAULT NULL, `searchType` varchar(50) DEFAULT NULL, `type` enum('asset','object') NOT NULL DEFAULT 'object', `config` json DEFAULT NULL, `description` longtext, `creationDate` int DEFAULT NULL, `modificationDate` int DEFAULT NULL, `shareGlobally` tinyint(1) DEFAULT NULL, `setAsFavourite` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `ownerId` (`ownerId`), KEY `classId` (`classId`), KEY `searchType` (`searchType`), KEY `shareGlobally` (`shareGlobally`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `gridconfig_favourites` -- CREATE TABLE `gridconfig_favourites` ( `ownerId` int NOT NULL, `classId` varchar(50) NOT NULL, `objectId` int NOT NULL DEFAULT '0', `gridConfigId` int NOT NULL, `searchType` varchar(50) NOT NULL DEFAULT '', `type` enum('asset','object') NOT NULL DEFAULT 'object', PRIMARY KEY (`ownerId`,`classId`,`searchType`,`objectId`), KEY `classId` (`classId`), KEY `searchType` (`searchType`), KEY `grid_config_id` (`gridConfigId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `gridconfig_shares` -- CREATE TABLE `gridconfig_shares` ( `gridConfigId` int NOT NULL, `sharedWithUserId` int NOT NULL, PRIMARY KEY (`gridConfigId`,`sharedWithUserId`), KEY `sharedWithUserId` (`sharedWithUserId`), KEY `grid_config_id` (`gridConfigId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `importconfigs` -- CREATE TABLE `importconfigs` ( `id` int NOT NULL AUTO_INCREMENT, `ownerId` int DEFAULT NULL, `classId` varchar(50) DEFAULT NULL, `name` varchar(50) DEFAULT NULL, `config` json DEFAULT NULL, `description` longtext, `creationDate` int DEFAULT NULL, `modificationDate` int DEFAULT NULL, `shareGlobally` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `ownerId` (`ownerId`), KEY `classId` (`classId`), KEY `shareGlobally` (`shareGlobally`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `importconfig_shares` -- CREATE TABLE `importconfig_shares` ( `importConfigId` int NOT NULL, `sharedWithUserId` int NOT NULL, PRIMARY KEY (`importConfigId`,`sharedWithUserId`), KEY `sharedWithUserId` (`sharedWithUserId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `lock_keys` -- CREATE TABLE `lock_keys` ( `key_id` varchar(64) NOT NULL, `key_token` varchar(44) NOT NULL, `key_expiration` int unsigned NOT NULL, PRIMARY KEY (`key_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; -- -------------------------------------------------------- -- -- Table structure for table `messenger_messages` -- CREATE TABLE `messenger_messages` ( `id` bigint NOT NULL AUTO_INCREMENT, `body` longtext COLLATE utf8mb3_unicode_ci NOT NULL, `headers` longtext COLLATE utf8mb3_unicode_ci NOT NULL, `queue_name` varchar(190) COLLATE utf8mb3_unicode_ci NOT NULL, `created_at` datetime NOT NULL COMMENT '(DC2Type:datetime_immutable)', `available_at` datetime NOT NULL COMMENT '(DC2Type:datetime_immutable)', `delivered_at` datetime DEFAULT NULL COMMENT '(DC2Type:datetime_immutable)', PRIMARY KEY (`id`), KEY `IDX_75EA56E0FB7336F0` (`queue_name`), KEY `IDX_75EA56E0E3BD61CE` (`available_at`), KEY `IDX_75EA56E016BA31DB` (`delivered_at`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `migration_versions` -- CREATE TABLE `migration_versions` ( `version` varchar(1024) COLLATE utf8mb3_unicode_ci NOT NULL, `executed_at` datetime DEFAULT NULL, `execution_time` int DEFAULT NULL, PRIMARY KEY (`version`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; -- -- Dumping data for table `migration_versions` -- INSERT INTO `migration_versions` VALUES ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201007000000', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201008082752', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201008091131', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201008101817', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201008132324', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201009095924', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201012154224', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201014101437', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201113143914', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20201201084201', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210218142556', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210323082921', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210323110055', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210324152821', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210324152822', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210330132354', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210408153226', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210412112812', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210428145320', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210505093841', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210531125102', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210608094532', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210616114744', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210624085031', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210630062445', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210702102100', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210901130000', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20210928135248', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20211016084043', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20211018104331', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20211028134037', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20211028155535', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20211103055110', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20211209131141', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20211221152344', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220119082511', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220120121803', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220120162621', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220201132131', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220214110000', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220317125711', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220318101020', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220402104849', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220411172543', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220419120333', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220425082914', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220502104200', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220506103100', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220511085800', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220614115124', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220617145524', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220718162200', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220725154615', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220809154926', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220809164000', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220816120101', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220829132224', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220830105212', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220906111031', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20220908113752', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221003115124', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221005090000', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221019042134', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221020195451', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221025165133', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221028115803', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221107084519', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221116115427', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221129084031', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221215071650', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221216140012', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221220152444', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221222134837', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221222181745', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20221228101109', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230107224432', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230110130748', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230111074323', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230113165612', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230120111111', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230124120641', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230125164101', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230202152342', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230221073317', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230222075502', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230222174636', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230223101848', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230320110429', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230320131322', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230321133700', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230322114936', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230405162853', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230406113010', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230424084415', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230428112302', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230517115427', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230525131748', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230615103905', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230616085142', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20230913173812', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20231127124738', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20240131080600', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20240222143211', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20240229152000', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20240606165618', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20240708083500', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20240813085200', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20241021111028', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20241025101923', NULL, NULL), ('Pimcore\\Bundle\\CoreBundle\\Migrations\\Version20241114142759', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `notes` -- CREATE TABLE `notes` ( `id` int NOT NULL AUTO_INCREMENT, `type` varchar(255) DEFAULT NULL, `cid` int DEFAULT NULL, `ctype` enum('asset','document','object') DEFAULT NULL, `date` int DEFAULT NULL, `user` int DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `description` longtext, `locked` tinyint unsigned DEFAULT '1', PRIMARY KEY (`id`), KEY `cid_ctype` (`cid`,`ctype`), KEY `date` (`date`), KEY `user` (`user`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `notes_data` -- CREATE TABLE `notes_data` ( `auto_id` int NOT NULL AUTO_INCREMENT, `id` int NOT NULL, `name` varchar(255) NOT NULL, `type` enum('text','date','document','asset','object','bool') DEFAULT NULL, `data` text, PRIMARY KEY (`auto_id`), UNIQUE KEY `UNIQ_E5A8E5E2BF3967505E237E06` (`id`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `notifications` -- CREATE TABLE `notifications` ( `id` int NOT NULL AUTO_INCREMENT, `type` varchar(20) NOT NULL DEFAULT 'info', `title` varchar(250) NOT NULL DEFAULT '', `message` text NOT NULL, `sender` int DEFAULT NULL, `recipient` int NOT NULL, `read` tinyint(1) NOT NULL DEFAULT '0', `creationDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `modificationDate` timestamp NULL DEFAULT NULL, `linkedElementType` enum('document','asset','object') DEFAULT NULL, `linkedElement` int DEFAULT NULL, `payload` longtext, `isStudio` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `recipient` (`recipient`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `objects` -- CREATE TABLE `objects` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `parentId` int unsigned DEFAULT NULL, `type` enum('object','folder','variant') DEFAULT NULL, `key` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '', `path` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL, `index` int unsigned DEFAULT '0', `published` tinyint unsigned DEFAULT '1', `creationDate` int unsigned DEFAULT NULL, `modificationDate` int unsigned DEFAULT NULL, `userOwner` int unsigned DEFAULT NULL, `userModification` int unsigned DEFAULT NULL, `classId` varchar(50) DEFAULT NULL, `className` varchar(255) DEFAULT NULL, `childrenSortBy` enum('key','index') DEFAULT NULL, `childrenSortOrder` enum('ASC','DESC') DEFAULT NULL, `versionCount` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `fullpath` (`path`,`key`), KEY `key` (`key`), KEY `index` (`index`), KEY `published` (`published`), KEY `parentId` (`parentId`), KEY `type_path_classId` (`type`,`path`,`classId`), KEY `modificationDate` (`modificationDate`), KEY `classId` (`classId`), KEY `versionCount` (`versionCount`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=2 ; -- -- Dumping data for table `objects` -- INSERT INTO `objects` VALUES (1, 0, 'folder', '', '/', 999999, 1, [[timestamp]], [[timestamp]], 1, 1, NULL, NULL, NULL, NULL, 0); -- -------------------------------------------------------- -- -- Table structure for table `object_url_slugs` -- CREATE TABLE `object_url_slugs` ( `objectId` int unsigned NOT NULL DEFAULT '0', `classId` varchar(50) NOT NULL DEFAULT '0', `fieldname` varchar(70) NOT NULL DEFAULT '0', `ownertype` enum('object','fieldcollection','localizedfield','objectbrick') NOT NULL DEFAULT 'object', `ownername` varchar(70) NOT NULL DEFAULT '', `position` varchar(70) NOT NULL DEFAULT '0', `slug` varchar(765) NOT NULL, `siteId` int NOT NULL DEFAULT '0', PRIMARY KEY (`slug`,`siteId`), KEY `objectId` (`objectId`), KEY `classId` (`classId`), KEY `fieldname` (`fieldname`), KEY `position` (`position`), KEY `ownertype` (`ownertype`), KEY `ownername` (`ownername`), KEY `slug` (`slug`), KEY `siteId` (`siteId`), KEY `fieldname_ownertype_position_objectId` (`fieldname`,`ownertype`,`position`,`objectId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; -- -------------------------------------------------------- -- -- Table structure for table `properties` -- CREATE TABLE `properties` ( `cid` int unsigned NOT NULL DEFAULT '0', `ctype` enum('document','asset','object') NOT NULL DEFAULT 'document', `cpath` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `name` varchar(190) NOT NULL DEFAULT '', `type` enum('text','document','asset','object','bool','select') DEFAULT NULL, `data` text, `inheritable` tinyint unsigned DEFAULT '1', PRIMARY KEY (`cid`,`ctype`,`name`), KEY `getall` (`cpath`,`ctype`,`inheritable`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; -- -------------------------------------------------------- -- -- Table structure for table `quantityvalue_units` -- CREATE TABLE `quantityvalue_units` ( `id` varchar(50) NOT NULL, `group` varchar(50) DEFAULT NULL, `abbreviation` varchar(20) DEFAULT NULL, `longname` varchar(250) DEFAULT NULL, `baseunit` varchar(50) DEFAULT NULL, `factor` double DEFAULT NULL, `conversionOffset` double DEFAULT NULL, `reference` varchar(50) DEFAULT NULL, `converter` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_baseunit` (`baseunit`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `recyclebin` -- CREATE TABLE `recyclebin` ( `id` int NOT NULL AUTO_INCREMENT, `type` varchar(20) DEFAULT NULL, `subtype` varchar(20) DEFAULT NULL, `path` varchar(765) DEFAULT NULL, `amount` int DEFAULT NULL, `date` int unsigned DEFAULT NULL, `deletedby` varchar(50) DEFAULT NULL, PRIMARY KEY (`id`), KEY `recyclebin_date` (`date`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `schedule_tasks` -- CREATE TABLE `schedule_tasks` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `cid` int unsigned DEFAULT NULL, `ctype` enum('document','asset','object') DEFAULT NULL, `date` int unsigned DEFAULT NULL, `action` enum('publish','unpublish','delete','publish-version') DEFAULT NULL, `version` bigint unsigned DEFAULT NULL, `active` tinyint unsigned DEFAULT '0', `userId` int unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `cid` (`cid`), KEY `ctype` (`ctype`), KEY `active` (`active`), KEY `version` (`version`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `search_backend_data` -- CREATE TABLE `search_backend_data` ( `id` int NOT NULL, `key` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT '', `index` int unsigned DEFAULT '0', `fullpath` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL, `maintype` varchar(8) NOT NULL DEFAULT '', `type` varchar(20) DEFAULT NULL, `subtype` varchar(190) DEFAULT NULL, `published` tinyint unsigned DEFAULT NULL, `creationDate` int unsigned DEFAULT NULL, `modificationDate` int unsigned DEFAULT NULL, `userOwner` int DEFAULT NULL, `userModification` int DEFAULT NULL, `data` longtext, `properties` text, PRIMARY KEY (`id`,`maintype`), KEY `key` (`key`), KEY `index` (`index`), KEY `fullpath` (`fullpath`), KEY `maintype` (`maintype`), KEY `type` (`type`), KEY `subtype` (`subtype`), KEY `published` (`published`), FULLTEXT KEY `fulltext` (`data`,`properties`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; -- -------------------------------------------------------- -- -- Table structure for table `settings_store` -- CREATE TABLE `settings_store` ( `id` varchar(190) NOT NULL DEFAULT '', `scope` varchar(190) NOT NULL DEFAULT '', `data` longtext, `type` enum('bool','int','float','string') NOT NULL DEFAULT 'string', PRIMARY KEY (`id`,`scope`), KEY `scope` (`scope`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `settings_store` -- INSERT INTO `settings_store` VALUES ('BUNDLE_INSTALLED__Pimcore\\Bundle\\AdminBundle\\PimcoreAdminBundle', 'pimcore', '1', 'bool'), ('BUNDLE_INSTALLED__Pimcore\\Bundle\\SimpleBackendSearchBundle\\PimcoreSimpleBackendSearchBundle', 'pimcore', '1', 'bool'); -- -------------------------------------------------------- -- -- Table structure for table `sites` -- CREATE TABLE `sites` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `mainDomain` varchar(255) DEFAULT NULL, `domains` text, `rootId` int unsigned DEFAULT NULL, `errorDocument` varchar(255) DEFAULT NULL, `localizedErrorDocuments` text, `redirectToMainDomain` tinyint(1) DEFAULT NULL, `creationDate` int unsigned DEFAULT '0', `modificationDate` int unsigned DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `rootId` (`rootId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `tags` -- CREATE TABLE `tags` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `parentId` int unsigned DEFAULT NULL, `idPath` varchar(190) DEFAULT NULL, `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `idPath_name` (`idPath`,`name`), KEY `idpath` (`idPath`), KEY `parentid` (`parentId`), KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; -- -------------------------------------------------------- -- -- Table structure for table `tags_assignment` -- CREATE TABLE `tags_assignment` ( `tagid` int unsigned NOT NULL DEFAULT '0', `cid` int NOT NULL DEFAULT '0', `ctype` enum('document','asset','object') NOT NULL, PRIMARY KEY (`tagid`,`cid`,`ctype`), KEY `ctype` (`ctype`), KEY `ctype_cid` (`cid`,`ctype`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `tmp_store` -- CREATE TABLE `tmp_store` ( `id` varchar(190) NOT NULL DEFAULT '', `tag` varchar(190) DEFAULT NULL, `data` longtext, `serialized` tinyint NOT NULL DEFAULT '0', `date` int unsigned DEFAULT NULL, `expiryDate` int unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `tag` (`tag`), KEY `date` (`date`), KEY `expiryDate` (`expiryDate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `translations_admin` -- CREATE TABLE `translations_admin` ( `key` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '', `type` varchar(10) DEFAULT NULL, `language` varchar(10) NOT NULL DEFAULT '', `text` text, `creationDate` int unsigned DEFAULT NULL, `modificationDate` int unsigned DEFAULT NULL, `userOwner` int unsigned DEFAULT NULL, `userModification` int unsigned DEFAULT NULL, PRIMARY KEY (`key`,`language`), KEY `language` (`language`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `translations_messages` -- CREATE TABLE `translations_messages` ( `key` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '', `type` varchar(10) DEFAULT NULL, `language` varchar(10) NOT NULL DEFAULT '', `text` text, `creationDate` int unsigned DEFAULT NULL, `modificationDate` int unsigned DEFAULT NULL, `userOwner` int unsigned DEFAULT NULL, `userModification` int unsigned DEFAULT NULL, PRIMARY KEY (`key`,`language`), KEY `language` (`language`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `tree_locks` -- CREATE TABLE `tree_locks` ( `id` int NOT NULL DEFAULT '0', `type` enum('asset','document','object') NOT NULL DEFAULT 'asset', `locked` enum('self','propagate') DEFAULT NULL, PRIMARY KEY (`id`,`type`), KEY `type` (`type`), KEY `locked` (`locked`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `parentId` int unsigned DEFAULT NULL, `type` enum('user','userfolder','role','rolefolder') NOT NULL DEFAULT 'user', `name` varchar(50) DEFAULT NULL, `password` varchar(190) DEFAULT NULL, `firstname` varchar(255) DEFAULT NULL, `lastname` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `language` varchar(10) DEFAULT 'en', `datetimeLocale` varchar(10) DEFAULT '', `contentLanguages` longtext, `admin` tinyint unsigned DEFAULT '0', `active` tinyint unsigned DEFAULT '1', `permissions` text, `roles` varchar(1000) DEFAULT NULL, `welcomescreen` tinyint(1) DEFAULT NULL, `closeWarning` tinyint(1) DEFAULT NULL, `memorizeTabs` tinyint(1) DEFAULT NULL, `allowDirtyClose` tinyint unsigned DEFAULT '1', `docTypes` text, `classes` text, `twoFactorAuthentication` varchar(255) DEFAULT NULL, `provider` varchar(255) DEFAULT NULL, `activePerspective` varchar(255) DEFAULT NULL, `perspectives` longtext, `websiteTranslationLanguagesEdit` longtext, `websiteTranslationLanguagesView` longtext, `lastLogin` int unsigned DEFAULT NULL, `keyBindings` json DEFAULT NULL, `passwordRecoveryToken` varchar(290) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `type_name` (`type`,`name`), KEY `parentId` (`parentId`), KEY `name` (`name`), KEY `password` (`password`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `users` -- INSERT INTO `users` VALUES (0, 0, 'user', 'system', NULL, NULL, NULL, NULL, 'en', '', NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (2, 0, 'user', '[[admin_username]]', '[[admin_pass]]', NULL, NULL, NULL, 'en', '', NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `users_permission_definitions` -- CREATE TABLE `users_permission_definitions` ( `key` varchar(50) NOT NULL DEFAULT '', `category` varchar(50) NOT NULL DEFAULT '', PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `users_permission_definitions` -- INSERT INTO `users_permission_definitions` VALUES ('admin_translations', 'Pimcore Admin Bundle'), ('asset_metadata', ''), ('assets', ''), ('classes', ''), ('classificationstore', ''), ('clear_cache', ''), ('clear_fullpage_cache', ''), ('clear_temp_files', ''), ('dashboards', ''), ('document_types', ''), ('documents', ''), ('emails', ''), ('fieldcollections', ''), ('gdpr_data_extractor', 'Pimcore Admin Bundle'), ('notes_events', ''), ('notifications', ''), ('notifications_send', ''), ('objectbricks', ''), ('objects', ''), ('objects_sort_method', ''), ('predefined_properties', ''), ('quantityValueUnits', ''), ('recyclebin', ''), ('redirects', ''), ('seemode', ''), ('selectoptions', ''), ('share_configurations', ''), ('sites', ''), ('system_appearance_settings', 'Pimcore Admin Bundle'), ('system_settings', ''), ('tags_assignment', ''), ('tags_configuration', ''), ('tags_search', ''), ('thumbnails', ''), ('translations', ''), ('users', ''), ('website_settings', ''), ('workflow_details', ''); -- -------------------------------------------------------- -- -- Table structure for table `users_workspaces_asset` -- CREATE TABLE `users_workspaces_asset` ( `cid` int unsigned NOT NULL DEFAULT '0', `cpath` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL, `userId` int unsigned NOT NULL DEFAULT '0', `list` tinyint(1) DEFAULT '0', `view` tinyint(1) DEFAULT '0', `publish` tinyint(1) DEFAULT '0', `delete` tinyint(1) DEFAULT '0', `rename` tinyint(1) DEFAULT '0', `create` tinyint(1) DEFAULT '0', `settings` tinyint(1) DEFAULT '0', `versions` tinyint(1) DEFAULT '0', `properties` tinyint(1) DEFAULT '0', PRIMARY KEY (`cid`,`userId`), UNIQUE KEY `cpath_userId` (`cpath`,`userId`), UNIQUE KEY `idx_users_workspaces_list_permission` (`userId`,`cpath`,`list`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; -- -------------------------------------------------------- -- -- Table structure for table `users_workspaces_document` -- CREATE TABLE `users_workspaces_document` ( `cid` int unsigned NOT NULL DEFAULT '0', `cpath` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL, `userId` int unsigned NOT NULL DEFAULT '0', `list` tinyint unsigned DEFAULT '0', `view` tinyint unsigned DEFAULT '0', `save` tinyint unsigned DEFAULT '0', `publish` tinyint unsigned DEFAULT '0', `unpublish` tinyint unsigned DEFAULT '0', `delete` tinyint unsigned DEFAULT '0', `rename` tinyint unsigned DEFAULT '0', `create` tinyint unsigned DEFAULT '0', `settings` tinyint unsigned DEFAULT '0', `versions` tinyint unsigned DEFAULT '0', `properties` tinyint unsigned DEFAULT '0', PRIMARY KEY (`cid`,`userId`), UNIQUE KEY `cpath_userId` (`cpath`,`userId`), UNIQUE KEY `idx_users_workspaces_list_permission` (`userId`,`cpath`,`list`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; -- -------------------------------------------------------- -- -- Table structure for table `users_workspaces_object` -- CREATE TABLE `users_workspaces_object` ( `cid` int unsigned NOT NULL DEFAULT '0', `cpath` varchar(765) CHARACTER SET utf8mb3 COLLATE utf8mb3_bin DEFAULT NULL, `userId` int unsigned NOT NULL DEFAULT '0', `list` tinyint unsigned DEFAULT '0', `view` tinyint unsigned DEFAULT '0', `save` tinyint unsigned DEFAULT '0', `publish` tinyint unsigned DEFAULT '0', `unpublish` tinyint unsigned DEFAULT '0', `delete` tinyint unsigned DEFAULT '0', `rename` tinyint unsigned DEFAULT '0', `create` tinyint unsigned DEFAULT '0', `settings` tinyint unsigned DEFAULT '0', `versions` tinyint unsigned DEFAULT '0', `properties` tinyint unsigned DEFAULT '0', `lEdit` text, `lView` text, `layouts` text, PRIMARY KEY (`cid`,`userId`), UNIQUE KEY `cpath_userId` (`cpath`,`userId`), UNIQUE KEY `idx_users_workspaces_list_permission` (`userId`,`cpath`,`list`), KEY `userId` (`userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; -- -------------------------------------------------------- -- -- Table structure for table `versions` -- CREATE TABLE `versions` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT, `cid` int unsigned DEFAULT NULL, `ctype` enum('document','asset','object') DEFAULT NULL, `userId` int unsigned DEFAULT NULL, `note` text, `stackTrace` text, `date` int unsigned DEFAULT NULL, `public` tinyint unsigned NOT NULL DEFAULT '0', `serialized` tinyint unsigned DEFAULT '0', `versionCount` int unsigned NOT NULL DEFAULT '0', `binaryFileHash` varchar(128) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL, `binaryFileId` bigint unsigned DEFAULT NULL, `autoSave` tinyint NOT NULL DEFAULT '0', `storageType` varchar(5) NOT NULL, PRIMARY KEY (`id`), KEY `cid` (`cid`), KEY `ctype_cid` (`ctype`,`cid`), KEY `date` (`date`), KEY `binaryFileHash` (`binaryFileHash`), KEY `autoSave` (`autoSave`), KEY `stackTrace` (`stackTrace`(1)), KEY `versionCount` (`versionCount`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `webdav_locks` -- CREATE TABLE `webdav_locks` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `owner` varchar(100) DEFAULT NULL, `timeout` int unsigned DEFAULT NULL, `created` int DEFAULT NULL, `token` varbinary(100) DEFAULT NULL, `scope` tinyint DEFAULT NULL, `depth` tinyint DEFAULT NULL, `uri` varbinary(1000) DEFAULT NULL, PRIMARY KEY (`id`), KEY `token` (`token`), KEY `uri` (`uri`(100)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `website_settings` -- CREATE TABLE `website_settings` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `name` varchar(190) NOT NULL DEFAULT '', `type` enum('text','document','asset','object','bool') DEFAULT NULL, `data` text, `language` varchar(15) NOT NULL DEFAULT '', `siteId` int unsigned DEFAULT NULL, `creationDate` int unsigned DEFAULT '0', `modificationDate` int unsigned DEFAULT '0', PRIMARY KEY (`id`), KEY `name` (`name`), KEY `siteId` (`siteId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Constraints for dumped tables -- -- -- Constraints for table `assets_image_thumbnail_cache` -- ALTER TABLE `assets_image_thumbnail_cache` ADD CONSTRAINT `FK_assets_image_thumbnail_cache_assets` FOREIGN KEY (`cid`) REFERENCES `assets` (`id`) ON DELETE CASCADE; -- -- Constraints for table `assets_metadata` -- ALTER TABLE `assets_metadata` ADD CONSTRAINT `FK_assets_metadata_assets` FOREIGN KEY (`cid`) REFERENCES `assets` (`id`) ON DELETE CASCADE; -- -- Constraints for table `classificationstore_collectionrelations` -- ALTER TABLE `classificationstore_collectionrelations` ADD CONSTRAINT `FK_classificationstore_collectionrelations_groups` FOREIGN KEY (`groupId`) REFERENCES `classificationstore_groups` (`id`) ON DELETE CASCADE; -- -- Constraints for table `classificationstore_relations` -- ALTER TABLE `classificationstore_relations` ADD CONSTRAINT `FK_classificationstore_relations_classificationstore_groups` FOREIGN KEY (`groupId`) REFERENCES `classificationstore_groups` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `FK_classificationstore_relations_classificationstore_keys` FOREIGN KEY (`keyId`) REFERENCES `classificationstore_keys` (`id`) ON DELETE CASCADE; -- -- Constraints for table `documents_editables` -- ALTER TABLE `documents_editables` ADD CONSTRAINT `fk_documents_editables_documents` FOREIGN KEY (`documentId`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `documents_email` -- ALTER TABLE `documents_email` ADD CONSTRAINT `fk_documents_email_documents` FOREIGN KEY (`id`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `documents_hardlink` -- ALTER TABLE `documents_hardlink` ADD CONSTRAINT `fk_documents_hardlink_documents` FOREIGN KEY (`id`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `documents_link` -- ALTER TABLE `documents_link` ADD CONSTRAINT `fk_documents_link_documents` FOREIGN KEY (`id`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `documents_page` -- ALTER TABLE `documents_page` ADD CONSTRAINT `fk_documents_page_documents` FOREIGN KEY (`id`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `documents_snippet` -- ALTER TABLE `documents_snippet` ADD CONSTRAINT `fk_documents_snippet_documents` FOREIGN KEY (`id`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `documents_translations` -- ALTER TABLE `documents_translations` ADD CONSTRAINT `fk_documents_translations_documents` FOREIGN KEY (`id`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `email_log` -- ALTER TABLE `email_log` ADD CONSTRAINT `fk_email_log_documents` FOREIGN KEY (`documentId`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `gridconfig_favourites` -- ALTER TABLE `gridconfig_favourites` ADD CONSTRAINT `fk_gridconfig_favourites_gridconfigs` FOREIGN KEY (`gridConfigId`) REFERENCES `gridconfigs` (`id`) ON DELETE CASCADE; -- -- Constraints for table `gridconfig_shares` -- ALTER TABLE `gridconfig_shares` ADD CONSTRAINT `fk_gridconfig_shares_gridconfigs` FOREIGN KEY (`gridConfigId`) REFERENCES `gridconfigs` (`id`) ON DELETE CASCADE; -- -- Constraints for table `object_url_slugs` -- ALTER TABLE `object_url_slugs` ADD CONSTRAINT `fk_object_url_slugs__objectId` FOREIGN KEY (`objectId`) REFERENCES `objects` (`id`) ON DELETE CASCADE; -- -- Constraints for table `quantityvalue_units` -- ALTER TABLE `quantityvalue_units` ADD CONSTRAINT `fk_baseunit` FOREIGN KEY (`baseunit`) REFERENCES `quantityvalue_units` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `sites` -- ALTER TABLE `sites` ADD CONSTRAINT `fk_sites_documents` FOREIGN KEY (`rootId`) REFERENCES `documents` (`id`) ON DELETE CASCADE; -- -- Constraints for table `users_workspaces_asset` -- ALTER TABLE `users_workspaces_asset` ADD CONSTRAINT `fk_users_workspaces_asset_assets` FOREIGN KEY (`cid`) REFERENCES `assets` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fk_users_workspaces_asset_users` FOREIGN KEY (`userId`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `users_workspaces_document` -- ALTER TABLE `users_workspaces_document` ADD CONSTRAINT `fk_users_workspaces_document_documents` FOREIGN KEY (`cid`) REFERENCES `documents` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fk_users_workspaces_document_users` FOREIGN KEY (`userId`) REFERENCES `users` (`id`) ON DELETE CASCADE; -- -- Constraints for table `users_workspaces_object` -- ALTER TABLE `users_workspaces_object` ADD CONSTRAINT `fk_users_workspaces_object_objects` FOREIGN KEY (`cid`) REFERENCES `objects` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `fk_users_workspaces_object_users` FOREIGN KEY (`userId`) REFERENCES `users` (`id`) ON DELETE CASCADE; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;