PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE `directus_migrations` (`version` varchar(255) not null, `name` varchar(255) not null, `timestamp` datetime default CURRENT_TIMESTAMP, primary key (`version`));
INSERT INTO directus_migrations VALUES('20201028A','Remove Collection Foreign Keys','2023-06-09 14:51:48');
INSERT INTO directus_migrations VALUES('20201029A','Remove System Relations','2023-06-09 14:51:48');
INSERT INTO directus_migrations VALUES('20201029B','Remove System Collections','2023-06-09 14:51:48');
INSERT INTO directus_migrations VALUES('20201029C','Remove System Fields','2023-06-09 14:51:48');
INSERT INTO directus_migrations VALUES('20201105A','Add Cascade System Relations','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20201105B','Change Webhook URL Type','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210225A','Add Relations Sort Field','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210304A','Remove Locked Fields','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210312A','Webhooks Collections Text','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210331A','Add Refresh Interval','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210415A','Make Filesize Nullable','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210416A','Add Collections Accountability','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210422A','Remove Files Interface','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210506A','Rename Interfaces','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210510A','Restructure Relations','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210518A','Add Foreign Key Constraints','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210519A','Add System Fk Triggers','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210521A','Add Collections Icon Color','2023-06-09 14:51:49');
INSERT INTO directus_migrations VALUES('20210525A','Add Insights','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210608A','Add Deep Clone Config','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210626A','Change Filesize Bigint','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210716A','Add Conditions to Fields','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210721A','Add Default Folder','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210802A','Replace Groups','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210803A','Add Required to Fields','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210805A','Update Groups','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210805B','Change Image Metadata Structure','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210811A','Add Geometry Config','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210831A','Remove Limit Column','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210903A','Add Auth Provider','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210907A','Webhooks Collections Not Null','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210910A','Move Module Setup','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210920A','Webhooks URL Not Null','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210924A','Add Collection Organization','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210927A','Replace Fields Group','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210927B','Replace M2M Interface','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20210929A','Rename Login Action','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211007A','Update Presets','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211009A','Add Auth Data','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211016A','Add Webhook Headers','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211103A','Set Unique to User Token','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211103B','Update Special Geometry','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211104A','Remove Collections Listing','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211118A','Add Notifications','2023-06-09 14:51:50');
INSERT INTO directus_migrations VALUES('20211211A','Add Shares','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20211230A','Add Project Descriptor','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220303A','Remove Default Project Color','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220308A','Add Bookmark Icon and Color','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220314A','Add Translation Strings','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220322A','Rename Field Typecast Flags','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220323A','Add Field Validation','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220325A','Fix Typecast Flags','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220325B','Add Default Language','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220402A','Remove Default Value Panel Icon','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220429A','Add Flows','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220429B','Add Color to Insights Icon','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220429C','Drop Non Null From IP of Activity','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220429D','Drop Non Null From Sender of Notifications','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220614A','Rename Hook Trigger to Event','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220801A','Update Notifications Timestamp Column','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220802A','Add Custom Aspect Ratios','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20220826A','Add Origin to Accountability','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20230401A','Update Material Icons','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20230525A','Add Preview Settings','2023-06-09 14:51:51');
INSERT INTO directus_migrations VALUES('20230526A','Migrate Translation Strings','2023-06-09 14:51:51');
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);
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,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);
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,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(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"],"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','[REDACTED]');
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','[REDACTED]');
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',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',9);
INSERT INTO sqlite_sequence VALUES('directus_activity',13000);
INSERT INTO sqlite_sequence VALUES('directus_notifications',0);
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`);
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;
