Add categories

This commit is contained in:
2023-06-10 16:36:07 +04:00
parent d7e444a46c
commit a59bd92b89

View File

@@ -69,75 +69,132 @@ INSERT INTO directus_migrations VALUES('20230526A','Migrate Translation Strings'
CREATE TABLE IF NOT EXISTS "directus_folders" (`id` char(36) NOT NULL, `name` varchar(255) NOT NULL, `parent` char(36), PRIMARY KEY (`id`), FOREIGN KEY (`parent`) REFERENCES `directus_folders` (`id`));
INSERT INTO directus_folders VALUES('4fe3c63a-cbec-4e7a-af2d-2ba454720476','pages',NULL);
CREATE TABLE IF NOT EXISTS "directus_relations" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `many_collection` varchar(64) NOT NULL, `many_field` varchar(64) NOT NULL, `one_collection` varchar(64), `one_field` varchar(64), `one_collection_field` varchar(64), `one_allowed_collections` text, `junction_field` varchar(64), `sort_field` varchar(64), `one_deselect_action` varchar(255) NOT NULL DEFAULT 'nullify');
INSERT INTO directus_relations VALUES(1,'categories','parent_id','categories','subcategories',NULL,NULL,NULL,NULL,'nullify');
CREATE TABLE IF NOT EXISTS "directus_revisions" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `activity` integer NOT NULL, `collection` varchar(64) NOT NULL, `item` varchar(255) NOT NULL, `data` json, `delta` json, `parent` integer, FOREIGN KEY (`parent`) REFERENCES `directus_revisions` (`id`), FOREIGN KEY (`activity`) REFERENCES `directus_activity` (`id`) ON DELETE CASCADE);
INSERT INTO directus_revisions VALUES(1,2,'directus_settings','1','{"module_bar":[{"type":"module","id":"content","enabled":true},{"type":"module","id":"users","enabled":true},{"type":"module","id":"files","enabled":true},{"type":"module","id":"insights","enabled":true},{"type":"module","id":"settings","enabled":true,"locked":true}]}','{"module_bar":[{"type":"module","id":"content","enabled":true},{"type":"module","id":"users","enabled":true},{"type":"module","id":"files","enabled":true},{"type":"module","id":"insights","enabled":true},{"type":"module","id":"settings","enabled":true,"locked":true}]}',NULL);
INSERT INTO directus_revisions VALUES(2,3,'directus_fields','1','{"interface":"input","readonly":false,"hidden":false,"field":"slug","collection":"pages"}','{"interface":"input","readonly":false,"hidden":false,"field":"slug","collection":"pages"}',NULL);
INSERT INTO directus_revisions VALUES(3,4,'directus_fields','2','{"width":"full","options":{"choices":[{"text":"$t:published","value":"published"},{"text":"$t:draft","value":"draft"},{"text":"$t:archived","value":"archived"}]},"interface":"select-dropdown","display":"labels","display_options":{"showAsDot":true,"choices":[{"text":"$t:published","value":"published","foreground":"#FFFFFF","background":"var(--primary)"},{"text":"$t:draft","value":"draft","foreground":"#18222F","background":"#D3DAE4"},{"text":"$t:archived","value":"archived","foreground":"#FFFFFF","background":"var(--warning)"}]},"field":"status","collection":"pages"}','{"width":"full","options":{"choices":[{"text":"$t:published","value":"published"},{"text":"$t:draft","value":"draft"},{"text":"$t:archived","value":"archived"}]},"interface":"select-dropdown","display":"labels","display_options":{"showAsDot":true,"choices":[{"text":"$t:published","value":"published","foreground":"#FFFFFF","background":"var(--primary)"},{"text":"$t:draft","value":"draft","foreground":"#18222F","background":"#D3DAE4"},{"text":"$t:archived","value":"archived","foreground":"#FFFFFF","background":"var(--warning)"}]},"field":"status","collection":"pages"}',NULL);
INSERT INTO directus_revisions VALUES(4,5,'directus_collections','pages','{"archive_field":"status","archive_value":"archived","unarchive_value":"draft","singleton":false,"collection":"pages"}','{"archive_field":"status","archive_value":"archived","unarchive_value":"draft","singleton":false,"collection":"pages"}',NULL);
INSERT INTO directus_revisions VALUES(5,6,'directus_fields','3','{"interface":"input","special":null,"collection":"pages","field":"title"}','{"interface":"input","special":null,"collection":"pages","field":"title"}',NULL);
INSERT INTO directus_revisions VALUES(6,7,'directus_fields','4','{"interface":"input-rich-text-html","special":null,"options":{"toolbar":["undo","redo","bold","italic","underline","strikethrough","subscript","superscript","fontfamily","fontsize","h1","h2","h3","h4","h5","h6","alignleft","aligncenter","alignright","alignjustify","alignnone","indent","outdent","numlist","bullist","forecolor","backcolor","removeformat","cut","copy","paste","remove","selectall","blockquote","customLink","unlink","customImage","customMedia","table","hr","code","fullscreen","visualaid"],"folder":null},"collection":"pages","field":"content"}','{"interface":"input-rich-text-html","special":null,"options":{"toolbar":["undo","redo","bold","italic","underline","strikethrough","subscript","superscript","fontfamily","fontsize","h1","h2","h3","h4","h5","h6","alignleft","aligncenter","alignright","alignjustify","alignnone","indent","outdent","numlist","bullist","forecolor","backcolor","removeformat","cut","copy","paste","remove","selectall","blockquote","customLink","unlink","customImage","customMedia","table","hr","code","fullscreen","visualaid"],"folder":null},"collection":"pages","field":"content"}',NULL);
INSERT INTO directus_revisions VALUES(7,8,'directus_folders','4fe3c63a-cbec-4e7a-af2d-2ba454720476','{"name":"pages"}','{"name":"pages"}',NULL);
INSERT INTO directus_revisions VALUES(8,9,'directus_fields','4','{"id":4,"collection":"pages","field":"content","special":null,"interface":"input-rich-text-html","options":{"toolbar":["undo","redo","bold","italic","underline","strikethrough","subscript","superscript","fontfamily","fontsize","h1","h2","h3","h4","h5","h6","alignleft","aligncenter","alignright","alignjustify","alignnone","indent","outdent","numlist","bullist","forecolor","backcolor","removeformat","cut","copy","paste","remove","selectall","blockquote","customLink","unlink","customImage","customMedia","table","hr","code","fullscreen","visualaid"],"folder":"4fe3c63a-cbec-4e7a-af2d-2ba454720476"},"display":null,"display_options":null,"readonly":false,"hidden":false,"sort":null,"width":"full","translations":null,"note":null,"conditions":null,"required":false,"group":null,"validation":null,"validation_message":null}','{"collection":"pages","field":"content","special":null,"interface":"input-rich-text-html","options":{"toolbar":["undo","redo","bold","italic","underline","strikethrough","subscript","superscript","fontfamily","fontsize","h1","h2","h3","h4","h5","h6","alignleft","aligncenter","alignright","alignjustify","alignnone","indent","outdent","numlist","bullist","forecolor","backcolor","removeformat","cut","copy","paste","remove","selectall","blockquote","customLink","unlink","customImage","customMedia","table","hr","code","fullscreen","visualaid"],"folder":"4fe3c63a-cbec-4e7a-af2d-2ba454720476"},"display":null,"display_options":null,"readonly":false,"hidden":false,"sort":null,"width":"full","translations":null,"note":null,"conditions":null,"required":false,"group":null,"validation":null,"validation_message":null}',NULL);
INSERT INTO directus_revisions VALUES(9,10,'directus_collections','pages','{"collection":"pages","icon":"note","note":null,"display_template":null,"hidden":false,"singleton":false,"translations":null,"archive_field":"status","archive_app_filter":true,"archive_value":"archived","unarchive_value":"draft","sort_field":null,"accountability":"all","color":null,"item_duplication_fields":null,"sort":null,"group":null,"collapse":"open","preview_url":null}','{"icon":"note"}',NULL);
INSERT INTO directus_revisions VALUES(10,11,'directus_permissions','1','{"role":null,"collection":"pages","action":"read"}','{"role":null,"collection":"pages","action":"read"}',NULL);
INSERT INTO directus_revisions VALUES(11,12,'directus_permissions','1','{"id":1,"role":null,"collection":"pages","action":"read","permissions":{"_and":[{"status":{"_eq":"published"}}]},"validation":null,"presets":null,"fields":null}','{"role":null,"collection":"pages","action":"read","permissions":{"_and":[{"status":{"_eq":"published"}}]},"validation":null,"presets":null,"fields":null}',NULL);
INSERT INTO directus_revisions VALUES(12,13,'pages','about-us','{"slug":"about-us","status":"published","title":"About Us","content":"<p>Lorem ipsum ...</p>"}','{"slug":"about-us","status":"published","title":"About Us","content":"<p>Lorem ipsum ...</p>"}',NULL);
CREATE TABLE `directus_dashboards` (`id` char(36) not null, `name` varchar(255) not null, `icon` varchar(30) not null default 'dashboard', `note` text, `date_created` datetime default CURRENT_TIMESTAMP, `user_created` char(36), `color` varchar(255) null, foreign key(`user_created`) references `directus_users`(`id`) on delete SET NULL, primary key (`id`));
CREATE TABLE IF NOT EXISTS "directus_files" (`id` char(36) NOT NULL, `storage` varchar(255) NOT NULL, `filename_disk` varchar(255), `filename_download` varchar(255) NOT NULL, `title` varchar(255), `type` varchar(255), `folder` char(36), `uploaded_by` char(36), `uploaded_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `modified_by` char(36), `modified_on` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `charset` varchar(50), `filesize` bigint DEFAULT null, `width` integer, `height` integer, `duration` integer, `embed` varchar(200), `description` text, `location` text, `tags` text, `metadata` json, PRIMARY KEY (`id`), FOREIGN KEY (`uploaded_by`) REFERENCES `directus_users` (`id`), FOREIGN KEY (`modified_by`) REFERENCES `directus_users` (`id`), FOREIGN KEY (`folder`) REFERENCES `directus_folders` (`id`) ON DELETE SET NULL);
CREATE TABLE IF NOT EXISTS "directus_permissions" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `role` char(36), `collection` varchar(64) NOT NULL, `action` varchar(10) NOT NULL, `permissions` json, `validation` json, `presets` json, `fields` text, FOREIGN KEY (`role`) REFERENCES `directus_roles` (`id`) ON DELETE CASCADE);
INSERT INTO directus_permissions VALUES(1,NULL,'pages','read','{"_and":[{"status":{"_eq":"published"}}]}',NULL,NULL,NULL);
INSERT INTO directus_permissions VALUES(2,NULL,'categories','create','{}','{}',NULL,'*');
INSERT INTO directus_permissions VALUES(3,NULL,'categories','update','{}','{}',NULL,'*');
INSERT INTO directus_permissions VALUES(4,NULL,'categories','read','{}','{}',NULL,'*');
CREATE TABLE IF NOT EXISTS "directus_webhooks" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `name` varchar(255) NOT NULL, `method` varchar(10) NOT NULL DEFAULT 'POST', `url` varchar(255) NOT NULL, `status` varchar(10) NOT NULL DEFAULT 'active', `data` boolean NOT NULL DEFAULT '1', `actions` varchar(100) NOT NULL, `collections` varchar(255) NOT NULL, `headers` json);
CREATE TABLE IF NOT EXISTS "directus_collections" (`collection` varchar(64) NOT NULL, `icon` varchar(30), `note` text, `display_template` varchar(255), `hidden` boolean NOT NULL DEFAULT '0', `singleton` boolean NOT NULL DEFAULT '0', `translations` json, `archive_field` varchar(64), `archive_app_filter` boolean NOT NULL DEFAULT '1', `archive_value` varchar(255), `unarchive_value` varchar(255), `sort_field` varchar(64), `accountability` varchar(255) DEFAULT 'all', `color` varchar(255) NULL, `item_duplication_fields` json NULL, `sort` integer, `group` varchar(64), `collapse` varchar(255) NOT NULL DEFAULT 'open', `preview_url` varchar(255) null, PRIMARY KEY (`collection`), FOREIGN KEY (`group`) REFERENCES `directus_collections` (`collection`));
INSERT INTO directus_collections VALUES('pages','note',NULL,NULL,0,0,NULL,'status',1,'archived','draft',NULL,'all',NULL,NULL,NULL,NULL,'open',NULL);
INSERT INTO directus_collections VALUES('pages','note',NULL,NULL,0,0,NULL,'status',1,'archived','draft',NULL,'all',NULL,NULL,1,NULL,'open',NULL);
INSERT INTO directus_collections VALUES('categories','category',NULL,'{{name}}',0,0,NULL,NULL,0,NULL,NULL,NULL,'all',NULL,NULL,2,NULL,'open',NULL);
CREATE TABLE IF NOT EXISTS "directus_fields" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `collection` varchar(64) NOT NULL, `field` varchar(64) NOT NULL, `special` varchar(64), `interface` varchar(64), `options` json, `display` varchar(64), `display_options` json, `readonly` boolean NOT NULL DEFAULT '0', `hidden` boolean NOT NULL DEFAULT '0', `sort` integer, `width` varchar(30) DEFAULT 'full', `translations` json, `note` text, `conditions` json, `required` boolean DEFAULT '0', `group` varchar(64), `validation` json, `validation_message` text);
INSERT INTO directus_fields VALUES(1,'pages','slug',NULL,'input',NULL,NULL,NULL,0,0,NULL,'full',NULL,NULL,NULL,0,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(2,'pages','status',NULL,'select-dropdown','{"choices":[{"text":"$t:published","value":"published"},{"text":"$t:draft","value":"draft"},{"text":"$t:archived","value":"archived"}]}','labels','{"showAsDot":true,"choices":[{"text":"$t:published","value":"published","foreground":"#FFFFFF","background":"var(--primary)"},{"text":"$t:draft","value":"draft","foreground":"#18222F","background":"#D3DAE4"},{"text":"$t:archived","value":"archived","foreground":"#FFFFFF","background":"var(--warning)"}]}',0,0,NULL,'full',NULL,NULL,NULL,0,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(3,'pages','title',NULL,'input',NULL,NULL,NULL,0,0,NULL,'full',NULL,NULL,NULL,0,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(4,'pages','content',NULL,'input-rich-text-html','{"toolbar":["undo","redo","bold","italic","underline","strikethrough","subscript","superscript","fontfamily","fontsize","h1","h2","h3","h4","h5","h6","alignleft","aligncenter","alignright","alignjustify","alignnone","indent","outdent","numlist","bullist","forecolor","backcolor","removeformat","cut","copy","paste","remove","selectall","blockquote","customLink","unlink","customImage","customMedia","table","hr","code","fullscreen","visualaid"],"folder":"4fe3c63a-cbec-4e7a-af2d-2ba454720476"}',NULL,NULL,0,0,NULL,'full',NULL,NULL,NULL,0,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(5,'categories','id','uuid','input',NULL,NULL,NULL,1,1,1,'full',NULL,NULL,NULL,0,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(6,'categories','slug',NULL,'input','{"font":"monospace","trim":true,"slug":true}',NULL,NULL,0,0,2,'full',NULL,NULL,NULL,1,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(7,'categories','name',NULL,'input',NULL,NULL,NULL,0,0,3,'full',NULL,NULL,NULL,1,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(8,'categories','subcategories','o2m','list-o2m',NULL,'related-values','{"template":"{{name}}"}',0,0,5,'full',NULL,NULL,NULL,0,NULL,NULL,NULL);
INSERT INTO directus_fields VALUES(9,'categories','parent_id',NULL,'select-dropdown-m2o',NULL,'related-values','{"template":"{{name}}"}',0,0,4,'full','[{"language":"en-US","translation":"Parent category"}]',NULL,NULL,0,NULL,NULL,NULL);
CREATE TABLE IF NOT EXISTS "directus_roles" (`id` char(36) NOT NULL, `name` varchar(100) NOT NULL, `icon` varchar(30) NOT NULL DEFAULT 'supervised_user_circle', `description` text, `ip_access` text, `enforce_tfa` boolean NOT NULL DEFAULT '0', `admin_access` boolean NOT NULL DEFAULT '0', `app_access` boolean NOT NULL DEFAULT '1', PRIMARY KEY (`id`));
INSERT INTO directus_roles VALUES('067808bd-7c13-40be-8c11-9ba654b79465','Administrator','verified','$t:admin_description',NULL,0,1,1);
CREATE TABLE `directus_shares` (`id` char(36) not null, `name` varchar(255), `collection` varchar(64), `item` varchar(255), `role` char(36), `password` varchar(255), `user_created` char(36), `date_created` datetime default CURRENT_TIMESTAMP, `date_start` datetime null default null, `date_end` datetime null default null, `times_used` integer default '0', `max_uses` integer, foreign key(`collection`) references `directus_collections`(`collection`) on delete CASCADE, foreign key(`role`) references `directus_roles`(`id`) on delete CASCADE, foreign key(`user_created`) references `directus_users`(`id`) on delete SET NULL, primary key (`id`));
CREATE TABLE IF NOT EXISTS "directus_sessions" (`token` varchar(64) NOT NULL, `user` char(36), `expires` datetime NOT NULL, `ip` varchar(255), `user_agent` varchar(255), `share` char(36), `origin` varchar(255) null, PRIMARY KEY (`token`), FOREIGN KEY (`user`) REFERENCES `directus_users` (`id`) ON DELETE CASCADE, FOREIGN KEY (`share`) REFERENCES `directus_shares` (`id`) ON DELETE CASCADE);
INSERT INTO directus_sessions VALUES('yLAw2dHzPl72pVnmc9mxL-RPy4DGd5c5bNceVqRonWuqdC46wPQGbcXSSzJtJsB9','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686931028880,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36',NULL,'http://0.0.0.0:8055');
CREATE TABLE IF NOT EXISTS "directus_users" (`id` char(36) NOT NULL, `first_name` varchar(50), `last_name` varchar(50), `email` varchar(128), `password` varchar(255), `location` varchar(255), `title` varchar(50), `description` text, `tags` json, `avatar` char(36), `language` varchar(255) DEFAULT null, `theme` varchar(20) DEFAULT 'auto', `tfa_secret` varchar(255), `status` varchar(16) NOT NULL DEFAULT 'active', `role` char(36), `token` varchar(255), `last_access` datetime, `last_page` varchar(255), `provider` varchar(128) NOT NULL DEFAULT 'default', `external_identifier` varchar(255), `auth_data` json, `email_notifications` boolean DEFAULT '1', PRIMARY KEY (`id`), FOREIGN KEY (`role`) REFERENCES `directus_roles` (`id`) ON DELETE SET NULL);
INSERT INTO directus_users VALUES('f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,NULL,'okram@civokram.com','$argon2id$v=19$m=65536,t=3,p=4$rk0X9HITfk7OIfvEjOrbew$Q4wUp0tjs42ocHPwVPzI3dksy+JKWzQzO5a3gqOwDg8',NULL,NULL,NULL,NULL,NULL,NULL,'auto',NULL,'active','067808bd-7c13-40be-8c11-9ba654b79465',NULL,1686326228891,'/content/pages','default',NULL,NULL,1);
INSERT INTO directus_users VALUES('f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,NULL,'okram@civokram.com','$argon2id$v=19$m=65536,t=3,p=4$rk0X9HITfk7OIfvEjOrbew$Q4wUp0tjs42ocHPwVPzI3dksy+JKWzQzO5a3gqOwDg8',NULL,NULL,NULL,NULL,NULL,NULL,'auto',NULL,'active','067808bd-7c13-40be-8c11-9ba654b79465',NULL,1686406041755,'/content/categories','default',NULL,NULL,1);
CREATE TABLE IF NOT EXISTS "directus_panels" (`id` char(36) NOT NULL, `dashboard` char(36) NOT NULL, `name` varchar(255), `icon` varchar(30) DEFAULT null, `color` varchar(10), `show_header` boolean NOT NULL DEFAULT '0', `note` text, `type` varchar(255) NOT NULL, `position_x` integer NOT NULL, `position_y` integer NOT NULL, `width` integer NOT NULL, `height` integer NOT NULL, `options` json, `date_created` datetime DEFAULT CURRENT_TIMESTAMP, `user_created` char(36), FOREIGN KEY (`dashboard`) REFERENCES `directus_dashboards` (`id`) ON DELETE CASCADE, FOREIGN KEY (`user_created`) REFERENCES `directus_users` (`id`) ON DELETE SET NULL, PRIMARY KEY (`id`));
CREATE TABLE `directus_flows` (`id` char(36) not null, `name` varchar(255) not null, `icon` varchar(30), `color` varchar(255) null, `description` text, `status` varchar(255) not null default 'active', `trigger` varchar(255), `accountability` varchar(255) default 'all', `options` json, `operation` char(36), `date_created` datetime default CURRENT_TIMESTAMP, `user_created` char(36), foreign key(`user_created`) references `directus_users`(`id`) on delete SET NULL, primary key (`id`));
CREATE TABLE `directus_operations` (`id` char(36) not null, `name` varchar(255), `key` varchar(255) not null, `type` varchar(255) not null, `position_x` integer not null, `position_y` integer not null, `options` json, `resolve` char(36), `reject` char(36), `flow` char(36) not null, `date_created` datetime default CURRENT_TIMESTAMP, `user_created` char(36), foreign key(`resolve`) references `directus_operations`(`id`), foreign key(`reject`) references `directus_operations`(`id`), foreign key(`flow`) references `directus_flows`(`id`) on delete CASCADE, foreign key(`user_created`) references `directus_users`(`id`) on delete SET NULL, primary key (`id`));
CREATE TABLE IF NOT EXISTS "directus_activity" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `action` varchar(45) NOT NULL, `user` char(36), `timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `ip` varchar(50), `user_agent` varchar(255), `collection` varchar(64) NOT NULL, `item` varchar(255) NOT NULL, `comment` text, `origin` varchar(255) null);
INSERT INTO directus_activity VALUES(1,'login','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325226329,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_users','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(2,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325235960,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_settings','1',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(3,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325316874,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_fields','1',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(4,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325316884,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_fields','2',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(5,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325316893,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_collections','pages',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(6,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325341265,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_fields','3',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(7,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325423813,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_fields','4',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(8,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325430427,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_folders','4fe3c63a-cbec-4e7a-af2d-2ba454720476',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(9,'update','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325459735,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_fields','4',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(10,'update','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325749015,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_collections','pages',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(11,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325766541,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_permissions','1',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(12,'update','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325778487,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_permissions','1',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(13,'create','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686325815292,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','pages','about-us',NULL,'http://0.0.0.0:8055');
INSERT INTO directus_activity VALUES(13000,'login','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',1686406041745,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36','directus_users','f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'http://0.0.0.0:8055');
CREATE TABLE IF NOT EXISTS "directus_notifications" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `timestamp` datetime DEFAULT CURRENT_TIMESTAMP, `status` varchar(255) DEFAULT 'inbox', `recipient` char(36) NOT NULL, `sender` char(36), `subject` varchar(255) NOT NULL, `message` text, `collection` varchar(64), `item` varchar(255), FOREIGN KEY (`recipient`) REFERENCES `directus_users` (`id`) ON DELETE CASCADE, FOREIGN KEY (`sender`) REFERENCES `directus_users` (`id`));
CREATE TABLE IF NOT EXISTS "directus_presets" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `bookmark` varchar(255), `user` char(36), `role` char(36), `collection` varchar(64), `search` varchar(100), `layout` varchar(100) DEFAULT 'tabular', `layout_query` json, `layout_options` json, `refresh_interval` integer, `filter` json, `icon` varchar(30) DEFAULT 'bookmark', `color` varchar(255) NULL, FOREIGN KEY (`user`) REFERENCES `directus_users` (`id`) ON DELETE CASCADE, FOREIGN KEY (`role`) REFERENCES `directus_roles` (`id`) ON DELETE CASCADE);
INSERT INTO directus_presets VALUES(1,NULL,'f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'directus_files',NULL,'cards','{"cards":{"sort":["-uploaded_on"],"limit":25,"page":1}}','{"cards":{"icon":"insert_drive_file","title":"{{ title }}","subtitle":"{{ type }} • {{ filesize }}","size":4,"imageFit":"crop"}}',NULL,NULL,'bookmark',NULL);
INSERT INTO directus_presets VALUES(2,NULL,'f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'pages',NULL,NULL,'{"tabular":{"limit":25,"fields":["status","slug","title","content"]}}','{"tabular":{"widths":{}}}',NULL,NULL,'bookmark',NULL);
INSERT INTO directus_presets VALUES(2,NULL,'f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'pages',NULL,NULL,'{"tabular":{"limit":25,"fields":["status","slug","title","content"],"page":1}}','{"tabular":{"widths":{}}}',NULL,NULL,'bookmark',NULL);
INSERT INTO directus_presets VALUES(3,NULL,'f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'directus_users',NULL,'cards','{"cards":{"sort":["email"],"limit":25,"page":1}}','{"cards":{"icon":"account_circle","title":"{{ first_name }} {{ last_name }}","subtitle":"{{ email }}","size":4}}',NULL,NULL,'bookmark',NULL);
INSERT INTO directus_presets VALUES(4,NULL,'f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'directus_presets',NULL,NULL,'{"tabular":{"limit":25}}',NULL,NULL,NULL,'bookmark',NULL);
INSERT INTO directus_presets VALUES(5,NULL,'f9df4549-e9e6-4b67-a0bd-7e4aa657bff6',NULL,'categories',NULL,NULL,'{"tabular":{"limit":50,"page":1,"fields":["name","slug","subcategories"],"sort":["name"]}}','{"tabular":{"widths":{"name":354,"slug":368}}}',NULL,'{"_and":[{"parent_id":{"_null":true}}]}','bookmark',NULL);
CREATE TABLE `directus_translations` (`id` char(36) not null, `language` varchar(255) not null, `key` varchar(255) not null, `value` text not null, primary key (`id`));
CREATE TABLE IF NOT EXISTS "directus_settings" (`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `project_name` varchar(100) NOT NULL DEFAULT 'Directus', `project_url` varchar(255), `project_color` varchar(50) DEFAULT null, `project_logo` char(36), `public_foreground` char(36), `public_background` char(36), `public_note` text, `auth_login_attempts` integer DEFAULT '25', `auth_password_policy` varchar(100), `storage_asset_transform` varchar(7) DEFAULT 'all', `storage_asset_presets` json, `custom_css` text, `storage_default_folder` char(36), `basemaps` json, `mapbox_key` varchar(255), `module_bar` json, `project_descriptor` varchar(100) NULL, `default_language` varchar(255) NOT NULL DEFAULT 'en-US', `custom_aspect_ratios` json, FOREIGN KEY (`project_logo`) REFERENCES `directus_files` (`id`), FOREIGN KEY (`public_foreground`) REFERENCES `directus_files` (`id`), FOREIGN KEY (`public_background`) REFERENCES `directus_files` (`id`), CONSTRAINT `directus_settings_storage_default_folder_foreign` FOREIGN KEY (`storage_default_folder`) REFERENCES `directus_folders` (`id`) ON DELETE SET NULL);
INSERT INTO directus_settings VALUES(1,'Directus',NULL,NULL,NULL,NULL,NULL,NULL,25,NULL,'all',NULL,NULL,NULL,NULL,NULL,'[{"type":"module","id":"content","enabled":true},{"type":"module","id":"users","enabled":true},{"type":"module","id":"files","enabled":true},{"type":"module","id":"insights","enabled":true},{"type":"module","id":"settings","enabled":true,"locked":true}]',NULL,'en-US',NULL);
CREATE TABLE `pages` (`slug` varchar(255) not null, `status` varchar(255) not null default 'draft', `title` varchar(255) null, `content` text null, primary key (`slug`));
INSERT INTO pages VALUES('about-us','published','About Us','<p>Lorem ipsum ...</p>');
CREATE TABLE IF NOT EXISTS "categories" (`id` char(36) NOT NULL, `slug` varchar(255) NULL DEFAULT null, `name` varchar(255) NULL, `parent_id` char(36) NULL, PRIMARY KEY (`id`), CONSTRAINT `categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `categories` (`id`) ON DELETE NO ACTION);
INSERT INTO categories VALUES('6a8765cd-c67b-4962-b021-3daa1032a9ec','identity-and-access-management','Identity and Access Management',NULL);
INSERT INTO categories VALUES('92802af4-6c12-471b-bd49-e72f13a48e20','network-infrastructure-security','Network / Infrastructure Security',NULL);
INSERT INTO categories VALUES('18b1ffd0-d4f0-45bb-a263-4377d09e029b','application-security-and-devsecops','Application Security and DevSecOps',NULL);
INSERT INTO categories VALUES('abd58689-ef57-4a8f-9d9b-81ad96a1f814','cloud-security','Cloud Security',NULL);
INSERT INTO categories VALUES('634280fc-3322-43a4-9932-5c3eb23d72c5','data-security','Data Security',NULL);
INSERT INTO categories VALUES('3e92ef7d-5473-40ce-b11a-8098ce0d63ff','sase-zero-trust','SASE / Zero Trust','abd58689-ef57-4a8f-9d9b-81ad96a1f814');
INSERT INTO categories VALUES('3f80f835-c93e-4319-abc7-b3958be9189d','risk-management','Risk Management',NULL);
INSERT INTO categories VALUES('c4a74831-2fe0-4225-9db1-472af6844001','security-operations-and-incident-response','Security Operations and Incident Response',NULL);
INSERT INTO categories VALUES('4b278dd3-3d3e-4545-983d-68bacfcb8738','threat-intelligence','Threat Intelligence',NULL);
INSERT INTO categories VALUES('10093d0a-b5bc-4ffb-847f-7d23abc71590','device-security','Device Security',NULL);
INSERT INTO categories VALUES('4c93db1d-a071-4511-930a-90f7f31c620d','managed-security-services','Managed Security Services',NULL);
INSERT INTO categories VALUES('97254708-90b8-4407-969b-2a75736e5f72','security-services','Security Services',NULL);
INSERT INTO categories VALUES('149e7c19-47ce-4b8a-a1a2-abc124416c88','customer-security-software-b2c','Customer Security Software (B2C)',NULL);
INSERT INTO categories VALUES('c0ac9e8d-4029-4e95-9a13-d686c59f6db0','fraud-prevention-transaction-security','Fraud Prevention / Transaction Security',NULL);
INSERT INTO categories VALUES('ced1b547-66a6-4cea-a038-7784efaaefef','network-access-control','Network Access Control','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('5ca50701-79f1-4574-acd9-17f01ac9d834','application-security','Application Security','18b1ffd0-d4f0-45bb-a263-4377d09e029b');
INSERT INTO categories VALUES('f7c53ac2-60ad-4dfa-8fce-f306037b593f','casb','CASB','abd58689-ef57-4a8f-9d9b-81ad96a1f814');
INSERT INTO categories VALUES('c08b2f5a-5ab4-4b99-a78e-c27de412135a','cloud-infrastructure','Cloud Infrastructure','abd58689-ef57-4a8f-9d9b-81ad96a1f814');
INSERT INTO categories VALUES('1c37abbc-4d72-422d-83e3-763f0fd50608','saas-software-as-a-service','SaaS (Software as a Service)','abd58689-ef57-4a8f-9d9b-81ad96a1f814');
INSERT INTO categories VALUES('1b8a6db9-0403-4191-aae2-a51405c89737','dlp','DLP','634280fc-3322-43a4-9932-5c3eb23d72c5');
INSERT INTO categories VALUES('c8fd9801-10c6-4401-887a-01ec427b0160','advanced-threat-protection','Advanced Threat Protection','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('5fb66caa-89a1-4a93-9b44-3ddb3fa5a329','firewalls','Firewalls','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('a0893b16-465d-438f-9096-3af69eff7b0a','sdn','SDN','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('11389293-98e6-4ebb-bb8a-f0348a56c450','security-ratings','Security Ratings','3f80f835-c93e-4319-abc7-b3958be9189d');
INSERT INTO categories VALUES('d9ba4b72-d17d-4522-8847-8b73de0f206f','threat-vulnerability-assessment','Threat / Vulnerability Assessment','3f80f835-c93e-4319-abc7-b3958be9189d');
INSERT INTO categories VALUES('8ecbfafc-7417-4aae-99a9-7f8e2664838a','security-analytics','Security Analytics','c4a74831-2fe0-4225-9db1-472af6844001');
INSERT INTO categories VALUES('532e8898-573f-4898-a17d-18ec229245cd','security-incident-response','Security Incident Response','c4a74831-2fe0-4225-9db1-472af6844001');
INSERT INTO categories VALUES('18f0c2ed-b2a9-4f2b-b279-4d066786f6d5','siem-soar','SIEM / SOAR','c4a74831-2fe0-4225-9db1-472af6844001');
INSERT INTO categories VALUES('f0e26501-1ac5-4e77-9620-6f255831658c','threat-hunting','Threat Hunting','4b278dd3-3d3e-4545-983d-68bacfcb8738');
INSERT INTO categories VALUES('210af52f-045c-49bf-bfbe-891a259c20be','threat-intelligence-platform','Threat Intelligence Platform','4b278dd3-3d3e-4545-983d-68bacfcb8738');
INSERT INTO categories VALUES('88185678-4965-458a-8903-df7ed50c1086','validating-source-code','Validating Source Code','18b1ffd0-d4f0-45bb-a263-4377d09e029b');
INSERT INTO categories VALUES('8404f164-41bd-4d3d-b4ee-b8ff3bd2989e','authentication','Authentication','6a8765cd-c67b-4962-b021-3daa1032a9ec');
INSERT INTO categories VALUES('c40c9bd9-7bff-48a1-b62c-6fa5918f6197','identity-governance-and-administration','Identity Governance and Administration','6a8765cd-c67b-4962-b021-3daa1032a9ec');
INSERT INTO categories VALUES('02b098a2-de3a-45da-9462-ff82d3d23f99','endpoint-detection-&amp','Endpoint Detection','10093d0a-b5bc-4ffb-847f-7d23abc71590');
INSERT INTO categories VALUES('c56ab3ed-a161-41bc-a364-e94ac7a0fc0a','response','Response',NULL);
INSERT INTO categories VALUES('c9c532c5-82a4-4660-bc45-05b36541ebe9','security-awareness-training','Security Awareness / Training','3f80f835-c93e-4319-abc7-b3958be9189d');
INSERT INTO categories VALUES('61de2d48-cc0a-4c5e-b8ce-da9a52cfd2a2','data-centric-security','Data Centric Security','634280fc-3322-43a4-9932-5c3eb23d72c5');
INSERT INTO categories VALUES('ad988c58-8881-43a4-a1ab-3f8e0fecfdf5','endpoint-protection','Endpoint Protection','10093d0a-b5bc-4ffb-847f-7d23abc71590');
INSERT INTO categories VALUES('41534113-eed9-4f7f-8051-26214d6f413a','ics-ot-security','ICS / OT Security','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('703d09af-01ac-43ec-baae-f62064438469','internet-of-things','Internet of Things','10093d0a-b5bc-4ffb-847f-7d23abc71590');
INSERT INTO categories VALUES('61fcbbbd-9d25-4141-afd1-c5febc71eab9','mobile-security','Mobile Security','10093d0a-b5bc-4ffb-847f-7d23abc71590');
INSERT INTO categories VALUES('ac9d68b5-ded2-42e4-8509-39512f285340','advanced-mss-mdr','Advanced MSS / MDR','97254708-90b8-4407-969b-2a75736e5f72');
INSERT INTO categories VALUES('0d22bad9-0613-4e79-b8f5-0149d078bf09','messaging-security','Messaging Security','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('82f92976-e224-48d6-a41c-87cb82398737','consulting-professional-services','Consulting / Professional Services','97254708-90b8-4407-969b-2a75736e5f72');
INSERT INTO categories VALUES('c1a3f549-eac9-4836-8754-1c9f704b2f35','implementation','Implementation','97254708-90b8-4407-969b-2a75736e5f72');
INSERT INTO categories VALUES('11c3e75e-6bd3-49e3-8391-4722dae50926','incident-response','Incident Response','97254708-90b8-4407-969b-2a75736e5f72');
INSERT INTO categories VALUES('e5a380fc-9da7-4924-b14f-58d6566cc9a9','threat-intelligence-services-feed','Threat Intelligence Services / Feed','4b278dd3-3d3e-4545-983d-68bacfcb8738');
INSERT INTO categories VALUES('8a8cea71-c173-4062-8ca6-19e32fc9e79a','data-privacy','Data Privacy','634280fc-3322-43a4-9932-5c3eb23d72c5');
INSERT INTO categories VALUES('a2cd38cb-0fd0-4664-ada9-432e4455c494','api-security','API Security','18b1ffd0-d4f0-45bb-a263-4377d09e029b');
INSERT INTO categories VALUES('16404805-25a2-4f1d-a2f5-161cde468fc4','application-security-testing','Application Security Testing','18b1ffd0-d4f0-45bb-a263-4377d09e029b');
INSERT INTO categories VALUES('b0bd901f-1aae-41e5-8962-586f24958d6c','pen-testing-breach-simulation','Pen Testing / Breach Simulation','3f80f835-c93e-4319-abc7-b3958be9189d');
INSERT INTO categories VALUES('bb078308-fef3-454d-8f6a-2cbb8fd2dc68','governance-and-compliance','Governance and Compliance','abd58689-ef57-4a8f-9d9b-81ad96a1f814');
INSERT INTO categories VALUES('9c34ff78-bb7d-4635-9f56-42b0b62c7f5a','intrusion-detection-prevention','Intrusion Detection / Prevention','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('89f58d94-e18f-462b-abd7-51bc566210b6','network-analysis-forensics','Network Analysis / Forensics','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('2e724807-838e-41e0-8e19-bf86e7a60d8b','web-dns-security','Web / DNS Security','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('fefc363e-87d7-4ed6-bbc9-f8b9005b6db2','traditional-mssp','Traditional MSSP','97254708-90b8-4407-969b-2a75736e5f72');
INSERT INTO categories VALUES('8339a237-b029-482e-bed3-12df84dc8fee','it-outsourcing','IT Outsourcing','97254708-90b8-4407-969b-2a75736e5f72');
INSERT INTO categories VALUES('8fcbf4bd-e5f6-474f-af25-d9acc8d8d6df','encryption','Encryption','634280fc-3322-43a4-9932-5c3eb23d72c5');
INSERT INTO categories VALUES('aebde52f-3bab-4542-b9dd-393cac641de6','consumer-identity','Consumer Identity','6a8765cd-c67b-4962-b021-3daa1032a9ec');
INSERT INTO categories VALUES('1c60dd01-5d4a-43d4-af0c-81cdf2538824','idaas','IDaas','6a8765cd-c67b-4962-b021-3daa1032a9ec');
INSERT INTO categories VALUES('0a4d47a5-3fb0-4167-9410-ca389c686bef','privileged-management','Privileged Management','6a8765cd-c67b-4962-b021-3daa1032a9ec');
INSERT INTO categories VALUES('75d79644-2efb-432e-a7e5-ce83fe3608b2','privacy-compliance','Privacy Compliance','3f80f835-c93e-4319-abc7-b3958be9189d');
INSERT INTO categories VALUES('d1fc27af-03ed-4597-bd88-5c793eed92bc','grc','GRC','3f80f835-c93e-4319-abc7-b3958be9189d');
INSERT INTO categories VALUES('d64e4d56-bc70-496d-ad8a-f2dc1c808074','vpn','VPN','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('c46d447a-d64e-47f1-9acf-4a92002f3b16','software-integrity','Software Integrity','18b1ffd0-d4f0-45bb-a263-4377d09e029b');
INSERT INTO categories VALUES('714d1c5d-912c-48fc-8b33-0d8dd628fe49','virtualization-containerization-segmentation','Virtualization / Containerization / Segmentation','abd58689-ef57-4a8f-9d9b-81ad96a1f814');
INSERT INTO categories VALUES('ff41e1a3-4149-44db-9430-39ed987672dc','web-application-firewall','Web Application Firewall','18b1ffd0-d4f0-45bb-a263-4377d09e029b');
INSERT INTO categories VALUES('36f9d4aa-347b-45cd-9dca-1a1022f4d6e1','denial-of-service','Denial of Service','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('df897115-331f-47f8-ac02-30a10efef302','deception-based-security','Deception-Based Security','92802af4-6c12-471b-bd49-e72f13a48e20');
INSERT INTO categories VALUES('761f8581-d2d4-485c-8214-f676bb88e307','hardware-support','Hardware Support','97254708-90b8-4407-969b-2a75736e5f72');
DELETE FROM sqlite_sequence;
INSERT INTO sqlite_sequence VALUES('directus_relations',0);
INSERT INTO sqlite_sequence VALUES('directus_revisions',12);
INSERT INTO sqlite_sequence VALUES('directus_permissions',1);
INSERT INTO sqlite_sequence VALUES('directus_relations',1);
INSERT INTO sqlite_sequence VALUES('directus_revisions',12755);
INSERT INTO sqlite_sequence VALUES('directus_permissions',4);
INSERT INTO sqlite_sequence VALUES('directus_webhooks',0);
INSERT INTO sqlite_sequence VALUES('directus_fields',4);
INSERT INTO sqlite_sequence VALUES('directus_activity',13);
INSERT INTO sqlite_sequence VALUES('directus_fields',9);
INSERT INTO sqlite_sequence VALUES('directus_activity',13000);
INSERT INTO sqlite_sequence VALUES('directus_notifications',0);
INSERT INTO sqlite_sequence VALUES('directus_presets',4);
INSERT INTO sqlite_sequence VALUES('directus_presets',5);
INSERT INTO sqlite_sequence VALUES('directus_settings',1);
CREATE UNIQUE INDEX `directus_users_external_identifier_unique` on `directus_users` (`external_identifier`);
CREATE UNIQUE INDEX `directus_users_email_unique` on `directus_users` (`email`);
@@ -145,4 +202,5 @@ CREATE UNIQUE INDEX `directus_users_token_unique` on `directus_users` (`token`);
CREATE UNIQUE INDEX `directus_flows_operation_unique` on `directus_flows` (`operation`);
CREATE UNIQUE INDEX `directus_operations_resolve_unique` on `directus_operations` (`resolve`);
CREATE UNIQUE INDEX `directus_operations_reject_unique` on `directus_operations` (`reject`);
CREATE UNIQUE INDEX `categories_slug_unique` on `categories` (`slug`);
COMMIT;