ok
Direktori : /proc/thread-self/root/proc/self/root/proc/self/root/var/softaculous/directus/ |
Current File : //proc/thread-self/root/proc/self/root/proc/self/root/var/softaculous/directus/directus.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: `script_directus881` -- -- -------------------------------------------------------- -- -- Table structure for table `directus_activity` -- CREATE TABLE `directus_activity` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `action` varchar(45) NOT NULL, `action_by` int(11) unsigned NOT NULL DEFAULT '0', `action_on` datetime NOT NULL, `ip` varchar(50) NOT NULL, `user_agent` varchar(255) NOT NULL, `collection` varchar(64) NOT NULL, `item` varchar(255) NOT NULL, `edited_on` datetime DEFAULT NULL, `comment` text CHARACTER SET utf8mb4, `comment_deleted_on` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `directus_collections` -- CREATE TABLE `directus_collections` ( `collection` varchar(64) NOT NULL, `managed` tinyint(1) unsigned NOT NULL DEFAULT '1', `hidden` tinyint(1) unsigned NOT NULL DEFAULT '0', `single` tinyint(1) unsigned NOT NULL DEFAULT '0', `icon` varchar(30) DEFAULT NULL, `note` varchar(255) DEFAULT NULL, `translation` text, PRIMARY KEY (`collection`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `directus_collection_presets` -- CREATE TABLE `directus_collection_presets` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL, `user` int(11) unsigned DEFAULT NULL, `role` int(11) unsigned DEFAULT NULL, `collection` varchar(64) NOT NULL, `search_query` varchar(100) DEFAULT NULL, `filters` text, `view_type` varchar(100) NOT NULL DEFAULT 'tabular', `view_query` text, `view_options` text, `translation` text, PRIMARY KEY (`id`), UNIQUE KEY `idx_user_collection_title` (`user`,`collection`,`title`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -- Dumping data for table `directus_collection_presets` -- INSERT INTO `directus_collection_presets` VALUES (1, NULL, NULL, NULL, 'directus_activity', NULL, NULL, 'timeline', '{"timeline":{"sort":"-action_on"}}', '{"timeline":{"date":"action_on","title":"{{ action }} by {{ action_by.first_name }} {{ action_by.last_name }} (#{{ item }})","content":"collection","color":"action"}}', NULL), (2, NULL, NULL, NULL, 'directus_files', NULL, NULL, 'cards', NULL, '{"cards":{"title":"title","subtitle":"type","content":"description","src":"data"}}', NULL), (3, NULL, NULL, NULL, 'directus_users', NULL, NULL, 'cards', NULL, '{"cards":{"title":"first_name","subtitle":"last_name","content":"title","src":"avatar","icon":"person"}}', NULL), (4, NULL, NULL, NULL, 'directus_webhooks', NULL, NULL, 'tabular', '{"tabular":{"fields":"status,http_action,url,collection,directus_action"}}', '{"tabular":{"widths":{"status":32,"http_action":72,"url":200,"collection":200,"directus_action":200}}}', NULL); -- -------------------------------------------------------- -- -- Table structure for table `directus_fields` -- CREATE TABLE `directus_fields` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `collection` varchar(64) NOT NULL, `field` varchar(64) NOT NULL, `type` varchar(64) NOT NULL, `interface` varchar(64) DEFAULT NULL, `options` text, `locked` tinyint(1) unsigned NOT NULL DEFAULT '0', `validation` varchar(500) DEFAULT NULL, `required` tinyint(1) unsigned NOT NULL DEFAULT '0', `readonly` tinyint(1) unsigned NOT NULL DEFAULT '0', `hidden_detail` tinyint(1) unsigned NOT NULL DEFAULT '0', `hidden_browse` tinyint(1) unsigned NOT NULL DEFAULT '0', `sort` int(11) unsigned DEFAULT NULL, `width` varchar(50) DEFAULT 'full', `group` int(11) unsigned DEFAULT NULL, `note` varchar(1024) DEFAULT NULL, `translation` text, PRIMARY KEY (`id`), UNIQUE KEY `idx_collection_field` (`collection`,`field`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=171 ; -- -- Dumping data for table `directus_fields` -- INSERT INTO `directus_fields` VALUES (1, 'directus_fields', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (2, 'directus_fields', 'collection', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (3, 'directus_fields', 'field', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (4, 'directus_fields', 'type', 'string', 'primary-key', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (5, 'directus_fields', 'interface', 'string', 'primary-key', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (6, 'directus_fields', 'options', 'json', 'json', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (7, 'directus_fields', 'locked', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (8, 'directus_fields', 'translation', 'json', 'repeater', '{\n "fields": [\n {\n "field": "locale",\n "type": "string",\n "interface": "language",\n "options": {\n "limit": true\n },\n "width": "half"\n },\n {\n "field": "translation",\n "type": "string",\n "interface": "text-input",\n "width": "half"\n }\n ]\n }', 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (9, 'directus_fields', 'readonly', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (10, 'directus_fields', 'validation', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (11, 'directus_fields', 'required', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (12, 'directus_fields', 'sort', 'sort', 'sort', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (13, 'directus_fields', 'note', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (14, 'directus_fields', 'hidden_detail', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (15, 'directus_fields', 'hidden_browse', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (16, 'directus_fields', 'width', 'integer', 'numeric', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (17, 'directus_fields', 'group', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (18, 'directus_fields', 'auth_token_ttl', 'integer', 'numeric', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (19, 'directus_activity', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 1, 1, 0, NULL, 'full', NULL, NULL, NULL), (20, 'directus_activity', 'action', 'string', 'text-input', '{"iconRight":"change_history"}', 1, NULL, 0, 1, 0, 0, 1, 'full', NULL, NULL, NULL), (21, 'directus_activity', 'collection', 'string', 'collections', '{"iconRight":"list_alt","include_system":true}', 1, NULL, 0, 1, 0, 0, 2, 'half', NULL, NULL, NULL), (22, 'directus_activity', 'item', 'string', 'text-input', '{"iconRight":"link"}', 1, NULL, 0, 1, 0, 0, 3, 'half', NULL, NULL, NULL), (23, 'directus_activity', 'action_by', 'integer', 'user', '{"iconRight":"account_circle"}', 1, NULL, 0, 1, 0, 0, 4, 'half', NULL, NULL, NULL), (24, 'directus_activity', 'action_on', 'datetime', 'datetime', '{"showRelative":true,"iconRight":"calendar_today"}', 1, NULL, 0, 1, 0, 0, 5, 'half', NULL, NULL, NULL), (25, 'directus_activity', 'edited_on', 'datetime', 'datetime', '{"showRelative":true,"iconRight":"edit"}', 1, NULL, 0, 1, 0, 0, 6, 'half', NULL, NULL, NULL), (26, 'directus_activity', 'comment_deleted_on', 'datetime', 'datetime', '{"showRelative":true,"iconRight":"delete_outline"}', 1, NULL, 0, 1, 0, 0, 7, 'half', NULL, NULL, NULL), (27, 'directus_activity', 'ip', 'string', 'text-input', '{"iconRight":"my_location"}', 1, NULL, 0, 1, 0, 0, 8, 'half', NULL, NULL, NULL), (28, 'directus_activity', 'user_agent', 'string', 'text-input', '{"iconRight":"devices_other"}', 1, NULL, 0, 1, 0, 0, 9, 'half', NULL, NULL, NULL), (29, 'directus_activity', 'comment', 'string', 'textarea', NULL, 1, NULL, 0, 1, 0, 0, 10, 'full', NULL, NULL, NULL), (30, 'directus_collection_presets', 'id', 'integer', 'primary-key', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (31, 'directus_collection_presets', 'title', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (32, 'directus_collection_presets', 'user', 'integer', 'user', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (33, 'directus_collection_presets', 'role', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (34, 'directus_collection_presets', 'collection', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (35, 'directus_collection_presets', 'search_query', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (36, 'directus_collection_presets', 'filters', 'json', 'json', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (37, 'directus_collection_presets', 'view_options', 'json', 'json', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (38, 'directus_collection_presets', 'view_type', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (39, 'directus_collection_presets', 'view_query', 'json', 'json', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (40, 'directus_collections', 'fields', 'o2m', 'one-to-many', NULL, 1, NULL, 0, 0, 1, 1, 1, 'full', NULL, NULL, NULL), (41, 'directus_collections', 'collection', 'string', 'primary-key', NULL, 1, NULL, 1, 1, 0, 0, 2, 'half', NULL, NULL, NULL), (42, 'directus_collections', 'note', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, 3, 'half', NULL, 'An internal description.', NULL), (43, 'directus_collections', 'managed', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 1, 0, 4, 'half', NULL, '[Learn More](https://docs.directus.io/guides/collections.html#managing-collections).', NULL), (44, 'directus_collections', 'hidden', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, 5, 'half', NULL, '[Learn More](https://docs.directus.io/guides/collections.html#hidden).', NULL), (45, 'directus_collections', 'single', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, 6, 'half', NULL, '[Learn More](https://docs.directus.io/guides/collections.html#single).', NULL), (46, 'directus_collections', 'translation', 'json', 'repeater', '{\n "fields": [\n {\n "field": "locale",\n "type": "string",\n "interface": "language",\n "options": {\n "limit": true\n },\n "width": "half"\n },\n {\n "field": "translation",\n "type": "string",\n "interface": "text-input",\n "width": "half"\n }\n ]\n }', 1, NULL, 0, 0, 0, 0, 7, 'full', NULL, NULL, NULL), (47, 'directus_collections', 'icon', 'string', 'icon', NULL, 1, NULL, 0, 0, 0, 0, 8, 'full', NULL, 'The icon shown in the App''s navigation sidebar.', NULL), (48, 'directus_files', 'preview', 'alias', 'file-preview', NULL, 1, NULL, 0, 0, 0, 0, 1, 'full', NULL, NULL, NULL), (49, 'directus_files', 'title', 'string', 'text-input', '{"placeholder":"Enter a descriptive title...","iconRight":"title"}', 1, NULL, 0, 0, 0, 0, 2, 'full', NULL, NULL, NULL), (50, 'directus_files', 'tags', 'array', 'tags', '{"placeholder":"Enter a keyword then hit enter..."}', 1, NULL, 0, 0, 0, 0, 3, 'half', NULL, NULL, NULL), (51, 'directus_files', 'location', 'string', 'text-input', '{"placeholder":"Enter a location...","iconRight":"place"}', 1, NULL, 0, 0, 0, 0, 4, 'half', NULL, NULL, NULL), (52, 'directus_files', 'description', 'string', 'wysiwyg', '{"toolbar":["bold","italic","underline","link","code"]}', 1, NULL, 0, 0, 0, 0, 5, 'full', NULL, NULL, NULL), (53, 'directus_files', 'filename_download', 'string', 'text-input', '{"monospace":true,"iconRight":"get_app"}', 1, NULL, 0, 0, 0, 0, 6, 'full', NULL, NULL, NULL), (54, 'directus_files', 'filename_disk', 'string', 'text-input', '{"placeholder":"Enter a unique file name...","iconRight":"insert_drive_file"}', 1, NULL, 0, 0, 0, 0, 7, 'full', NULL, NULL, NULL), (55, 'directus_files', 'private_hash', 'string', 'slug', '{"iconRight":"lock"}', 1, NULL, 0, 0, 0, 0, 8, 'half', NULL, NULL, NULL), (56, 'directus_files', 'checksum', 'string', 'text-input', '{"iconRight":"check","monospace":true}', 1, NULL, 0, 1, 0, 0, 9, 'half', NULL, NULL, NULL), (57, 'directus_files', 'uploaded_on', 'datetime', 'datetime', '{"iconRight":"today"}', 1, NULL, 1, 1, 0, 0, 10, 'half', NULL, NULL, NULL), (58, 'directus_files', 'uploaded_by', 'owner', 'owner', NULL, 1, NULL, 1, 1, 0, 0, 11, 'half', NULL, NULL, NULL), (59, 'directus_files', 'width', 'integer', 'numeric', '{"iconRight":"straighten"}', 1, NULL, 0, 1, 0, 0, 12, 'half', NULL, NULL, NULL), (60, 'directus_files', 'height', 'integer', 'numeric', '{"iconRight":"straighten"}', 1, NULL, 0, 1, 0, 0, 13, 'half', NULL, NULL, NULL), (61, 'directus_files', 'duration', 'integer', 'numeric', '{"iconRight":"timer"}', 1, NULL, 0, 1, 0, 0, 14, 'half', NULL, NULL, NULL), (62, 'directus_files', 'filesize', 'integer', 'file-size', '{"iconRight":"storage"}', 1, NULL, 0, 1, 0, 0, 15, 'half', NULL, NULL, NULL), (63, 'directus_files', 'metadata', 'json', 'key-value', '{"keyInterface":"text-input","keyDataType":"string","keyOptions":{"monospace":true,"placeholder":"Key"},"valueInterface":"text-input","valueDataType":"string","valueOptions":{"monospace":true,"placeholder":"Value"}}', 1, NULL, 0, 0, 0, 0, 15, 'full', NULL, NULL, NULL), (64, 'directus_files', 'data', 'alias', 'file', NULL, 1, NULL, 0, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (65, 'directus_files', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (66, 'directus_files', 'type', 'string', 'text-input', NULL, 1, NULL, 0, 1, 1, 0, NULL, 'full', NULL, NULL, NULL), (67, 'directus_files', 'charset', 'string', 'text-input', NULL, 1, NULL, 0, 1, 1, 1, NULL, 'full', NULL, NULL, NULL), (68, 'directus_files', 'embed', 'string', 'text-input', NULL, 1, NULL, 0, 1, 1, 0, NULL, 'full', NULL, NULL, NULL), (69, 'directus_files', 'folder', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (70, 'directus_files', 'storage', 'string', 'text-input', NULL, 1, NULL, 0, 0, 1, 1, NULL, 'full', NULL, NULL, NULL), (71, 'directus_folders', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (72, 'directus_folders', 'name', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (73, 'directus_folders', 'parent_folder', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (74, 'directus_roles', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (75, 'directus_roles', 'external_id', 'string', 'text-input', NULL, 1, NULL, 0, 1, 1, 1, NULL, 'full', NULL, NULL, NULL), (76, 'directus_roles', 'name', 'string', 'text-input', NULL, 1, NULL, 1, 0, 0, 0, 1, 'half', NULL, NULL, NULL), (77, 'directus_roles', 'description', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, 2, 'half', NULL, NULL, NULL), (78, 'directus_roles', 'ip_whitelist', 'array', 'tags', '{"":"Add an IP address..."}', 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (79, 'directus_roles', 'enforce_2fa', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (80, 'directus_roles', 'users', 'o2m', 'one-to-many', '{"fields":"first_name,last_name"}', 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (81, 'directus_roles', 'module_listing', 'json', 'repeater', '{"template":"{{ name }}","createItemText":"Add Module","fields":[{"field":"name","interface":"text-input","type":"string","width":"half"},{"field":"link","interface":"text-input","type":"string","width":"half"},{"field":"icon","interface":"icon","type":"string","width":"full"}]}', 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (82, 'directus_roles', 'collection_listing', 'json', 'repeater', '{"template":"{{ group_name }}","createItemText":"Add Group","fields":[{"field":"group_name","width":"full","interface":"text-input","type":"string"},{"field":"collections","interface":"repeater","type":"JSON","options":{"createItemText":"Add Collection","fields":[{"field":"collection","type":"string","interface":"collections","width":"full"}]}}]}', 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (83, 'directus_permissions', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (84, 'directus_permissions', 'collection', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (85, 'directus_permissions', 'role', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (86, 'directus_permissions', 'status', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (87, 'directus_permissions', 'create', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (88, 'directus_permissions', 'read', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (89, 'directus_permissions', 'update', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (90, 'directus_permissions', 'delete', 'string', 'primary-key', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (91, 'directus_permissions', 'comment', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (92, 'directus_permissions', 'explain', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (93, 'directus_permissions', 'status_blacklist', 'array', 'tags', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (94, 'directus_permissions', 'read_field_blacklist', 'array', 'tags', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (95, 'directus_permissions', 'write_field_blacklist', 'array', 'tags', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (96, 'directus_relations', 'id', 'integer', 'primary-key', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (97, 'directus_relations', 'collection_many', 'string', 'collections', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (98, 'directus_relations', 'field_many', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (99, 'directus_relations', 'collection_one', 'string', 'collections', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (100, 'directus_relations', 'field_one', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (101, 'directus_relations', 'junction_field', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (102, 'directus_revisions', 'id', 'integer', 'primary-key', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (103, 'directus_revisions', 'activity', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (104, 'directus_revisions', 'collection', 'm2o', 'many-to-one', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (105, 'directus_revisions', 'item', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (106, 'directus_revisions', 'data', 'json', 'json', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (107, 'directus_revisions', 'delta', 'json', 'json', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (108, 'directus_revisions', 'parent_item', 'string', 'text-input', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (109, 'directus_revisions', 'parent_collection', 'string', 'collections', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (110, 'directus_revisions', 'parent_changed', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (111, 'directus_settings', 'project_name', 'string', 'text-input', '{"iconRight":"title"}', 1, NULL, 1, 0, 0, 0, 1, 'half', NULL, 'Logo in the top-left of the App (40x40)', NULL), (112, 'directus_settings', 'project_url', 'string', 'text-input', '{"iconRight":"link"}', 1, NULL, 0, 0, 0, 0, 2, 'half', NULL, 'External link for the App''s top-left logo', NULL), (113, 'directus_settings', 'project_logo', 'file', 'file', NULL, 1, NULL, 0, 0, 0, 0, 3, 'half', NULL, 'A 40x40 brand logo, ideally a white SVG/PNG', NULL), (114, 'directus_settings', 'project_color', 'string', 'color', NULL, 1, NULL, 0, 0, 0, 0, 4, 'half', NULL, 'Color for login background and App''s logo', NULL), (115, 'directus_settings', 'project_foreground', 'file', 'file', NULL, 1, NULL, 0, 0, 0, 0, 5, 'half', NULL, 'Centered image (eg: logo) for the login page', NULL), (116, 'directus_settings', 'project_background', 'file', 'file', NULL, 1, NULL, 0, 0, 0, 0, 6, 'half', NULL, 'Full-screen background for the login page', NULL), (117, 'directus_settings', 'project_public_note', 'string', 'markdown', NULL, 1, NULL, 0, 0, 0, 0, 7, 'full', NULL, 'This value will be shown on the public pages of the app', NULL), (118, 'directus_settings', 'default_locale', 'string', 'language', '{"limit":true}', 1, NULL, 0, 0, 0, 0, 8, 'half', NULL, 'Default locale for Directus Users', NULL), (119, 'directus_settings', 'telemetry', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, 9, 'half', NULL, '<a href="https://docs.directus.io/getting-started/concepts.html#telemetry" target="_blank">Learn More</a>', NULL), (120, 'directus_settings', 'data_divider', 'alias', 'divider', '{"style":"large","title":"Data","hr":true}', 1, NULL, 0, 0, 0, 1, 11, 'full', NULL, NULL, NULL), (121, 'directus_settings', 'default_limit', 'integer', 'numeric', '{"iconRight":"keyboard_tab"}', 1, NULL, 1, 0, 0, 0, 12, 'half', NULL, 'Default item count in API and App responses', NULL), (122, 'directus_settings', 'sort_null_last', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, 13, 'half', NULL, 'NULL values are sorted last', NULL), (123, 'directus_settings', 'security_divider', 'alias', 'divider', '{"style":"large","title":"Security","hr":true}', 1, NULL, 0, 0, 0, 1, 20, 'full', NULL, NULL, NULL), (124, 'directus_settings', 'auto_sign_out', 'integer', 'numeric', '{"iconRight":"timer"}', 1, NULL, 1, 0, 0, 0, 22, 'half', NULL, 'Minutes before idle users are signed out', NULL), (125, 'directus_settings', 'login_attempts_allowed', 'integer', 'numeric', '{"iconRight":"lock"}', 1, NULL, 0, 0, 0, 0, 23, 'half', NULL, 'Failed login attempts before suspending users', NULL), (126, 'directus_settings', 'password_policy', 'string', 'dropdown', '{"choices":{"":"None","\\/^.{8,}$\\/":"Weak","\\/(?=^.{8,}$)(?=.*\\\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{'';''?>.<,])(?!.*\\\\s).*$\\/":"Strong"}}', 1, NULL, 0, 0, 0, 0, 24, 'half', NULL, 'Weak: Minimum length 8; Strong: 1 small-case letter, 1 capital letter, 1 digit, 1 special character and the length should be minimum 8', NULL), (127, 'directus_settings', 'auth_token_ttl', 'integer', 'numeric', '{"iconRight":"timer"}', 1, NULL, 0, 0, 0, 0, 25, 'half', NULL, 'Minutes the API authorization token will last', NULL), (128, 'directus_settings', 'files_divider', 'alias', 'divider', '{"style":"large","title":"Files & Thumbnails","hr":true}', 1, NULL, 0, 0, 0, 1, 30, 'full', NULL, NULL, NULL), (129, 'directus_settings', 'file_naming', 'string', 'dropdown', '{"choices":{"uuid":"UUID (Obfuscated)","file_name":"File Name (Readable)"}}', 1, NULL, 0, 0, 0, 0, 31, 'half', NULL, 'File-system naming convention for uploads', NULL), (130, 'directus_settings', 'asset_url_naming', 'string', 'dropdown', '{"choices":{"private_hash":"Private Hash (Obfuscated)","filename_download":"File Name (Readable)"}}', 1, NULL, 0, 0, 0, 0, 32, 'half', NULL, 'Thumbnail URL convention', NULL), (131, 'directus_settings', 'file_mimetype_whitelist', 'array', 'tags', '{"placeholder":"Enter a file mimetype then hit enter (eg: image\\/jpeg)"}', 1, NULL, 0, 0, 0, 0, 33, 'half', NULL, 'Enter a file mimetype then hit enter (eg: image/jpeg)', NULL), (132, 'directus_settings', 'asset_whitelist', 'json', 'repeater', '{"template":"{{key}}","fields":[{"field":"key","interface":"slug","width":"half","type":"string","required":true,"options":{"onlyOnCreate":false}},{"field":"fit","interface":"dropdown","width":"half","type":"string","options":{"choices":{"crop":"Crop (forces exact size)","contain":"Contain (preserve aspect ratio)"}},"required":true},{"field":"width","interface":"numeric","width":"half","type":"integer","required":true},{"field":"height","interface":"numeric","width":"half","type":"integer","required":true},{"field":"quality","interface":"slider","width":"full","type":"integer","default":80,"options":{"min":0,"max":100,"step":1},"required":true}]}', 0, NULL, 0, 0, 0, 0, 34, 'full', NULL, 'Defines how the thumbnail will be generated based on the requested params.', NULL), (133, 'directus_settings', 'asset_whitelist_system', 'json', 'json', NULL, 0, NULL, 0, 1, 1, 1, 35, 'half', NULL, NULL, NULL), (134, 'directus_settings', 'youtube_api_key', 'string', 'text-input', '{"iconRight":"videocam"}', 1, NULL, 0, 0, 0, 0, 36, 'full', NULL, 'Allows fetching more YouTube Embed info', NULL), (135, 'directus_users', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, 1, 'full', NULL, NULL, NULL), (136, 'directus_users', 'status', 'status', 'status', '{"status_mapping":{"draft":{"name":"Draft","text_color":"white","background_color":"light-gray","listing_subdued":false,"listing_badge":true,"soft_delete":false},"invited":{"name":"Invited","text_color":"white","background_color":"light-gray","listing_subdued":false,"listing_badge":true,"soft_delete":false},"active":{"name":"Active","text_color":"white","background_color":"success","listing_subdued":false,"listing_badge":false,"soft_delete":false},"suspended":{"name":"Suspended","text_color":"white","background_color":"light-gray","listing_subdued":false,"listing_badge":true,"soft_delete":false},"deleted":{"name":"Deleted","text_color":"white","background_color":"danger","listing_subdued":false,"listing_badge":true,"soft_delete":true}}}', 1, NULL, 1, 0, 0, 0, 2, 'full', NULL, NULL, NULL), (137, 'directus_users', 'first_name', 'string', 'text-input', '{"iconRight":"account_circle"}', 1, NULL, 1, 0, 0, 0, 3, 'half', NULL, NULL, NULL), (138, 'directus_users', 'last_name', 'string', 'text-input', '{"iconRight":"account_circle"}', 1, NULL, 1, 0, 0, 0, 4, 'half', NULL, NULL, NULL), (139, 'directus_users', 'email', 'string', 'text-input', '{"iconRight":"alternate_email"}', 1, '$email', 1, 0, 0, 0, 5, 'half', NULL, NULL, NULL), (140, 'directus_users', 'email_notifications', 'boolean', 'switch', NULL, 1, NULL, 0, 0, 0, 0, 6, 'half', NULL, NULL, NULL), (141, 'directus_users', 'password', 'hash', 'password', NULL, 1, NULL, 1, 0, 0, 0, 7, 'half', NULL, NULL, NULL), (142, 'directus_users', 'role', 'm2o', 'user-roles', NULL, 1, NULL, 1, 0, 0, 0, 8, 'half', NULL, NULL, NULL), (143, 'directus_users', 'company', 'string', 'text-input', '{"iconRight":"location_city"}', 0, NULL, 0, 0, 0, 0, 9, 'half', NULL, NULL, NULL), (144, 'directus_users', 'title', 'string', 'text-input', '{"iconRight":"text_fields"}', 0, NULL, 0, 0, 0, 0, 10, 'half', NULL, NULL, NULL), (145, 'directus_users', 'timezone', 'string', 'dropdown', '{"choices":{"Pacific\\/Midway":"(UTC-11:00) Midway Island","Pacific\\/Samoa":"(UTC-11:00) Samoa","Pacific\\/Honolulu":"(UTC-10:00) Hawaii","US\\/Alaska":"(UTC-09:00) Alaska","America\\/Los_Angeles":"(UTC-08:00) Pacific Time (US & Canada)","America\\/Tijuana":"(UTC-08:00) Tijuana","US\\/Arizona":"(UTC-07:00) Arizona","America\\/Chihuahua":"(UTC-07:00) Chihuahua","America\\/Mexico\\/La_Paz":"(UTC-07:00) La Paz","America\\/Mazatlan":"(UTC-07:00) Mazatlan","US\\/Mountain":"(UTC-07:00) Mountain Time (US & Canada)","America\\/Managua":"(UTC-06:00) Central America","US\\/Central":"(UTC-06:00) Central Time (US & Canada)","America\\/Guadalajara":"(UTC-06:00) Guadalajara","America\\/Mexico_City":"(UTC-06:00) Mexico City","America\\/Monterrey":"(UTC-06:00) Monterrey","Canada\\/Saskatchewan":"(UTC-06:00) Saskatchewan","America\\/Bogota":"(UTC-05:00) Bogota","US\\/Eastern":"(UTC-05:00) Eastern Time (US & Canada)","US\\/East-Indiana":"(UTC-05:00) Indiana (East)","America\\/Lima":"(UTC-05:00) Lima","America\\/Quito":"(UTC-05:00) Quito","Canada\\/Atlantic":"(UTC-04:00) Atlantic Time (Canada)","America\\/New_York":"(UTC-04:00) New York","America\\/Caracas":"(UTC-04:30) Caracas","America\\/La_Paz":"(UTC-04:00) La Paz","America\\/Santiago":"(UTC-04:00) Santiago","America\\/Santo_Domingo":"(UTC-04:00) Santo Domingo","Canada\\/Newfoundland":"(UTC-03:30) Newfoundland","America\\/Sao_Paulo":"(UTC-03:00) Brasilia","America\\/Argentina\\/Buenos_Aires":"(UTC-03:00) Buenos Aires","America\\/Argentina\\/GeorgeTown":"(UTC-03:00) Georgetown","America\\/Godthab":"(UTC-03:00) Greenland","America\\/Noronha":"(UTC-02:00) Mid-Atlantic","Atlantic\\/Azores":"(UTC-01:00) Azores","Atlantic\\/Cape_Verde":"(UTC-01:00) Cape Verde Is.","Africa\\/Casablanca":"(UTC+00:00) Casablanca","Europe\\/Edinburgh":"(UTC+00:00) Edinburgh","Etc\\/Greenwich":"(UTC+00:00) Greenwich Mean Time : Dublin","Europe\\/Lisbon":"(UTC+00:00) Lisbon","Europe\\/London":"(UTC+00:00) London","Africa\\/Monrovia":"(UTC+00:00) Monrovia","UTC":"(UTC+00:00) UTC","Europe\\/Amsterdam":"(UTC+01:00) Amsterdam","Europe\\/Belgrade":"(UTC+01:00) Belgrade","Europe\\/Berlin":"(UTC+01:00) Berlin","Europe\\/Bern":"(UTC+01:00) Bern","Europe\\/Bratislava":"(UTC+01:00) Bratislava","Europe\\/Brussels":"(UTC+01:00) Brussels","Europe\\/Budapest":"(UTC+01:00) Budapest","Europe\\/Copenhagen":"(UTC+01:00) Copenhagen","Europe\\/Ljubljana":"(UTC+01:00) Ljubljana","Europe\\/Madrid":"(UTC+01:00) Madrid","Europe\\/Paris":"(UTC+01:00) Paris","Europe\\/Prague":"(UTC+01:00) Prague","Europe\\/Rome":"(UTC+01:00) Rome","Europe\\/Sarajevo":"(UTC+01:00) Sarajevo","Europe\\/Skopje":"(UTC+01:00) Skopje","Europe\\/Stockholm":"(UTC+01:00) Stockholm","Europe\\/Vienna":"(UTC+01:00) Vienna","Europe\\/Warsaw":"(UTC+01:00) Warsaw","Africa\\/Lagos":"(UTC+01:00) West Central Africa","Europe\\/Zagreb":"(UTC+01:00) Zagreb","Europe\\/Athens":"(UTC+02:00) Athens","Europe\\/Bucharest":"(UTC+02:00) Bucharest","Africa\\/Cairo":"(UTC+02:00) Cairo","Africa\\/Harare":"(UTC+02:00) Harare","Europe\\/Helsinki":"(UTC+02:00) Helsinki","Europe\\/Istanbul":"(UTC+02:00) Istanbul","Asia\\/Jerusalem":"(UTC+02:00) Jerusalem","Europe\\/Kyiv":"(UTC+02:00) Kyiv","Africa\\/Johannesburg":"(UTC+02:00) Pretoria","Europe\\/Riga":"(UTC+02:00) Riga","Europe\\/Sofia":"(UTC+02:00) Sofia","Europe\\/Tallinn":"(UTC+02:00) Tallinn","Europe\\/Vilnius":"(UTC+02:00) Vilnius","Asia\\/Baghdad":"(UTC+03:00) Baghdad","Asia\\/Kuwait":"(UTC+03:00) Kuwait","Europe\\/Minsk":"(UTC+03:00) Minsk","Africa\\/Nairobi":"(UTC+03:00) Nairobi","Asia\\/Riyadh":"(UTC+03:00) Riyadh","Europe\\/Volgograd":"(UTC+03:00) Volgograd","Asia\\/Tehran":"(UTC+03:30) Tehran","Asia\\/Abu_Dhabi":"(UTC+04:00) Abu Dhabi","Asia\\/Baku":"(UTC+04:00) Baku","Europe\\/Moscow":"(UTC+04:00) Moscow","Asia\\/Muscat":"(UTC+04:00) Muscat","Europe\\/St_Petersburg":"(UTC+04:00) St. Petersburg","Asia\\/Tbilisi":"(UTC+04:00) Tbilisi","Asia\\/Yerevan":"(UTC+04:00) Yerevan","Asia\\/Kabul":"(UTC+04:30) Kabul","Asia\\/Islamabad":"(UTC+05:00) Islamabad","Asia\\/Karachi":"(UTC+05:00) Karachi","Asia\\/Tashkent":"(UTC+05:00) Tashkent","Asia\\/Calcutta":"(UTC+05:30) Chennai","Asia\\/Kolkata":"(UTC+05:30) Kolkata","Asia\\/Mumbai":"(UTC+05:30) Mumbai","Asia\\/New_Delhi":"(UTC+05:30) New Delhi","Asia\\/Sri_Jayawardenepura":"(UTC+05:30) Sri Jayawardenepura","Asia\\/Katmandu":"(UTC+05:45) Kathmandu","Asia\\/Almaty":"(UTC+06:00) Almaty","Asia\\/Astana":"(UTC+06:00) Astana","Asia\\/Dhaka":"(UTC+06:00) Dhaka","Asia\\/Yekaterinburg":"(UTC+06:00) Ekaterinburg","Asia\\/Rangoon":"(UTC+06:30) Rangoon","Asia\\/Bangkok":"(UTC+07:00) Bangkok","Asia\\/Hanoi":"(UTC+07:00) Hanoi","Asia\\/Jakarta":"(UTC+07:00) Jakarta","Asia\\/Novosibirsk":"(UTC+07:00) Novosibirsk","Asia\\/Beijing":"(UTC+08:00) Beijing","Asia\\/Chongqing":"(UTC+08:00) Chongqing","Asia\\/Hong_Kong":"(UTC+08:00) Hong Kong","Asia\\/Krasnoyarsk":"(UTC+08:00) Krasnoyarsk","Asia\\/Kuala_Lumpur":"(UTC+08:00) Kuala Lumpur","Australia\\/Perth":"(UTC+08:00) Perth","Asia\\/Singapore":"(UTC+08:00) Singapore","Asia\\/Taipei":"(UTC+08:00) Taipei","Asia\\/Ulan_Bator":"(UTC+08:00) Ulaan Bataar","Asia\\/Urumqi":"(UTC+08:00) Urumqi","Asia\\/Irkutsk":"(UTC+09:00) Irkutsk","Asia\\/Osaka":"(UTC+09:00) Osaka","Asia\\/Sapporo":"(UTC+09:00) Sapporo","Asia\\/Seoul":"(UTC+09:00) Seoul","Asia\\/Tokyo":"(UTC+09:00) Tokyo","Australia\\/Adelaide":"(UTC+09:30) Adelaide","Australia\\/Darwin":"(UTC+09:30) Darwin","Australia\\/Brisbane":"(UTC+10:00) Brisbane","Australia\\/Canberra":"(UTC+10:00) Canberra","Pacific\\/Guam":"(UTC+10:00) Guam","Australia\\/Hobart":"(UTC+10:00) Hobart","Australia\\/Melbourne":"(UTC+10:00) Melbourne","Pacific\\/Port_Moresby":"(UTC+10:00) Port Moresby","Australia\\/Sydney":"(UTC+10:00) Sydney","Asia\\/Yakutsk":"(UTC+10:00) Yakutsk","Asia\\/Vladivostok":"(UTC+11:00) Vladivostok","Pacific\\/Auckland":"(UTC+12:00) Auckland","Pacific\\/Fiji":"(UTC+12:00) Fiji","Pacific\\/Kwajalein":"(UTC+12:00) International Date Line West","Asia\\/Kamchatka":"(UTC+12:00) Kamchatka","Asia\\/Magadan":"(UTC+12:00) Magadan","Pacific\\/Marshall_Is":"(UTC+12:00) Marshall Is.","Asia\\/New_Caledonia":"(UTC+12:00) New Caledonia","Asia\\/Solomon_Is":"(UTC+12:00) Solomon Is.","Pacific\\/Wellington":"(UTC+12:00) Wellington","Pacific\\/Tongatapu":"(UTC+13:00) Nuku''alofa"},"placeholder":"Choose a timezone..."}', 1, NULL, 1, 0, 0, 0, 11, 'half', NULL, NULL, NULL), (146, 'directus_users', 'locale', 'string', 'language', '{"limit":true}', 1, NULL, 0, 0, 0, 0, 12, 'half', NULL, NULL, NULL), (147, 'directus_users', 'avatar', 'file', 'file', NULL, 1, NULL, 0, 0, 0, 0, 13, 'full', NULL, NULL, NULL), (148, 'directus_users', 'theme', 'string', 'radio-buttons', '{"format":true,"choices":{"auto":"Auto","light":"Light","dark":"Dark"}}', 1, NULL, 0, 0, 0, 0, 14, 'full', NULL, NULL, NULL), (149, 'directus_users', '2fa_secret', 'string', '2fa-secret', NULL, 1, NULL, 0, 1, 0, 0, 15, 'full', NULL, NULL, NULL), (150, 'directus_users', 'locale_options', 'json', 'json', NULL, 1, NULL, 0, 0, 1, 1, 16, 'full', NULL, NULL, NULL), (151, 'directus_users', 'token', 'string', 'text-input', NULL, 1, NULL, 0, 0, 1, 1, 17, 'full', NULL, NULL, NULL), (152, 'directus_users', 'last_access_on', 'datetime', 'datetime', NULL, 1, NULL, 0, 1, 1, 0, 18, 'full', NULL, NULL, NULL), (153, 'directus_users', 'last_page', 'string', 'text-input', NULL, 1, NULL, 0, 1, 1, 1, 19, 'full', NULL, NULL, NULL), (154, 'directus_users', 'external_id', 'string', 'text-input', NULL, 1, NULL, 0, 1, 1, 1, NULL, 'full', NULL, NULL, NULL), (155, 'directus_users', 'password_reset_token', 'string', 'text-input', NULL, 1, NULL, 0, 1, 1, 0, NULL, 'full', NULL, NULL, NULL), (156, 'directus_user_sessions', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (157, 'directus_user_sessions', 'user', 'user', 'user', NULL, 0, NULL, 1, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (158, 'directus_user_sessions', 'token_type', 'string', 'text-input', NULL, 0, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (159, 'directus_user_sessions', 'token', 'string', 'text-input', NULL, 0, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (160, 'directus_user_sessions', 'ip_address', 'string', 'text-input', NULL, 0, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (161, 'directus_user_sessions', 'user_agent', 'string', 'text-input', NULL, 0, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (162, 'directus_user_sessions', 'created_on', 'datetime', 'datetime', NULL, 0, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (163, 'directus_user_sessions', 'token_expired_at', 'datetime', 'datetime', NULL, 0, NULL, 0, 0, 0, 0, NULL, 'full', NULL, NULL, NULL), (164, 'directus_webhooks', 'id', 'integer', 'primary-key', NULL, 1, NULL, 1, 0, 1, 0, NULL, 'full', NULL, NULL, NULL), (165, 'directus_webhooks', 'status', 'status', 'status', '{"status_mapping":{"active":{"name":"Active","value":"active","text_color":"white","background_color":"green","browse_subdued":false,"browse_badge":true,"soft_delete":false,"published":true},"inactive":{"name":"Inactive","value":"inactive","text_color":"white","background_color":"blue-grey","browse_subdued":true,"browse_badge":true,"soft_delete":false,"published":false}}}', 1, NULL, 0, 0, 0, 0, 1, 'full', NULL, NULL, NULL), (166, 'directus_webhooks', 'http_action', 'string', 'dropdown', '{"choices":{"get":"GET","post":"POST"}}', 1, NULL, 1, 0, 0, 0, 2, 'half-space', NULL, NULL, NULL), (167, 'directus_webhooks', 'url', 'string', 'text-input', '{"placeholder":"https:\\/\\/example.com","iconRight":"link"}', 1, NULL, 1, 0, 0, 0, 3, 'full', NULL, '', NULL), (168, 'directus_webhooks', 'collection', 'string', 'collections', NULL, 1, NULL, 1, 0, 0, 0, 4, 'half', NULL, '', NULL), (169, 'directus_webhooks', 'directus_action', 'string', 'dropdown', '{"choices":{"item.create:after":"Create","item.update:after":"Update","item.delete:after":"Delete"}}', 1, NULL, 1, 0, 0, 0, 5, 'half', NULL, '', NULL), (170, 'directus_webhooks', 'info', 'alias', 'divider', '{"style":"medium","title":"How Webhooks Work","hr":true,"margin":false,"description":"When the selected action occurs for the selected collection, Directus will send an HTTP request to the above URL."}', 1, NULL, 0, 0, 0, 1, 6, 'full', NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `directus_files` -- CREATE TABLE `directus_files` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `storage` varchar(50) NOT NULL DEFAULT 'local', `private_hash` varchar(16) DEFAULT NULL, `filename_disk` varchar(255) NOT NULL, `filename_download` varchar(255) NOT NULL, `title` varchar(255) DEFAULT NULL, `type` varchar(255) DEFAULT NULL, `uploaded_by` int(11) unsigned NOT NULL, `uploaded_on` datetime NOT NULL, `charset` varchar(50) DEFAULT NULL, `filesize` int(11) unsigned NOT NULL DEFAULT '0', `width` int(11) unsigned DEFAULT NULL, `height` int(11) unsigned DEFAULT NULL, `duration` int(11) DEFAULT NULL, `embed` varchar(200) DEFAULT NULL, `folder` int(11) unsigned DEFAULT NULL, `description` text, `location` varchar(200) DEFAULT NULL, `tags` varchar(255) DEFAULT NULL, `checksum` varchar(32) DEFAULT NULL, `metadata` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `directus_folders` -- CREATE TABLE `directus_folders` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(191) CHARACTER SET utf8mb4 NOT NULL, `parent_folder` int(11) unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `idx_name_parent_folder` (`name`,`parent_folder`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `directus_migrations` -- CREATE TABLE `directus_migrations` ( `version` bigint(20) NOT NULL, `migration_name` varchar(100) DEFAULT NULL, `start_time` timestamp NULL DEFAULT NULL, `end_time` timestamp NULL DEFAULT NULL, `breakpoint` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`version`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `directus_migrations` -- INSERT INTO `directus_migrations` VALUES (20180220023123, 'CreateFieldsTable', '[[regtime]]', '[[regtime]]', 0), (20180220023138, 'CreateActivityTable', '[[regtime]]', '[[regtime]]', 0), (20180220023152, 'CreateCollectionsPresetsTable', '[[regtime]]', '[[regtime]]', 0), (20180220023157, 'CreateCollectionsTable', '[[regtime]]', '[[regtime]]', 0), (20180220023208, 'CreateFilesTable', '[[regtime]]', '[[regtime]]', 0), (20180220023213, 'CreateFoldersTable', '[[regtime]]', '[[regtime]]', 0), (20180220023217, 'CreateRolesTable', '[[regtime]]', '[[regtime]]', 0), (20180220023226, 'CreatePermissionsTable', '[[regtime]]', '[[regtime]]', 0), (20180220023232, 'CreateRelationsTable', '[[regtime]]', '[[regtime]]', 0), (20180220023238, 'CreateRevisionsTable', '[[regtime]]', '[[regtime]]', 0), (20180220023243, 'CreateSettingsTable', '[[regtime]]', '[[regtime]]', 0), (20180220023248, 'CreateUsersTable', '[[regtime]]', '[[regtime]]', 0), (20181022175715, 'Upgrade070003', '[[regtime]]', '[[regtime]]', 0), (20181102153600, 'TimezoneChoices', '[[regtime]]', '[[regtime]]', 0), (20181105165224, 'Upgrade070006', '[[regtime]]', '[[regtime]]', 0), (20181122195602, 'LocaleInterface', '[[regtime]]', '[[regtime]]', 0), (20181123171520, 'RemoveScope', '[[regtime]]', '[[regtime]]', 0), (20181210204720, 'AddTrustedProxiesSettingField', '[[regtime]]', '[[regtime]]', 0), (20181222023800, 'AddProjectUrlSettingField', '[[regtime]]', '[[regtime]]', 0), (20181227042755, 'IncreaseUsersLastPageLength', '[[regtime]]', '[[regtime]]', 0), (20190104155309, 'AddUsersEmailValidation', '[[regtime]]', '[[regtime]]', 0), (20190111193724, 'AddAppUrlSettingField', '[[regtime]]', '[[regtime]]', 0), (20190111212736, 'AddMissingSettingsField', '[[regtime]]', '[[regtime]]', 0), (20190118181424, 'AddRolesUsersField', '[[regtime]]', '[[regtime]]', 0), (20190130215921, 'AddFilesChecksumField', '[[regtime]]', '[[regtime]]', 0), (20190318173400, 'AddNavOverride', '[[regtime]]', '[[regtime]]', 0), (20190412122400, 'SetPasswordTypeToHash', '[[regtime]]', '[[regtime]]', 0), (20190412123000, 'UseFileInterface', '[[regtime]]', '[[regtime]]', 0), (20190412145800, 'SetO2mOptionsRoles', '[[regtime]]', '[[regtime]]', 0), (20190415125300, 'SetWidth', '[[regtime]]', '[[regtime]]', 0), (20190419154400, 'SettingsFields', '[[regtime]]', '[[regtime]]', 0), (20190419161200, 'CollectionNotes', '[[regtime]]', '[[regtime]]', 0), (20190419173000, 'MiscRequiredFields', '[[regtime]]', '[[regtime]]', 0), (20190422131600, 'UseJson', '[[regtime]]', '[[regtime]]', 0), (20190426156200, 'SetNullableValueFieldSettingsTable', '[[regtime]]', '[[regtime]]', 0), (20190520094300, 'UseTimeline', '[[regtime]]', '[[regtime]]', 0), (20190614103321, 'AddUsers2faSecretField', '[[regtime]]', '[[regtime]]', 0), (20190618190024, 'AddEnforce2faRoleField', '[[regtime]]', '[[regtime]]', 0), (20190626114228, 'AddFileNamingInSetting', '[[regtime]]', '[[regtime]]', 0), (20190702092323, 'AddLoginAttemptsAllowedSetting', '[[regtime]]', '[[regtime]]', 0), (20190704063752, 'UpdateIstanbulTimezone', '[[regtime]]', '[[regtime]]', 0), (20190708095522, 'AddFileExtensionSetting', '[[regtime]]', '[[regtime]]', 0), (20190722110232, 'PasswordValidationSettingField', '[[regtime]]', '[[regtime]]', 0), (20190726064001, 'UpdateNoteForDefaultLimit', '[[regtime]]', '[[regtime]]', 0), (20190819070856, 'UpdateDirectusFieldsField', '[[regtime]]', '[[regtime]]', 0), (20190912072543, 'CreateUserSessions', '[[regtime]]', '[[regtime]]', 0), (20190917090849, 'CreateWebHooks', '[[regtime]]', '[[regtime]]', 0), (20191123053252, 'UpdateDirectusFilesField', '[[regtime]]', '[[regtime]]', 0), (20191129123300, 'UseNewWysiwyg', '[[regtime]]', '[[regtime]]', 0), (20191202164200, 'AddUserSessions', '[[regtime]]', '[[regtime]]', 0), (20191202164201, 'AddWebhooks', '[[regtime]]', '[[regtime]]', 0), (20191202164202, 'RemoveActivitySeen', '[[regtime]]', '[[regtime]]', 0), (20191202164203, 'ConvertUserRoles', '[[regtime]]', '[[regtime]]', 0), (20191202164204, 'UpdateDirectusUsers', '[[regtime]]', '[[regtime]]', 0), (20191202164205, 'UpdateDirectusSettings', '[[regtime]]', '[[regtime]]', 0), (20191202164206, 'UpdateDirectusFiles', '[[regtime]]', '[[regtime]]', 0), (20191202164207, 'UpdateDirectusRoles', '[[regtime]]', '[[regtime]]', 0), (20191202164208, 'ResetDirectusRelations', '[[regtime]]', '[[regtime]]', 0), (20191202164209, 'ResetDirectusFields', '[[regtime]]', '[[regtime]]', 0), (20191203105400, 'AddHashFiledownloadIfEmpty', '[[regtime]]', '[[regtime]]', 0), (20191204151300, 'UseCorrectWysiwyg', '[[regtime]]', '[[regtime]]', 0), (20191205150000, 'UpdateDirectusThumbnailSizes', '[[regtime]]', '[[regtime]]', 0), (20191209130300, 'AddProjectPublicNote', '[[regtime]]', '[[regtime]]', 0), (20191209141700, 'SetOptionsCollectionListing', '[[regtime]]', '[[regtime]]', 0), (20191211140300, 'AllowNullInSettings', '[[regtime]]', '[[regtime]]', 0), (20191211141600, 'HideExternalid', '[[regtime]]', '[[regtime]]', 0), (20191213160000, 'NewTranslationsStructure', '[[regtime]]', '[[regtime]]', 0), (20191216134009, 'AddUserLastPasswordUpdate', '[[regtime]]', '[[regtime]]', 0), (20191216175050, 'RemoveFileMaxSize', '[[regtime]]', '[[regtime]]', 0), (20191220102232, 'UpdateUserCreatedToOwner', '[[regtime]]', '[[regtime]]', 0), (20191223121542, 'UpdateSlugType', '[[regtime]]', '[[regtime]]', 0), (20200108122313, 'AddAssetUrlNamingSetting', '[[regtime]]', '[[regtime]]', 0), (20200120170859, 'UpdateTypeOfCollectionListing', '[[regtime]]', '[[regtime]]', 0), (20200121134200, 'RenameToggle', '[[regtime]]', '[[regtime]]', 0), (20200121134353, 'UpdateUserCreatedInterface', '[[regtime]]', '[[regtime]]', 0), (20200123161848, 'UpdateValidationSizeForDirectusField', '[[regtime]]', '[[regtime]]', 0), (20200129100037, 'UpdateLoginAttemptValue', '[[regtime]]', '[[regtime]]', 0), (20200207095101, 'UpdateSlugOptionForAssetWhiteList', '[[regtime]]', '[[regtime]]', 0), (20200303111750, 'AddAuthTtlField', '[[regtime]]', '[[regtime]]', 0); -- -------------------------------------------------------- -- -- Table structure for table `directus_permissions` -- CREATE TABLE `directus_permissions` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `collection` varchar(64) NOT NULL, `role` int(11) unsigned NOT NULL, `status` varchar(64) DEFAULT NULL, `create` varchar(16) DEFAULT 'none', `read` varchar(16) DEFAULT 'none', `update` varchar(16) DEFAULT 'none', `delete` varchar(16) DEFAULT 'none', `comment` varchar(8) DEFAULT 'none', `explain` varchar(8) DEFAULT 'none', `read_field_blacklist` varchar(1000) DEFAULT NULL, `write_field_blacklist` varchar(1000) DEFAULT NULL, `status_blacklist` varchar(1000) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `directus_relations` -- CREATE TABLE `directus_relations` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `collection_many` varchar(64) NOT NULL, `field_many` varchar(45) NOT NULL, `collection_one` varchar(64) DEFAULT NULL, `field_one` varchar(64) DEFAULT NULL, `junction_field` varchar(64) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; -- -- Dumping data for table `directus_relations` -- INSERT INTO `directus_relations` VALUES (1, 'directus_activity', 'action_by', 'directus_users', NULL, NULL), (2, 'directus_collections_presets', 'user', 'directus_users', NULL, NULL), (3, 'directus_collections_presets', 'group', 'directus_groups', NULL, NULL), (4, 'directus_fields', 'collection', 'directus_collections', 'fields', NULL), (5, 'directus_files', 'uploaded_by', 'directus_users', NULL, NULL), (6, 'directus_files', 'folder', 'directus_folders', NULL, NULL), (7, 'directus_folders', 'parent_folder', 'directus_folders', NULL, NULL), (8, 'directus_permissions', 'group', 'directus_groups', NULL, NULL), (9, 'directus_revisions', 'activity', 'directus_activity', NULL, NULL), (10, 'directus_users', 'role', 'directus_roles', 'users', NULL), (11, 'directus_users', 'avatar', 'directus_files', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `directus_revisions` -- CREATE TABLE `directus_revisions` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `activity` int(11) unsigned NOT NULL, `collection` varchar(64) NOT NULL, `item` varchar(255) NOT NULL, `data` longtext NOT NULL, `delta` longtext, `parent_collection` varchar(64) DEFAULT NULL, `parent_item` varchar(255) DEFAULT NULL, `parent_changed` tinyint(1) unsigned DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `directus_roles` -- CREATE TABLE `directus_roles` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `description` varchar(500) DEFAULT NULL, `ip_whitelist` text, `external_id` varchar(255) DEFAULT NULL, `module_listing` text, `collection_listing` text, `enforce_2fa` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `idx_group_name` (`name`), UNIQUE KEY `idx_roles_external_id` (`external_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; -- -- Dumping data for table `directus_roles` -- INSERT INTO `directus_roles` VALUES (1, 'Administrator', 'Admins have access to all managed data within the system by default', NULL, NULL, NULL, NULL, 0), (2, 'Public', 'Controls what API data is publicly available without authenticating', NULL, NULL, NULL, NULL, 0); -- -------------------------------------------------------- -- -- Table structure for table `directus_settings` -- CREATE TABLE `directus_settings` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `key` varchar(64) NOT NULL, `value` text, PRIMARY KEY (`id`), UNIQUE KEY `idx_key` (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ; -- -- Dumping data for table `directus_settings` -- INSERT INTO `directus_settings` VALUES (1, 'project_url', ''), (2, 'project_logo', ''), (3, 'project_color', '#263238'), (4, 'project_foreground', ''), (5, 'project_background', ''), (6, 'project_public_note', ''), (7, 'default_locale', NULL), (8, 'telemetry', '1'), (9, 'default_limit', '200'), (10, 'sort_null_last', '1'), (11, 'password_policy', ''), (12, 'auto_sign_out', '10080'), (13, 'login_attempts_allowed', '25'), (14, 'auth_token_ttl', '20'), (15, 'trusted_proxies', ''), (16, 'file_mimetype_whitelist', ''), (17, 'file_naming', 'uuid'), (18, 'asset_url_naming', 'private_hash'), (19, 'youtube_api_key', ''), (20, 'asset_whitelist', '[{"key":"thumbnail","width":200,"height":200,"fit":"contain","quality":80}]'), (21, 'asset_whitelist_system', '[{"key":"directus-small-crop","width":64,"height":64,"fit":"crop","quality":80},{"key":"directus-small-contain","width":64,"height":64,"fit":"contain","quality":80},{"key":"directus-medium-crop","width":300,"height":300,"fit":"crop","quality":80},{"key":"directus-medium-contain","width":300,"height":300,"fit":"contain","quality":80},{"key":"directus-large-crop","width":800,"height":600,"fit":"crop","quality":80},{"key":"directus-large-contain","width":800,"height":600,"fit":"contain","quality":80}]'), (22, 'project_name', '[[site_name]]'), (23, 'app_url', ''); -- -------------------------------------------------------- -- -- Table structure for table `directus_users` -- CREATE TABLE `directus_users` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `status` varchar(16) NOT NULL DEFAULT 'draft', `role` int(11) DEFAULT NULL, `first_name` varchar(50) DEFAULT NULL, `last_name` varchar(50) DEFAULT NULL, `email` varchar(128) NOT NULL, `password` varchar(255) DEFAULT NULL, `token` varchar(255) DEFAULT NULL, `timezone` varchar(32) NOT NULL DEFAULT 'America/New_York', `locale` varchar(8) DEFAULT NULL, `locale_options` text, `avatar` int(11) unsigned DEFAULT NULL, `company` varchar(191) DEFAULT NULL, `title` varchar(191) DEFAULT NULL, `email_notifications` int(1) NOT NULL DEFAULT '1', `last_access_on` datetime DEFAULT NULL, `last_page` varchar(192) DEFAULT NULL, `external_id` varchar(255) DEFAULT NULL, `theme` varchar(100) DEFAULT 'auto', `2fa_secret` varchar(100) DEFAULT NULL, `password_reset_token` varchar(520) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `idx_users_email` (`email`), UNIQUE KEY `idx_users_token` (`token`), UNIQUE KEY `idx_users_external_id` (`external_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `directus_users` -- INSERT INTO `directus_users` VALUES (1, 'active', 1, 'Admin', 'User', '[[admin_email]]', '[[admin_pass]]', NULL, 'America/New_York', 'en-US', NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'auto', NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `directus_user_sessions` -- CREATE TABLE `directus_user_sessions` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `user` int(11) unsigned DEFAULT NULL, `token_type` varchar(255) DEFAULT NULL, `token` varchar(520) DEFAULT NULL, `ip_address` varchar(255) DEFAULT NULL, `user_agent` text, `created_on` datetime DEFAULT NULL, `token_expired_at` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `directus_webhooks` -- CREATE TABLE `directus_webhooks` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `status` varchar(16) NOT NULL DEFAULT 'inactive', `http_action` varchar(255) DEFAULT NULL, `url` varchar(510) DEFAULT NULL, `collection` varchar(255) DEFAULT NULL, `directus_action` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; /*!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 */;