曾与蒿藜同雨露,한때 잡초와 쑥과 함께 비와 이슬을 나누던 곳이 이제는 소나무와 삼나무와 함께 서리와 눈을 견뎌내고 있다.终随松柏到冰霜.かつては雑草やヨモギと共に雨や露を分かち合っていたが、今では松やヒノキと共に霜や雪に耐えている。曾与蒿藜同雨露,Once sharing rain and dew with weeds and wormwood, now enduring frost and snow with pines and cypresses.终随松柏到冰霜.曾与蒿藜同雨露한때 잡초와 쑥과 함께 비와 이슬을 나누던 곳이 이제는 소나무와 삼나무와 함께 서리와 눈을 견뎌내고 있다.,终随松柏到冰霜.譖セ荳手珍阯懷酔髮ィ髴イ�檎サ磯囂譚セ譟丞芦蜀ー髴�曾与蒿藜同雨露,鏇句笌钂胯棞鍚岄洦闇诧紝缁堥殢鏉炬煆鍒板啺闇�终随松柏到冰霜.曾与蒿藜同雨露,한때 잡초와 쑥과 함께 비와 이슬을 나누던 곳이 이제는 소나무와 삼나무와 함께 서리와 눈을 견뎌내고 있다.终随松柏到冰霜.曾与蒿藜同雨露,终随松柏到冰霜.
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: `suitecrm8102`
--
-- --------------------------------------------------------
--
-- Table structure for table `accounts`
--
CREATE TABLE `accounts` (
`id` char(36) NOT NULL,
`name` varchar(150) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`account_type` varchar(50) DEFAULT NULL,
`industry` varchar(50) DEFAULT NULL,
`annual_revenue` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`billing_address_street` varchar(150) DEFAULT NULL,
`billing_address_city` varchar(100) DEFAULT NULL,
`billing_address_state` varchar(100) DEFAULT NULL,
`billing_address_postalcode` varchar(20) DEFAULT NULL,
`billing_address_country` varchar(255) DEFAULT NULL,
`rating` varchar(100) DEFAULT NULL,
`phone_office` varchar(100) DEFAULT NULL,
`phone_alternate` varchar(100) DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
`ownership` varchar(100) DEFAULT NULL,
`employees` varchar(10) DEFAULT NULL,
`ticker_symbol` varchar(10) DEFAULT NULL,
`shipping_address_street` varchar(150) DEFAULT NULL,
`shipping_address_city` varchar(100) DEFAULT NULL,
`shipping_address_state` varchar(100) DEFAULT NULL,
`shipping_address_postalcode` varchar(20) DEFAULT NULL,
`shipping_address_country` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`sic_code` varchar(10) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_accnt_id_del` (`id`,`deleted`),
KEY `idx_accnt_name_del` (`name`,`deleted`),
KEY `idx_accnt_assigned_del` (`deleted`,`assigned_user_id`),
KEY `idx_accnt_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_audit`
--
CREATE TABLE `accounts_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_accounts_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_bugs`
--
CREATE TABLE `accounts_bugs` (
`id` varchar(36) NOT NULL,
`account_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_acc_bug_acc` (`account_id`),
KEY `idx_acc_bug_bug` (`bug_id`),
KEY `idx_account_bug` (`account_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_cases`
--
CREATE TABLE `accounts_cases` (
`id` varchar(36) NOT NULL,
`account_id` varchar(36) DEFAULT NULL,
`case_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_acc_case_acc` (`account_id`),
KEY `idx_acc_acc_case` (`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_contacts`
--
CREATE TABLE `accounts_contacts` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`account_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_account_contact` (`account_id`,`contact_id`),
KEY `idx_contid_del_accid` (`contact_id`,`deleted`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_cstm`
--
CREATE TABLE `accounts_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_opportunities`
--
CREATE TABLE `accounts_opportunities` (
`id` varchar(36) NOT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
`account_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_account_opportunity` (`account_id`,`opportunity_id`),
KEY `idx_oppid_del_accid` (`opportunity_id`,`deleted`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `acl_actions`
--
CREATE TABLE `acl_actions` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(150) DEFAULT NULL,
`category` varchar(100) DEFAULT NULL,
`acltype` varchar(100) DEFAULT NULL,
`aclaccess` int DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_aclaction_id_del` (`id`,`deleted`),
KEY `idx_category_name` (`category`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `acl_actions`
--
INSERT INTO `acl_actions` VALUES
('018658ed-5995-4954-9c11-83251f96b097', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_events', 'module', 90, 0),
('02dc973f-0483-4128-88b9-193366989ee9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls_Reschedule', 'module', 90, 0),
('0309cff2-2004-4c32-bbd9-db1664187b0e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'InboundEmail', 'module', 90, 0),
('0364f8e8-872e-47db-bb93-9667c37bc0a8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionOptions', 'module', 90, 0),
('03c9f036-c0c0-40a9-a7f6-834fc689d6e8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Markers', 'module', 90, 0),
('04b91175-ba79-44ee-bbdd-aa7fb6892b3a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_WorkFlow', 'module', 90, 0),
('058b8c0d-2926-4eaa-a97e-b092c88ed121', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Address_Cache', 'module', 90, 0),
('063e7655-6676-4d82-a16e-793d0db3c635', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'TemplateSectionLine', 'module', 90, 0),
('0679935d-c7af-4c5a-ab17-1a6dbf591396', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'OutboundEmailAccounts', 'module', 90, 0),
('07300189-2e6e-4627-923d-439adc94880e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Accounts', 'module', 90, 0),
('078c1063-f392-4d1d-b3a1-a51e36206aa5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProjectTask', 'module', 89, 0),
('07eb7380-2446-4b27-9852-a4bd9834b640', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Invoices', 'module', 90, 0),
('084645cd-222a-41b4-a94e-19b3f00b4ffc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Reports', 'module', 89, 0),
('08eb73fc-f32f-44eb-8e68-73c474e66406', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'InboundEmail', 'module', 90, 0),
('099a2fa3-98f0-44c8-9a44-f1db084ff507', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProjectTask', 'module', 90, 0),
('09a8405a-3ba8-4d2c-86ad-2c6aa5607736', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Events', 'module', 90, 0),
('09bff6b4-677f-4831-9655-cffdc7b432aa', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Bugs', 'module', 90, 0),
('0ac1b4e8-9087-44ac-8e06-c8597ec509fb', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Cases', 'module', 90, 0),
('0ac9fd1d-f396-4979-8f18-8c1beff3ea7a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Areas', 'module', 90, 0),
('0ad1cd7f-15fa-4e6d-993d-38ada67b1476', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionResponses', 'module', 90, 0),
('0b3146c5-70e2-4eef-80e2-caaf28f0a572', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_PDF_Templates', 'module', 90, 0),
('0bf492e6-966c-4744-a666-ff4546415b78', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_ProjectTemplates', 'module', 90, 0),
('0bf9ca07-39d0-4d12-9d93-becdc2c3d4e5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ManualMigrationTasks', 'module', 90, 0),
('0d41a022-32a8-4015-92fd-f827bd3763f4', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionResponses', 'module', 90, 0),
('0e58d126-058b-4a84-b46f-803eec08e0da', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Project', 'module', 90, 0),
('0ee151b7-affb-449c-a23c-1827d844f853', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AsyncTaskItems', 'module', 90, 0),
('0f2d3afd-f71c-4ccf-b444-5f26fdefb177', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Leads', 'module', 90, 0),
('0f464dd7-8054-401b-a0ef-69c1fd20e346', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthProvider', 'module', 89, 0),
('0fad8e53-6b8d-40e1-8b17-a25fa6b27206', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Processes', 'module', 90, 0),
('1150a399-01cd-405c-a1ee-0a1c142c544b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Prospects', 'module', 90, 0),
('1200c5dc-4836-437d-9fcf-3e1b0b732405', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProjectTask', 'module', 90, 0),
('122e60a4-7ea6-4013-927c-659e8ca498fb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_Processed', 'module', 90, 0),
('12632eef-35b0-4876-9496-c5168e758639', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Documents', 'module', 90, 0),
('12c6d689-365e-4575-bc0d-8b2ef30abc3d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyResponses', 'module', 90, 0),
('1312c6de-e1fe-4838-8219-a61b16fda274', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthConnection', 'module', 90, 0),
('131d2773-7518-4f0c-9b78-02f3a7d69997', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_KnowledgeBase', 'module', 90, 0),
('139abb6e-70a7-43ac-9e7c-15bc1c5f0c67', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthConnection', 'module', 90, 0),
('142667d9-2043-47b7-b44e-da61318b7a92', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Documents', 'module', 90, 0),
('14eb3f7f-b93e-4b13-8eff-44f4cd174afb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_WorkFlow', 'module', 90, 0),
('153da7a3-8683-4f2e-9301-2943e3a7c264', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Reports', 'module', 90, 0),
('1605abe4-e537-4a2c-83a6-de4929532bf6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_TaskTemplates', 'module', 90, 0),
('168b2c8c-32e6-484f-a1a0-3abf6f1383bb', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SecurityGroups', 'module', 90, 0),
('170843c1-373f-4f37-88e6-71bd1ce77f1b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls', 'module', 89, 0),
('1777f06a-e345-4194-ae9c-37f1c81c7bf8', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyResponses', 'module', 90, 0),
('1780c7e8-578a-4d49-ba1e-567f50d2bf20', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Emails', 'module', 90, 0),
('17921b28-3b13-43d5-9bbe-ff084d40d6bf', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Areas', 'module', 90, 0),
('18a61771-f15c-4cd8-a27f-42b2d1a7c37e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Campaigns', 'module', 90, 0),
('18e6ff1b-80bf-4881-b87b-c3ec1901c217', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SecurityGroups', 'module', 89, 0),
('19a57f40-389e-48f5-be9b-c2caaf0ac2f6', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Alerts', 'module', 90, 0),
('19ad9c8b-ddd9-4da6-b96c-2d9773508add', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_events', 'module', 90, 0),
('1a232dd1-c4aa-4ce7-ab0c-a8153beba6ef', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_events', 'module', 90, 0),
('1aae57f4-8dcf-4e50-af30-d1271f138e82', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Scheduled_Reports', 'module', 90, 0),
('1b39a86a-c500-4687-b5f9-2b8e120f2daf', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'OutboundEmailAccounts', 'module', 90, 0),
('1ba80065-a049-4498-8afa-8480cdc2069b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_PDF_Templates', 'module', 90, 0),
('1c798be0-6802-4445-a259-78252366388c', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestions', 'module', 90, 0),
('1ce860d2-41cd-4c2b-b8a3-7a63bf008dca', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Users', 'module', 90, 0),
('1cedd873-363b-4625-bfc0-d9a4ca79abcc', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyResponses', 'module', 90, 0),
('1e07c136-6add-4432-91ec-28280daefd39', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EAPM', 'module', 90, 0),
('1e88614a-5bf8-4405-bfca-50d5f77822aa', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Meetings', 'module', 90, 0),
('1f364ff4-d387-4505-918f-9e73b8c4e351', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'OutboundEmailAccounts', 'module', 90, 0),
('203014c0-6fe3-4ff2-aa1d-204fcb710e9d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Reports', 'module', 90, 0),
('2069f8c4-4152-4482-a220-4b33e85aaf59', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('2081c869-e62a-4846-8d31-c7a3c588661a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'CalendarAccount', 'module', 90, 0),
('21b89140-c289-4785-8785-d100e174014e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Project', 'module', 90, 0),
('21cb659d-bda6-47d4-bba2-fdb4707ed11b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Documents', 'module', 90, 0),
('22152d4f-65c8-4c8d-9e92-cbcbebf9abe0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EAPM', 'module', 90, 0),
('2254ae17-99eb-4881-8415-e8c7012fe599', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Markers', 'module', 90, 0),
('22605e4f-f337-48ec-bdcf-9854f08520b0', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailMarketing', 'module', 90, 0),
('23b6a952-d0d6-42fb-87f5-e82e601476d3', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EAPM', 'module', 90, 0),
('2466be7f-37f9-4152-9fb2-aa8d349a2bba', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_KnowledgeBase', 'module', 90, 0),
('25d1b90a-1b68-4928-919b-6b68f79396f8', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Contracts', 'module', 90, 0),
('25f13d08-12d6-4c89-808b-3d8a65f635fc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'OutboundEmailAccounts', 'module', 89, 0),
('25f27614-7d9e-4f0a-9361-f82a7b841802', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_Processed', 'module', 90, 0),
('261108c4-e87f-4859-9162-76103424a705', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'InboundEmail', 'module', 90, 0),
('264666fe-9860-4a71-8ad1-ce792b7ecb61', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestions', 'module', 90, 0),
('26c42399-5eb5-4936-834e-2c4cd2f89464', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Leads', 'module', 90, 0),
('27842c6b-cf0a-4597-b4f7-6e822eb1f15b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls_Reschedule', 'module', 90, 0),
('27dcc08b-d0c6-44f5-8d3b-48db76bfe4b2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionResponses', 'module', 90, 0),
('283f66be-6d1b-4b8d-815b-6beb2db2ba9b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Processes', 'module', 90, 0),
('284d352a-87f9-4d46-82c9-8e11561eb91f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Quotes', 'module', 90, 0),
('28b905f1-2ee2-481b-90f3-04add4e7e62b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailTemplates', 'module', 90, 0),
('28facdd3-15e6-4e50-939a-e635c6a42a19', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_WorkFlow', 'module', 90, 0),
('29925439-22f4-45e8-a4ff-d11e064e7a1c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'CalendarAccount', 'module', 90, 0),
('29aa3134-b89b-45e8-947a-5ec4a5cf3628', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Meetings', 'module', 90, 0),
('2b41d429-32ca-40d1-859a-a499bec749ec', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailMarketing', 'module', 90, 0),
('2b72ecd9-bf43-4523-9187-82c6a68aa7df', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_TaskTemplates', 'module', 90, 0),
('2b7be28b-66d5-4ce7-8ffb-6d157f1871ce', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Invoices', 'module', 90, 0),
('2c61bf66-bbeb-4e78-b140-9351a3fe75ba', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Events', 'module', 90, 0),
('2ce7c5df-7c01-4716-bca5-bbe33b449d72', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Users', 'module', 90, 0),
('2e69c150-8b59-46d8-877c-28bcf3b21baf', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionOptions', 'module', 90, 0),
('2ed0aa31-65a3-49ba-8fd2-5c88715ef89e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_TaskTemplates', 'module', 90, 0),
('2f588414-c824-4dfb-a797-68fe5f2ba16f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Emails', 'module', 90, 0),
('2fc8efc4-9997-4cae-9e1d-ff5244de7d3d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls_Reschedule', 'module', 90, 0),
('3029551a-f91a-4925-900d-41df03f63238', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Users', 'module', 89, 0),
('302fa5d9-fb4d-4402-a2ae-39bce30dcb7b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Quotes', 'module', 90, 0),
('3095de96-ac36-414a-a2a6-dc404e483c01', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Products', 'module', 90, 0),
('31354de4-5b04-4a42-8027-698bfe397c47', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'MediaObjects', 'module', 90, 0),
('3170f768-4fee-4028-9015-1f6cbb191e10', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_events', 'module', 90, 0),
('318776ce-bf28-45b6-a900-b839d32456ae', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Processes', 'module', 90, 0),
('31b0d0be-d54c-4faa-b2f7-e01444e6be20', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Cases', 'module', 90, 0),
('32296653-4ed0-4a5a-8b5a-10779bbdccad', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Products', 'module', 90, 0),
('32c9255e-2a16-4147-9331-b271cb38b78f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_KnowledgeBase', 'module', 90, 0),
('32f7c819-84ea-4b4e-bf52-a55133066c03', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'OutboundEmailAccounts', 'module', 90, 0),
('338e84ec-dab2-4de2-89e0-e77192b28378', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Contracts', 'module', 90, 0),
('33c5f924-57b8-4a7f-aa5c-374f4c90185b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailMarketing', 'module', 89, 0),
('33e5192a-0d67-4812-a31c-6ad6f162d6bb', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Updates', 'module', 90, 0),
('342395a8-f1b8-4ad9-bb29-24a0043072c8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_PDF_Templates', 'module', 90, 0),
('3455d6d0-3b5c-440c-b20f-701ca468412a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Alerts', 'module', 90, 0),
('34c09e65-93d3-4687-9cca-d84e850784b5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_Knowledge_Base_Categories', 'module', 89, 0),
('34e2fb68-2f63-4ed9-bcac-b8dd28e01692', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_Processed', 'module', 90, 0),
('35bc76c5-3d70-4736-b851-62dc01fc807b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SecurityGroups', 'module', 90, 0),
('37ff5282-d197-4e82-a708-32b0be8031e0', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailTemplates', 'module', 90, 0),
('3817684e-2cc4-477d-b367-37ee06a4629f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProspectLists', 'module', 90, 0),
('3872ffc2-2260-449a-8776-13f0f165b6ef', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Events', 'module', 90, 0),
('38b690c9-28ed-4fe7-8580-49767b7a4b3f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Notes', 'module', 90, 0),
('39aa4d60-1ccf-45cc-b8eb-f829820599f8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Address_Cache', 'module', 90, 0),
('39c53a11-066a-4b53-9fb9-19140a490c20', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Project', 'module', 90, 0),
('3a103645-292d-42ae-991d-ac9979e24edd', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProjectTask', 'module', 90, 0),
('3bc7b020-0b24-4965-b07e-89b2c6c63404', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_Processed', 'module', 90, 0),
('3bd6d68f-150e-461b-b6d0-136218bf1718', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Products', 'module', 90, 0),
('3c6936ea-8112-4ffb-a858-f8fdb973d243', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionOptions', 'module', 90, 0),
('3d11cba2-de1e-4ff3-99ef-07520f4218ae', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProspectLists', 'module', 90, 0),
('3ea43d1e-ebfc-4ef4-8bee-b8194b18c37b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Cases', 'module', 90, 0),
('3ee71ad1-c967-4573-b2c3-fc15e6cd465d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AsyncTaskItems', 'module', 90, 0),
('3f81183a-a8e5-4281-b14b-03a6b7cd1732', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Tasks', 'module', 90, 0),
('3f8fd595-509a-474d-93ef-be1d3815f91a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Bugs', 'module', 90, 0),
('3f9aaa45-26a5-450e-a562-015924ee9cd4', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Documents', 'module', 90, 0),
('3fa89852-1107-4829-9600-f60cc93eeb62', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'MediaObjects', 'module', 90, 0),
('3fcd6409-647a-4d54-b7fd-ade432d4c820', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProspectLists', 'module', 89, 0),
('40213f54-9258-4ac9-95c2-09bbc6444033', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyResponses', 'module', 90, 0),
('405b864d-1d58-42a9-983f-5526414f5970', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Contracts', 'module', 90, 0),
('4158c882-8ad8-4793-a351-48dc34380a8d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'CalendarAccount', 'module', 90, 0),
('417eb02a-b7c3-4ac3-86e6-8c8fab4a3c8e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_ProjectTemplates', 'module', 90, 0),
('41d60a29-5e50-457a-9371-66070f6453ab', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Bugs', 'module', 90, 0),
('422ce15f-1f3d-4c11-ab9a-20a1cf6afea4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_TaskTemplates', 'module', 90, 0),
('42484f01-b671-43e6-b78c-7fbbb26052f9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SecurityGroups', 'module', 90, 0),
('425a841b-d7c6-476c-b619-baa18aa74d68', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Surveys', 'module', 90, 0),
('42e79579-49a3-43bf-b7a1-263b26b0334b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Product_Categories', 'module', 90, 0),
('42f8b3b3-a84c-4931-9a19-b75eb2c69b3a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Product_Categories', 'module', 90, 0),
('433daaab-8890-489e-a131-18561f4c9a31', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_TaskTemplates', 'module', 90, 0),
('43b0951b-4829-4149-8edb-c1f50f3206d2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Processes', 'module', 90, 0),
('44158a86-4fc4-4150-9af8-72726c17b6ae', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Events', 'module', 89, 0),
('442022ff-3eed-439c-a609-df093c57a8f9', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Products', 'module', 89, 0),
('4450e138-5f6a-4a1b-bb59-89baaed3b246', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'TemplateSectionLine', 'module', 90, 0),
('44e43dd0-038b-42ae-8b5b-5e90310b3f74', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Quotes', 'module', 90, 0),
('4513fd3d-5a31-454d-845f-d1b311cc63e3', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Tasks', 'module', 89, 0),
('45fbde10-5793-41e8-b932-336ecf1ab9c2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Tasks', 'module', 90, 0),
('478634fd-1123-46fc-8908-0b7345f82c5e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Meetings', 'module', 90, 0),
('47fe70b3-9caf-4a95-85b7-1a509e998318', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProspectLists', 'module', 90, 0),
('484ece2f-dddc-48a1-91a2-5bcf872d670d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailMarketing', 'module', 90, 0),
('48685db4-d45c-485b-8d1f-911b05f36323', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'TemplateSectionLine', 'module', 90, 0),
('48b241fb-6126-4734-b7a8-d0f7a904ae70', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_events', 'module', 89, 0),
('48bdee7e-4811-4142-aa08-7f883d2f9ed8', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Events', 'module', 90, 0),
('48f8747e-1ef6-4dbb-bfe8-95bc5ec8bb25', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Reports', 'module', 90, 0),
('4a4e3693-aea7-4b0f-9834-9c0beffdf885', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AsyncTaskItems', 'module', 90, 0),
('4a9373ed-b961-4813-b2fe-311a41fca8a2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Tasks', 'module', 90, 0),
('4a9db786-6239-4bc4-9136-9a00ad3451c3', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProjectTask', 'module', 90, 0),
('4aea1882-e4b9-437e-a612-38d79b54fe2b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Markers', 'module', 90, 0),
('4c349614-3e25-45c3-af5c-ee52c4c82d0e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailTemplates', 'module', 90, 0),
('4c6e9c5f-9f39-492d-b2c3-05f6dd790cba', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Project', 'module', 90, 0),
('4c7e6128-dd61-4f83-b0d6-59a4a5cf15b0', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'MediaObjects', 'module', 90, 0),
('4cd0af57-0692-42fb-8c5f-67f84387b661', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls', 'module', 90, 0),
('4d6f65bb-4c1d-4d95-9ac8-2c72e5dc4478', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Quotes', 'module', 89, 0),
('4dbd1ca2-4af7-4e27-aa59-9807df9e0e9a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Bugs', 'module', 89, 0),
('4e00cf63-07c2-40fd-802d-8504951c7e3b', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Cases', 'module', 90, 0),
('4e816320-9f2a-4da1-b086-34d246a6de5a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestions', 'module', 90, 0),
('4e84b8ce-6c59-402c-a82b-ab85025ebb71', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ManualMigrationTasks', 'module', 90, 0),
('4f1b1c3e-2772-49ce-9983-8fbe1863758a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Address_Cache', 'module', 90, 0),
('4fa9c891-e4e0-4b6c-839f-0d7481072fc7', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthConnection', 'module', 89, 0),
('5060f7ca-b803-4dfb-9668-d97168975b48', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('50a61613-2f8f-4ebb-b5a4-3c96f1ebac93', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'OutboundEmailAccounts', 'module', 90, 0),
('50d3ec90-5ffc-4fd1-8cf2-a2f4d8b9fb6c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Alerts', 'module', 90, 0),
('51ffa6df-ff36-4b78-9a36-87f960c7d9b4', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EAPM', 'module', 90, 0),
('521f3742-e63f-4fe6-8f18-6c541af06662', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Emails', 'module', 90, 0),
('52531ddb-76bf-4725-9990-8a9957647a0f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Products', 'module', 90, 0),
('52d9ca66-827c-4536-9910-f25117a1e656', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Users', 'module', 90, 0),
('536b749e-82f3-49df-b584-af587c39d879', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Surveys', 'module', 90, 0),
('537372ac-1088-4748-a57b-e2b5e88a73ab', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'TemplateSectionLine', 'module', 90, 0),
('53bae5b7-c7c8-4a37-8221-572e6e323241', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Contacts', 'module', 89, 0),
('5431803c-9407-4f97-9d64-8c228619267f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionResponses', 'module', 89, 0),
('549f97f4-12a5-4f7f-8390-0c58dbfcb3da', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AsyncTaskItems', 'module', 89, 0),
('54af7852-6373-445f-bb5b-bd8aefc03287', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'MediaObjects', 'module', 90, 0),
('54e1364a-2e24-4c1d-ad36-3bcd999a5f38', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_PDF_Templates', 'module', 90, 0),
('5755968a-44c2-4b47-97fb-215dc78f6297', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailMarketing', 'module', 90, 0),
('57592dcf-3418-463c-a0f0-3d50b2c060d1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Bugs', 'module', 90, 0),
('5855ddbc-457d-488a-a170-a204a0f789b4', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionOptions', 'module', 90, 0),
('589ef26f-631a-4121-9a89-0083c8c5be24', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionResponses', 'module', 90, 0),
('58f62882-2296-4c82-8376-9e2e86133529', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Tasks', 'module', 90, 0),
('5962c5dd-fed2-4133-9712-76c29cec9e05', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailTemplates', 'module', 90, 0),
('59eb4f4c-3c14-4f07-9d6f-47bf0c15b6db', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionResponses', 'module', 90, 0),
('5b22a0fb-b3ff-4ca1-af7c-4c138cfaf0f0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Address_Cache', 'module', 90, 0),
('5bbe7ea1-6f47-4d65-b180-12f1e0d9f703', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'InboundEmail', 'module', 90, 0),
('5bfaf251-0f63-4762-8095-48b001fd0f57', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Reports', 'module', 90, 0),
('5c2d6be6-39d7-4139-b550-5be9984931c1', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Maps', 'module', 90, 0),
('5cefb33c-6974-43b6-8b77-447d298fcdf8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_WorkFlow', 'module', 90, 0),
('5cfe5480-41c9-4a85-8e7f-fd14a125e1f7', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Campaigns', 'module', 90, 0),
('5e76e603-d0ad-4c64-87e5-632683b5f4e1', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Prospects', 'module', 90, 0),
('5ee5e463-64ff-44d1-a778-5446fdecccc1', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Areas', 'module', 90, 0),
('5f4fc96d-64fa-4f4d-939f-2ef2bcb17ede', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Users', 'module', 90, 0),
('5f84a303-a412-4b9f-8c0b-f799c67ff778', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Meetings', 'module', 89, 0),
('6135fbc3-d415-448f-9e57-8e10387934aa', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Events', 'module', 90, 0),
('6167b7aa-4b35-4c4c-abbe-129e0d80df68', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Markers', 'module', 90, 0),
('62016e5c-159d-4b47-b87c-aac7f102a60c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Bugs', 'module', 90, 0),
('623670ec-e7bf-47a7-9168-b4401509fbaa', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Tasks', 'module', 90, 0),
('6381696d-eedd-46bd-ae9e-11405a7426c7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Maps', 'module', 90, 0),
('63a1c6c9-b014-4519-b068-d64db4560d64', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthProvider', 'module', 90, 0),
('64165351-105b-4651-88dd-02bf17cce489', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_ProjectTemplates', 'module', 90, 0),
('64fe84d6-d92e-46a5-8d8d-f3bc8fb33264', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls', 'module', 90, 0),
('656eb2e5-55ca-4274-8079-50f87562ad8b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Areas', 'module', 90, 0),
('66a2efdf-d83a-4b89-80f1-f503a302c680', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'OutboundEmailAccounts', 'module', 90, 0),
('66a6b09b-5cfc-46d3-8a1a-0aec94a8d3d3', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthProvider', 'module', 90, 0),
('66b3a70f-326d-4385-adb8-e69fcbb5899d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls', 'module', 90, 0),
('66f7b1dc-a801-49d1-80c0-6ae6d4eb94fd', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_Event_Locations', 'module', 90, 0),
('6711871d-b8f8-4cb5-a48b-30dae4bd9153', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Quotes', 'module', 90, 0),
('67e46f52-dd8b-4f7d-8c5d-e8335ab7e436', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AsyncTaskItems', 'module', 90, 0),
('689a64fc-9455-47ef-aaa0-9b4b8a84aa7d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Invoices', 'module', 90, 0),
('69547de1-7575-4b3e-b4dc-197c6948c7f0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Notes', 'module', 89, 0),
('69853c16-fdde-4a0b-ba05-c72faa6d20d1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_Processed', 'module', 90, 0),
('69f011fa-7c03-4367-9995-339a79cec16d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestions', 'module', 90, 0),
('6a543bfc-739e-4c99-9af3-031bb97d2fda', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AsyncTaskItems', 'module', 90, 0),
('6b45fc68-970c-4fbb-9020-606a007614bb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthConnection', 'module', 90, 0),
('6b84bd57-c91f-4a83-bcdf-d8207ab03a09', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SecurityGroups', 'module', 90, 0),
('6c696347-31c4-4dc9-b0eb-8e060c7976f8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyResponses', 'module', 90, 0),
('6c793df9-93a4-43ec-b885-5f07c4199fe8', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Notes', 'module', 90, 0),
('6ca5a9d1-1dd9-4f21-a565-48dd165617bb', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Markers', 'module', 90, 0),
('6dbbd460-bf66-4a70-89a8-7b37e0bc2088', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Scheduled_Reports', 'module', 90, 0),
('6dc0deb4-ce52-4b4e-a35c-d9c1825b56f1', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Prospects', 'module', 90, 0),
('6e8b7aa7-7ed3-4c26-b4dd-7529740f324c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionOptions', 'module', 90, 0),
('6e971123-88cf-461c-ae36-04297e171b97', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProspectLists', 'module', 90, 0),
('70675a1b-23fe-4d5e-8b4c-9e83f8748e93', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Processes', 'module', 90, 0),
('713dfc25-3e57-44a7-b41f-c7f78049d7a2', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailTemplates', 'module', 89, 0),
('716194f1-5525-493d-915f-309cf43e0812', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls_Reschedule', 'module', 90, 0),
('72c4a6e1-fae3-47bc-ac3a-39408c332a8f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'TemplateSectionLine', 'module', 90, 0),
('75ae1803-716d-44d9-8e49-236e34adb75d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_Event_Locations', 'module', 90, 0),
('770ce1d7-4d28-4ad5-88e9-95c424a52d3c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Emails', 'module', 90, 0),
('776dbc99-b31b-4fc2-b23b-14f7660f6071', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Project', 'module', 90, 0),
('7879bc78-3175-4ac3-96a1-49584a16fff3', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_events', 'module', 90, 0),
('78c6c77a-8215-4793-9c91-bd1dbcd9debb', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_KnowledgeBase', 'module', 90, 0),
('79182776-7e9d-43a3-b8ad-3463368970cf', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Notes', 'module', 90, 0),
('795c26e2-39f6-4cc1-8fd2-d721d7b5144b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Maps', 'module', 90, 0),
('79d02b59-7505-4b73-8e83-48e27de26a5f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ManualMigrationTasks', 'module', 90, 0),
('79dab527-2825-4660-8364-cefc51bc5c7b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Processes', 'module', 89, 0),
('7a137f5a-715b-4548-9aeb-0d3d3e6d5ce9', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('7b63954f-4884-41d7-af98-8c4bd21c54be', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'InboundEmail', 'module', 89, 0),
('7c916d6f-ff0d-4fd4-b869-5035dbabe4d1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Accounts', 'module', 90, 0),
('7cef6db1-426c-440e-8654-36f9ca136392', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Updates', 'module', 90, 0),
('7cfcb8a2-39d5-4d19-a752-578e659d2aea', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Scheduled_Reports', 'module', 90, 0),
('7d5f627f-1143-40f7-9394-7bc5ca835c2f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Product_Categories', 'module', 90, 0),
('7dab9923-560f-4db3-8d3d-75c58779ae3a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('7e0b1637-aab5-4709-8815-fd25770bb3f3', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls_Reschedule', 'module', 89, 0),
('7edc512a-c781-4796-81d5-6dd316014104', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Updates', 'module', 90, 0),
('7efc24d5-1a97-41e7-ba67-a793417b9ee5', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProjectTask', 'module', 90, 0),
('7fa20b49-394f-4e97-91f7-300c696aee3a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Cases', 'module', 89, 0),
('7fae775e-6d6b-4d32-a1b5-4726574ab783', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Documents', 'module', 89, 0),
('802e3b35-4eaa-47bf-9e14-5377b48596d0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SecurityGroups', 'module', 90, 0),
('81323742-8531-435a-a0ec-734796493c2d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Notes', 'module', 90, 0),
('81d6bfd6-661b-44a9-b588-42e3f30acfe6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Quotes', 'module', 90, 0),
('839d4adb-08fd-4eb0-b52c-6961361a6142', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Events', 'module', 90, 0),
('83c1d779-d671-4c00-b0ed-8462c0392808', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProjectTask', 'module', 90, 0),
('845e6fe6-1940-4e90-be41-e8a08042a8c4', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Updates', 'module', 90, 0),
('849ba603-d6ce-4702-929f-3d9fcee13210', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_Processed', 'module', 90, 0),
('84d2cc66-32d2-4704-83ee-1be4924caab5', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Product_Categories', 'module', 90, 0),
('84f55ba9-8eaf-49fa-a704-6d4b19d7086b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Meetings', 'module', 90, 0),
('85f61380-d61f-4e22-8aab-8c762dec9989', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AsyncTaskItems', 'module', 90, 0),
('860728a7-4f8a-4f2f-a870-39ec73048ed6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Opportunities', 'module', 90, 0),
('8615bd5f-13a7-45a0-b7d7-4e1b14882f19', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Prospects', 'module', 90, 0),
('86aab7bf-d8f7-46cd-8d8d-b4a31574e037', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Invoices', 'module', 90, 0),
('86bd01a8-66fd-4a58-b2f1-0a6e25b7077b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Users', 'module', 90, 0),
('86ff9308-70aa-40e1-a465-ca32dcdf1a27', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Quotes', 'module', 90, 0),
('8808c7a5-1d4d-4b6f-a289-59ee62ada7d6', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_WorkFlow', 'module', 90, 0),
('8846208e-57b3-43f6-9441-393344b583d8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_TaskTemplates', 'module', 90, 0),
('8880aa90-b155-4ded-9d78-1f4f29b8d95b', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_PDF_Templates', 'module', 90, 0),
('8961f46e-1375-49e2-a504-207e76907ea1', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Emails', 'module', 90, 0),
('89989f0e-4fdb-404a-a1d0-9400d5d6071b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls_Reschedule', 'module', 90, 0),
('8a5f6b52-7c45-41d9-8533-389225ee232a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailTemplates', 'module', 90, 0),
('8a73e812-6f6c-4e26-b46d-efa348482aa5', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ManualMigrationTasks', 'module', 90, 0),
('8aa1eb41-29be-454d-8965-ff99ffee1024', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthProvider', 'module', 90, 0),
('8ae7f982-f056-4004-a16d-55b1955eb1be', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EAPM', 'module', 90, 0),
('8b0a7179-90e7-4e74-94b0-68c3097a2dd1', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Surveys', 'module', 90, 0),
('8c1a11bf-06f6-4cc8-b5ee-d5438074ce0e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Contacts', 'module', 90, 0),
('8cf5024c-c29a-4f16-9b92-fcc1f17dfd3a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Emails', 'module', 90, 0),
('8dd62ce5-9214-4b31-80a6-bc09be1d4f0a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Bugs', 'module', 90, 0),
('8ded44a4-842e-4eed-b2a6-7c3a20d04c14', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'CalendarAccount', 'module', 90, 0),
('8e007db7-1827-4675-a051-fd85b1790a84', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Areas', 'module', 90, 0),
('8ef6a2db-794b-4673-9cd0-c27a222d9fb2', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Contacts', 'module', 90, 0),
('9027c2d8-8e46-48e3-a37e-3621cf2adf92', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Notes', 'module', 90, 0),
('90afdc38-c25a-41e6-86d2-eafbf0a9e2d8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Reports', 'module', 90, 0),
('918a6396-2b0c-44ef-9e32-a13c9fbcc21e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Prospects', 'module', 90, 0),
('9351f29d-fb95-4010-af2a-5d98df1818d0', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Scheduled_Reports', 'module', 90, 0),
('968802af-b656-4427-a719-bbba333b9c16', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Campaigns', 'module', 90, 0),
('97285c08-2d84-462e-bbac-a01eb5ef8c79', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Product_Categories', 'module', 90, 0),
('976120ad-597d-4134-8e28-8bc96c61412c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Alerts', 'module', 90, 0),
('980c7b2f-ea04-4fb0-b87f-129e0703172d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_Event_Locations', 'module', 90, 0),
('981119b9-7fe9-4f92-a373-8ed3ef6bd662', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestions', 'module', 90, 0),
('9811eb2d-2da7-445b-9321-72fce586f0e1', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Markers', 'module', 90, 0),
('997383ad-822d-4582-8041-3fc61ee9adf5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Campaigns', 'module', 90, 0),
('9a3420f2-8868-45dd-880a-3a01f06492d7', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'CalendarAccount', 'module', 90, 0),
('9aa3b47c-2094-428a-9de6-fec21fc4ebf4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Maps', 'module', 90, 0),
('9c5c6c19-cf28-462d-94e1-0a6c81af43e8', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls_Reschedule', 'module', 90, 0),
('9c6403e2-3810-4aae-b04b-bad94405d266', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Events', 'module', 90, 0),
('9cf9fe46-511d-41c9-8500-22c7e84f3993', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Scheduled_Reports', 'module', 89, 0),
('9d001e54-a15b-431c-b3fe-bca951491dbd', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls', 'module', 90, 0),
('9d3bc871-6f67-4b1e-a6ee-ebd001bf2ade', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Tasks', 'module', 90, 0),
('9e280bcb-ee67-428a-8abf-9bfaa8fb4341', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Contacts', 'module', 90, 0),
('9ec5bbd0-c097-48da-86d2-485f08dbf01f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Opportunities', 'module', 89, 0),
('9ef1c077-76cf-4146-a369-57f7a92ca8a7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Products', 'module', 90, 0),
('a048d644-aa6d-4948-8c05-a26a073e3143', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Users', 'module', 90, 0),
('a07fa6c7-7404-42f6-b61f-7ac17527d873', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'InboundEmail', 'module', 90, 0),
('a195449e-9bc2-4e22-b291-ce05dd336ec9', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Cases', 'module', 90, 0),
('a20e18f4-e2ca-4909-982a-c5fe7e652487', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'TemplateSectionLine', 'module', 90, 0),
('a2266f31-1dae-4584-a3f0-b8e79c4b265e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_ProjectTemplates', 'module', 90, 0),
('a235a179-7fdc-4566-9731-860c43335bda', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestions', 'module', 89, 0),
('a249e2da-5be2-458c-85ac-fe03281b78b3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Contacts', 'module', 90, 0),
('a32df2fd-f2c1-4eb3-aeda-36e91d3250c5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthProvider', 'module', 90, 0),
('a398d39c-f773-450d-8ba7-bb2e59116072', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Meetings', 'module', 90, 0),
('a3f5ca65-8a39-4813-a8fd-008eef4e1bf4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_TaskTemplates', 'module', 89, 0),
('a449bbd1-66dc-4c4c-a226-8d68ad69c7b0', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionResponses', 'module', 90, 0),
('a5ae6daa-76a4-4a23-aea8-1a7b01ecf477', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionOptions', 'module', 90, 0),
('a6829441-f721-4739-9e9d-7c1a4f31ec56', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_events', 'module', 90, 0),
('a77043e1-2069-430c-bac5-b4cfa7080714', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Prospects', 'module', 90, 0),
('a804f3f1-7b8a-484b-a6d9-3b5e5b2b7e8f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Leads', 'module', 89, 0),
('a805f381-6d80-4886-b6c2-30f5582c26d6', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Surveys', 'module', 90, 0),
('a8aeabda-2f99-459f-ad09-48dd1beaf0b4', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Processes', 'module', 90, 0),
('a8b475d8-abf3-4499-b9e8-4605eb44d95b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailMarketing', 'module', 90, 0),
('a992286e-be40-455e-b37b-8aee20741ec4', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestions', 'module', 90, 0),
('a9ac9236-e286-4671-9530-eff0e3c17aa0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Areas', 'module', 90, 0),
('a9c07f1b-620e-44ff-959c-2dbe8ceab941', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionResponses', 'module', 90, 0),
('a9f90afe-4609-4d76-aa92-e9e77d261037', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'InboundEmail', 'module', 90, 0),
('aa061dd3-7e13-4138-bccd-1e5e2650fa4e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthProvider', 'module', 90, 0),
('ab23f99c-8089-46b5-9903-fa556af4b28e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Opportunities', 'module', 90, 0),
('abdedc5c-851c-4bad-b318-a9aebc403689', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_PDF_Templates', 'module', 89, 0),
('acb7b38a-0bf5-41dc-a17e-7da08af065bb', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Invoices', 'module', 90, 0),
('ad83246a-31d6-4a0d-bfb0-263e6216abe1', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyResponses', 'module', 90, 0),
('ae65f22b-9395-4f35-8ae2-a295994ede0b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_Event_Locations', 'module', 89, 0),
('af769dfb-3f9d-4c1a-9c6d-da29fd78dc70', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Reports', 'module', 90, 0),
('b00100f5-4d0b-4102-aed6-be5f5787a491', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ManualMigrationTasks', 'module', 90, 0),
('b003179b-d3f4-46c4-9779-142312cce8ae', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_Event_Locations', 'module', 90, 0),
('b07b964c-2308-40d3-b61c-f77e88b2a946', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Cases', 'module', 90, 0),
('b15a6121-4533-45b6-b4bb-44b802826ded', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'MediaObjects', 'module', 89, 0),
('b19d73ad-88ef-4ab3-82cb-9ba8a7bb3a8a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AsyncTaskItems', 'module', 90, 0),
('b3805c20-183e-4430-9ec9-9a559c91d517', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'InboundEmail', 'module', 90, 0),
('b479aaa1-a5e5-4484-8828-a29915de5556', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Accounts', 'module', 90, 0),
('b4959652-668f-451b-ab83-717473b010f5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Prospects', 'module', 89, 0),
('b4dd203e-60ed-47ea-8135-4586a7ccecac', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Maps', 'module', 90, 0),
('b4f7f94a-584e-4299-9b59-5404c4297e0b', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Prospects', 'module', 90, 0),
('b517209f-977c-4836-8fa9-75d80b030fa8', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'TemplateSectionLine', 'module', 90, 0),
('b5747755-a0a4-4ce0-901f-49657fefb503', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Alerts', 'module', 89, 0),
('b5bbaf5f-9215-479d-9753-49ac80641d81', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthProvider', 'module', 90, 0),
('b642fcee-3c0e-41bd-bb0b-666224794663', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProjectTask', 'module', 90, 0),
('b6df4a09-5e8d-46a7-a6ab-930a719d7fef', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Users', 'module', 90, 0),
('b77e907a-18e6-41a6-b6b4-c630e015fe74', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Leads', 'module', 90, 0),
('b7a54d64-1523-4b60-8a89-21823cba3fb9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SecurityGroups', 'module', 90, 0),
('b9a29056-7581-489a-a8ae-1696195a1168', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Products', 'module', 90, 0),
('b9b8d832-8b43-42e7-94d9-cf6c674ac096', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Documents', 'module', 90, 0),
('baaf96da-e73a-41a4-95c1-2e901fb185e0', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EAPM', 'module', 90, 0),
('bb9b9527-7a95-460c-8201-ff8a37d8a16c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Emails', 'module', 89, 0),
('bbd88a62-a908-4fa2-98e0-60e21c7e807d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'MediaObjects', 'module', 90, 0),
('bc364015-cd4c-45b6-997e-c3f108a8cd18', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Project', 'module', 90, 0),
('bced1af8-7326-4c2f-ba75-b6ea207d6b78', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Contracts', 'module', 90, 0),
('bd806d2b-25d2-4b79-bb14-c58896368e06', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_PDF_Templates', 'module', 90, 0);
INSERT INTO `acl_actions` VALUES
('becc8383-7a70-4235-9bc8-05bdd14b47f6', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Product_Categories', 'module', 89, 0),
('bf279bd6-6b45-4802-b53c-4c309744cc05', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthConnection', 'module', 90, 0),
('c0aeb708-cbd4-443e-9446-d3ac5a3a3753', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Scheduled_Reports', 'module', 90, 0),
('c13559cf-b311-4750-a0b3-49847f3f4fb7', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Opportunities', 'module', 90, 0),
('c14e29b2-f7d8-499a-b07c-76d1dbe42f96', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthProvider', 'module', 90, 0),
('c22e8172-c9f8-4f77-aa8c-37c1890a8025', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Address_Cache', 'module', 90, 0),
('c2305820-4a22-4d58-aa37-63417d32bf5d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Contacts', 'module', 90, 0),
('c3c76411-899d-4412-9611-16b88f1985c2', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SecurityGroups', 'module', 90, 0),
('c4a148de-c0a1-4be4-a02f-f508305ad2cc', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProspectLists', 'module', 90, 0),
('c4e2cddf-fb72-4b93-bf67-c28a360becb9', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EAPM', 'module', 89, 0),
('c5b9f325-4fd2-4f81-b605-410dadfa2668', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('c5d6c188-3f67-443d-9cd7-87078c5da68c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'TemplateSectionLine', 'module', 89, 0),
('c6861aaf-e968-42df-aa7b-73aefa0dcea1', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Contacts', 'module', 90, 0),
('c6aca35f-27b6-4fe2-86ac-2beb9f03b3c5', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Contracts', 'module', 90, 0),
('c6b2448f-3e2b-4991-b9a4-a7df65120fcd', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Emails', 'module', 90, 0),
('c6e2bb4f-cbf6-4863-8644-3bc5f3e307fc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ManualMigrationTasks', 'module', 89, 0),
('c88fbc48-8a4b-45ff-a049-cbea5b2248a9', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Contracts', 'module', 89, 0),
('c89957a7-7b5c-4b7c-b04a-9d6696b955ea', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'CalendarAccount', 'module', 89, 0),
('c8aac082-eed7-4c43-bda0-64057c30968b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Alerts', 'module', 90, 0),
('c95183b5-4fbf-46e0-87b9-8066247b80a6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Alerts', 'module', 90, 0),
('ca18d159-2278-4f0f-a9d9-39127293ed5f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestions', 'module', 90, 0),
('ca9355aa-3283-44c8-beb3-42d977596b18', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_KnowledgeBase', 'module', 89, 0),
('ccc46d95-a7bf-4dec-89c8-993a0a05a32d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Campaigns', 'module', 90, 0),
('cd491a88-a9ec-41a5-8a28-36cc44545d86', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls', 'module', 90, 0),
('cd4e0df0-611c-4dee-bc00-bf5e889890df', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Product_Categories', 'module', 90, 0),
('cda1df25-65af-4453-9516-b4c789994c3a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProspectLists', 'module', 90, 0),
('cdcbd7e0-7b0f-484c-b91f-0816a9d4fe80', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Surveys', 'module', 90, 0),
('ce175141-1c4a-4916-93d7-f5d3692e1361', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Notes', 'module', 90, 0),
('ce284430-09b9-478b-b2f7-14c8ea935319', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Surveys', 'module', 89, 0),
('ce34c6c5-79b5-4e08-ba90-b6499a4c1c33', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailTemplates', 'module', 90, 0),
('ce6a70f3-5f29-4bbb-b389-f4256fdb95c5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Contacts', 'module', 90, 0),
('ce6fb69a-8dcd-49f4-8264-ef83c2159030', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Contracts', 'module', 90, 0),
('cf21189c-546f-4dc9-a82b-2d50cdda90c4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Quotes', 'module', 90, 0),
('cf34fa72-f5f5-4627-93cf-cc8e03812ba7', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ManualMigrationTasks', 'module', 90, 0),
('cf3d998c-9c87-4eb1-b0e5-2df3debfff71', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Campaigns', 'module', 90, 0),
('d02e8f71-e23e-4549-b93a-32541c44067c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Meetings', 'module', 90, 0),
('d052ed5a-ba74-41db-8325-de4cbe292c92', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Alerts', 'module', 90, 0),
('d0db7f61-84c5-4e55-b78b-426e69771cff', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'MediaObjects', 'module', 90, 0),
('d120be72-64e1-4e3a-b419-7d8fc32ce82b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'MediaObjects', 'module', 90, 0),
('d1410eb3-9ce8-4749-a1ec-9195c351f88b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_PDF_Templates', 'module', 90, 0),
('d23fc12d-51c3-45f9-a1e6-ffc3d9438772', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Maps', 'module', 90, 0),
('d2586de3-3eb7-49cf-9065-e167199f749a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Product_Categories', 'module', 90, 0),
('d282a860-08d0-4c34-a78c-bd7ffa886b62', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Notes', 'module', 90, 0),
('d308a429-26e4-46c5-bb02-cd72f92fe19f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProspectLists', 'module', 90, 0),
('d37c68db-7f36-4288-b3a6-04be69c22a91', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Meetings', 'module', 90, 0),
('d3d669c1-fea7-4c83-afcc-c612cc1c5ece', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_KnowledgeBase', 'module', 90, 0),
('d3ff67c6-e1ad-4051-af89-69970d91cda5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Updates', 'module', 90, 0),
('d4b18692-9f12-436b-a596-b62b923d5d0b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Processes', 'module', 90, 0),
('d59b01ff-8674-4fd2-971b-057e7d4af4c6', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Address_Cache', 'module', 90, 0),
('d6598e6d-edfa-45bf-a45b-0d0b385dc318', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_Processed', 'module', 90, 0),
('d74103bd-da98-4b5b-8afb-466428320b69', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Updates', 'module', 90, 0),
('d7af7e31-004d-4d38-96a9-96274356c9b9', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls', 'module', 90, 0),
('d7daac42-f941-4401-a4ca-537153450e41', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Invoices', 'module', 90, 0),
('d85f3f7a-2fd7-4a0e-b683-d62b943bce2f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Maps', 'module', 90, 0),
('d8943a25-1b53-4007-8106-c9e620b3bb80', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'CalendarAccount', 'module', 90, 0),
('d8aff8c2-3a24-48d7-a1f9-6918a910beb1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Scheduled_Reports', 'module', 90, 0),
('d8d40371-0606-46e3-8510-ff2692c90898', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Contracts', 'module', 90, 0),
('da06e4fd-fb02-484c-bb04-6cd2ae03f9e2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_Event_Locations', 'module', 90, 0),
('da72d648-e0d6-4fcc-a12d-db60aaaeb5ff', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Opportunities', 'module', 90, 0),
('da747e75-d54a-42a9-9ee9-1cbb58092307', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_WorkFlow', 'module', 90, 0),
('da8e063f-351b-43f0-8cab-93004570bb6f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_KnowledgeBase', 'module', 90, 0),
('db61a89a-814b-4a41-81e6-09e43045e831', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Opportunities', 'module', 90, 0),
('dc137a63-c1ca-4447-b8cb-d4eaa9925cf4', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_ProjectTemplates', 'module', 90, 0),
('dc4466e7-b68a-4a4b-b441-4c0b5d334ac6', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Opportunities', 'module', 90, 0),
('dc8a36d1-e64e-4329-9505-3a712f783941', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailTemplates', 'module', 90, 0),
('dcba977d-c206-4ad9-89da-36b0517603a2', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Updates', 'module', 89, 0),
('dce4be70-2098-44cb-b2b4-bd31c5c8f013', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Documents', 'module', 90, 0),
('dd113f39-c3d2-458d-8a49-5be1f2aa609b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_WorkFlow', 'module', 89, 0),
('dd3e8e92-601d-4c9c-b198-490ddbd26b34', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Address_Cache', 'module', 89, 0),
('dd6f04cd-6e00-4ce1-a9dd-76c8a63cdc6c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Project', 'module', 89, 0),
('dd81cb3d-7586-48c4-9242-07a8b64d17a4', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls_Reschedule', 'module', 90, 0),
('ddd161cd-e651-4b9d-b77f-5f6cdc52f683', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Accounts', 'module', 90, 0),
('de1b7134-e3fd-43b4-9ab2-4c84443bf904', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_WorkFlow', 'module', 90, 0),
('de435741-388b-49d8-9ebe-f2a23943aa9e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_events', 'module', 90, 0),
('dee45a88-66c0-4447-999d-0b0a7f23df5e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Accounts', 'module', 90, 0),
('df5df956-31e2-4301-bdc1-9076033f1dee', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Leads', 'module', 90, 0),
('dfe8c7f7-10a6-412b-8ffe-dd70da7e1ae6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Opportunities', 'module', 90, 0),
('e019d029-72f6-4d1d-88ca-98e4d8ea2ffc', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Cases', 'module', 90, 0),
('e0c4c739-6729-4c88-b9db-0d4f890d9efa', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Scheduled_Reports', 'module', 90, 0),
('e11c4200-242c-40c9-bf20-5a7230d6995b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('e13fd53f-5126-47bf-bc85-d4448981cd3b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Documents', 'module', 90, 0),
('e1961e81-3828-46d7-ba6a-6d3435b216dc', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_Event_Locations', 'module', 90, 0),
('e1f0cf37-90a7-4013-acd5-4af070b235e3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_TaskTemplates', 'module', 90, 0),
('e20ea84d-64fc-4c4a-8d29-2e433c22d5ea', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_KnowledgeBase', 'module', 90, 0),
('e25bbd63-b4b5-494f-9439-f9206d353563', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Address_Cache', 'module', 90, 0),
('e326c59e-cdef-4cdb-8768-45ba3ad91f7a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthConnection', 'module', 90, 0),
('e358b3db-f401-46e9-b2f5-0683bddba9a0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Markers', 'module', 89, 0),
('e479671d-7141-448d-aef2-9724e43ea5d7', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Areas', 'module', 89, 0),
('e4a33a31-2b2a-49ef-894d-4a0272b7fe0e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Areas', 'module', 90, 0),
('e535ece5-39ac-4e07-a465-4f4d01644c18', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyResponses', 'module', 89, 0),
('e543c368-30b3-4d28-b963-a96acca1ba5a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'OutboundEmailAccounts', 'module', 90, 0),
('e73a8549-2f34-42bb-9c39-db4089ce7411', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailMarketing', 'module', 90, 0),
('e751541b-1178-4750-abb6-90fb4f4a19a2', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailMarketing', 'module', 90, 0),
('e752dd46-06af-455c-8874-fdc110483748', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyResponses', 'module', 90, 0),
('e7b0c8c6-f127-4956-a25d-d4f1852f10bc', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthConnection', 'module', 90, 0),
('e8acfc33-c7ec-4b63-8b76-01258c99324c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Markers', 'module', 90, 0),
('e8c12ace-b902-41ce-a1a4-fb89f3d8aa3b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Invoices', 'module', 89, 0),
('e980a2c3-2f46-421d-bd0c-38ff13b06aee', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionOptions', 'module', 90, 0),
('ea38e179-7886-4a49-8a35-875fb5950962', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Maps', 'module', 89, 0),
('ea4fd5b2-d2f7-4c8a-8210-a802a5daca36', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_ProjectTemplates', 'module', 90, 0),
('ea9dec4e-9a62-49d8-8483-77389e5eebd0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Campaigns', 'module', 90, 0),
('eabb73ef-8b9c-46e7-85cb-b41e04813261', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthConnection', 'module', 90, 0),
('ec8466d4-cf5c-453e-b294-afb48b5c250a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Leads', 'module', 90, 0),
('ecc62da2-cd1b-4340-b394-460c4f4ebb8e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_ProjectTemplates', 'module', 89, 0),
('ecf44d3a-bfcb-4426-a0b8-510537eaceea', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls', 'module', 90, 0),
('edb9da37-390f-4032-acf2-5442f5f557ab', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_Event_Locations', 'module', 90, 0),
('ee17d6d4-f903-4bd9-969a-c8ec1dad35ad', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Project', 'module', 90, 0),
('f01868d6-939e-4af4-9ddd-3246b9396389', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('f19775a2-8680-433a-a243-c8a36541493f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionOptions', 'module', 89, 0),
('f343f6ad-cfb7-4266-a5b9-434419d17e8c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Leads', 'module', 90, 0),
('f40f0b5c-e6c5-4bab-97ee-cfeb901fb020', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Campaigns', 'module', 89, 0),
('f4ae3f91-b237-49df-a189-9ede58f836f7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Tasks', 'module', 90, 0),
('f54d3338-d8f6-4728-a60d-14c06129f480', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Accounts', 'module', 90, 0),
('f6ee8656-02b0-4578-bd9b-41446b4c66bf', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Reports', 'module', 90, 0),
('f8545535-cb46-47fa-8a07-e0e5e99455a9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Updates', 'module', 90, 0),
('f85d0238-8447-4600-9d74-0d3a9f62c134', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Surveys', 'module', 90, 0),
('f92b2f41-df2d-4bfd-aae5-f9656d4cf0aa', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ManualMigrationTasks', 'module', 90, 0),
('f92fe900-4fb7-4203-b3df-4fe6c9129ec4', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Accounts', 'module', 90, 0),
('f93557a8-b425-4ee1-b403-6a22c86c9e37', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'CalendarAccount', 'module', 90, 0),
('fac3c043-935c-497b-bd89-0502bfefee71', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Surveys', 'module', 90, 0),
('fb583e2c-db6c-46f5-babb-57fe356f51b8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Leads', 'module', 90, 0),
('fbbb8cab-eaac-42b4-b962-9946356e50e9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Products', 'module', 90, 0),
('fcf10f00-0390-46f6-ac78-e51148051817', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Bugs', 'module', 90, 0),
('fd9fb89e-1970-4e51-87cf-89431d1cf7e4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_ProjectTemplates', 'module', 90, 0),
('fe56909b-3694-476a-8564-5ca015ebcbb1', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_Processed', 'module', 89, 0),
('fec698d2-19b7-47df-b570-ee897fec496d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EAPM', 'module', 90, 0),
('ffc8ada1-b4a8-4ebb-a82e-613199511ca9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Invoices', 'module', 90, 0),
('ffd371f3-b357-4bed-8e38-1fc27386b5dd', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Accounts', 'module', 89, 0);
-- --------------------------------------------------------
--
-- Table structure for table `acl_roles`
--
CREATE TABLE `acl_roles` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(150) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_aclrole_id_del` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `acl_roles_actions`
--
CREATE TABLE `acl_roles_actions` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`action_id` varchar(36) DEFAULT NULL,
`access_override` int DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_acl_role_id` (`role_id`),
KEY `idx_acl_action_id` (`action_id`),
KEY `idx_aclrole_action` (`role_id`,`action_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `acl_roles_users`
--
CREATE TABLE `acl_roles_users` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_aclrole_id` (`role_id`),
KEY `idx_acluser_id` (`user_id`),
KEY `idx_aclrole_user` (`role_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `address_book`
--
CREATE TABLE `address_book` (
`assigned_user_id` char(36) NOT NULL,
`bean` varchar(50) DEFAULT NULL,
`bean_id` char(36) NOT NULL,
KEY `ab_user_bean_idx` (`assigned_user_id`,`bean`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `alerts`
--
CREATE TABLE `alerts` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`is_read` tinyint(1) DEFAULT NULL,
`target_module` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`url_redirect` varchar(255) DEFAULT NULL,
`reminder_id` char(36) DEFAULT NULL,
`snooze` datetime DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`status` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates`
--
CREATE TABLE `am_projecttemplates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Draft',
`priority` varchar(100) DEFAULT 'High',
`override_business_hours` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_audit`
--
CREATE TABLE `am_projecttemplates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_am_projecttemplates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_contacts_1_c`
--
CREATE TABLE `am_projecttemplates_contacts_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_projecttemplates_ida` varchar(36) DEFAULT NULL,
`contacts_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_projecttemplates_contacts_1_alt` (`am_projecttemplates_ida`,`contacts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_project_1_c`
--
CREATE TABLE `am_projecttemplates_project_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_projecttemplates_project_1am_projecttemplates_ida` varchar(36) DEFAULT NULL,
`am_projecttemplates_project_1project_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_projecttemplates_project_1_ida1` (`am_projecttemplates_project_1am_projecttemplates_ida`),
KEY `am_projecttemplates_project_1_alt` (`am_projecttemplates_project_1project_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_users_1_c`
--
CREATE TABLE `am_projecttemplates_users_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_projecttemplates_ida` varchar(36) DEFAULT NULL,
`users_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_projecttemplates_users_1_alt` (`am_projecttemplates_ida`,`users_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_tasktemplates`
--
CREATE TABLE `am_tasktemplates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Not Started',
`priority` varchar(100) DEFAULT 'High',
`percent_complete` int DEFAULT '0',
`predecessors` int DEFAULT NULL,
`milestone_flag` tinyint(1) DEFAULT '0',
`relationship_type` varchar(100) DEFAULT 'FS',
`task_number` int DEFAULT NULL,
`order_number` int DEFAULT NULL,
`estimated_effort` int DEFAULT NULL,
`utilization` varchar(100) DEFAULT '0',
`duration` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_tasktemplates_am_projecttemplates_c`
--
CREATE TABLE `am_tasktemplates_am_projecttemplates_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_tasktemplates_am_projecttemplatesam_projecttemplates_ida` varchar(36) DEFAULT NULL,
`am_tasktemplates_am_projecttemplatesam_tasktemplates_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_tasktemplates_am_projecttemplates_ida1` (`am_tasktemplates_am_projecttemplatesam_projecttemplates_ida`),
KEY `am_tasktemplates_am_projecttemplates_alt` (`am_tasktemplates_am_projecttemplatesam_tasktemplates_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `am_tasktemplates_audit`
--
CREATE TABLE `am_tasktemplates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_am_tasktemplates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aobh_businesshours`
--
CREATE TABLE `aobh_businesshours` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`opening_hours` varchar(100) DEFAULT '1',
`closing_hours` varchar(100) DEFAULT '1',
`open_status` tinyint(1) DEFAULT NULL,
`day` varchar(100) DEFAULT 'monday',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledgebase`
--
CREATE TABLE `aok_knowledgebase` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Draft',
`revision` varchar(255) DEFAULT NULL,
`additional_info` text,
`user_id_c` char(36) DEFAULT NULL,
`user_id1_c` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledgebase_audit`
--
CREATE TABLE `aok_knowledgebase_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aok_knowledgebase_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledgebase_categories`
--
CREATE TABLE `aok_knowledgebase_categories` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aok_knowledgebase_id` varchar(36) DEFAULT NULL,
`aok_knowledge_base_categories_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aok_knowledgebase_categories_alt` (`aok_knowledgebase_id`,`aok_knowledge_base_categories_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledge_base_categories`
--
CREATE TABLE `aok_knowledge_base_categories` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledge_base_categories_audit`
--
CREATE TABLE `aok_knowledge_base_categories_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aok_knowledge_base_categories_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_events`
--
CREATE TABLE `aop_case_events` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`case_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_events_audit`
--
CREATE TABLE `aop_case_events_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aop_case_events_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_updates`
--
CREATE TABLE `aop_case_updates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`case_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`internal` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_updates_audit`
--
CREATE TABLE `aop_case_updates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aop_case_updates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aor_charts`
--
CREATE TABLE `aor_charts` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aor_report_id` char(36) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`x_field` int DEFAULT NULL,
`y_field` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aor_conditions`
--
CREATE TABLE `aor_conditions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aor_report_id` char(36) DEFAULT NULL,
`condition_order` int DEFAULT NULL,
`logic_op` varchar(255) DEFAULT NULL,
`parenthesis` varchar(255) DEFAULT NULL,
`module_path` longtext,
`field` varchar(100) DEFAULT NULL,
`operator` varchar(100) DEFAULT NULL,
`value_type` varchar(100) DEFAULT NULL,
`value` text,
`parameter` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aor_conditions_index_report_id` (`aor_report_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aor_fields`
--
CREATE TABLE `aor_fields` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aor_report_id` char(36) DEFAULT NULL,
`field_order` int DEFAULT NULL,
`module_path` longtext,
`field` varchar(100) DEFAULT NULL,
`display` tinyint(1) DEFAULT NULL,
`link` tinyint(1) DEFAULT NULL,
`label` varchar(255) DEFAULT NULL,
`field_function` varchar(100) DEFAULT NULL,
`sort_by` varchar(100) DEFAULT NULL,
`format` varchar(100) DEFAULT NULL,
`total` varchar(100) DEFAULT NULL,
`sort_order` varchar(100) DEFAULT NULL,
`group_by` tinyint(1) DEFAULT NULL,
`group_order` varchar(100) DEFAULT NULL,
`group_display` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aor_fields_index_report_id` (`aor_report_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aor_reports`
--
CREATE TABLE `aor_reports` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`report_module` varchar(100) DEFAULT NULL,
`graphs_per_row` int DEFAULT '2',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aor_reports_audit`
--
CREATE TABLE `aor_reports_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aor_reports_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aor_scheduled_reports`
--
CREATE TABLE `aor_scheduled_reports` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`schedule` varchar(100) DEFAULT NULL,
`last_run` datetime DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`email_recipients` longtext,
`aor_report_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_contracts`
--
CREATE TABLE `aos_contracts` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`reference_code` varchar(255) DEFAULT NULL,
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`total_contract_value` decimal(26,6) DEFAULT NULL,
`total_contract_value_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Not Started',
`customer_signed_date` date DEFAULT NULL,
`company_signed_date` date DEFAULT NULL,
`renewal_reminder_date` datetime DEFAULT NULL,
`contract_type` varchar(100) DEFAULT 'Type',
`contract_account_id` char(36) DEFAULT NULL,
`opportunity_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`call_id` char(36) DEFAULT NULL,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_amount` decimal(26,6) DEFAULT NULL,
`shipping_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_tax` varchar(100) DEFAULT NULL,
`shipping_tax_amt` decimal(26,6) DEFAULT NULL,
`shipping_tax_amt_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_contracts_audit`
--
CREATE TABLE `aos_contracts_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_contracts_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_contracts_documents`
--
CREATE TABLE `aos_contracts_documents` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_contracts_id` varchar(36) DEFAULT NULL,
`documents_id` varchar(36) DEFAULT NULL,
`document_revision_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_contracts_documents_alt` (`aos_contracts_id`,`documents_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_invoices`
--
CREATE TABLE `aos_invoices` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`billing_account_id` char(36) DEFAULT NULL,
`billing_contact_id` char(36) DEFAULT NULL,
`billing_address_street` varchar(150) DEFAULT NULL,
`billing_address_city` varchar(100) DEFAULT NULL,
`billing_address_state` varchar(100) DEFAULT NULL,
`billing_address_postalcode` varchar(20) DEFAULT NULL,
`billing_address_country` varchar(255) DEFAULT NULL,
`shipping_address_street` varchar(150) DEFAULT NULL,
`shipping_address_city` varchar(100) DEFAULT NULL,
`shipping_address_state` varchar(100) DEFAULT NULL,
`shipping_address_postalcode` varchar(20) DEFAULT NULL,
`shipping_address_country` varchar(255) DEFAULT NULL,
`number` int NOT NULL,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_amount` decimal(26,6) DEFAULT NULL,
`shipping_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_tax` varchar(100) DEFAULT NULL,
`shipping_tax_amt` decimal(26,6) DEFAULT NULL,
`shipping_tax_amt_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`quote_number` int DEFAULT NULL,
`quote_date` date DEFAULT NULL,
`invoice_date` date DEFAULT NULL,
`due_date` date DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`template_ddown_c` text,
`subtotal_tax_amount` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_invoices_audit`
--
CREATE TABLE `aos_invoices_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_invoices_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_line_item_groups`
--
CREATE TABLE `aos_line_item_groups` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`number` int DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_line_item_groups_audit`
--
CREATE TABLE `aos_line_item_groups_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_line_item_groups_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_pdf_templates`
--
CREATE TABLE `aos_pdf_templates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` longtext,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`active` tinyint(1) DEFAULT '1',
`type` varchar(100) DEFAULT NULL,
`pdfheader` longtext,
`pdffooter` longtext,
`margin_left` int DEFAULT '15',
`margin_right` int DEFAULT '15',
`margin_top` int DEFAULT '16',
`margin_bottom` int DEFAULT '16',
`margin_header` int DEFAULT '9',
`margin_footer` int DEFAULT '9',
`page_size` varchar(100) DEFAULT NULL,
`orientation` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_pdf_templates_audit`
--
CREATE TABLE `aos_pdf_templates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_pdf_templates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products`
--
CREATE TABLE `aos_products` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`maincode` varchar(100) DEFAULT 'XXXX',
`part_number` varchar(25) DEFAULT NULL,
`category` varchar(100) DEFAULT NULL,
`type` varchar(100) DEFAULT 'Good',
`cost` decimal(26,6) DEFAULT NULL,
`cost_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`price` decimal(26,6) DEFAULT NULL,
`price_usdollar` decimal(26,6) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`product_image` varchar(255) DEFAULT NULL,
`aos_product_category_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products_audit`
--
CREATE TABLE `aos_products_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_products_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products_quotes`
--
CREATE TABLE `aos_products_quotes` (
`id` char(36) NOT NULL,
`name` text,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`part_number` varchar(255) DEFAULT NULL,
`item_description` text,
`number` int DEFAULT NULL,
`product_qty` decimal(18,4) DEFAULT NULL,
`product_cost_price` decimal(26,6) DEFAULT NULL,
`product_cost_price_usdollar` decimal(26,6) DEFAULT NULL,
`product_list_price` decimal(26,6) DEFAULT NULL,
`product_list_price_usdollar` decimal(26,6) DEFAULT NULL,
`product_discount` decimal(26,6) DEFAULT NULL,
`product_discount_usdollar` decimal(26,6) DEFAULT NULL,
`product_discount_amount` decimal(26,6) DEFAULT NULL,
`product_discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount` varchar(255) DEFAULT 'Percentage',
`product_unit_price` decimal(26,6) DEFAULT NULL,
`product_unit_price_usdollar` decimal(26,6) DEFAULT NULL,
`vat_amt` decimal(26,6) DEFAULT NULL,
`vat_amt_usdollar` decimal(26,6) DEFAULT NULL,
`product_total_price` decimal(26,6) DEFAULT NULL,
`product_total_price_usdollar` decimal(26,6) DEFAULT NULL,
`vat` varchar(100) DEFAULT '5.0',
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`product_id` char(36) DEFAULT NULL,
`group_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_aospq_par_del` (`parent_id`,`parent_type`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products_quotes_audit`
--
CREATE TABLE `aos_products_quotes_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_products_quotes_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_product_categories`
--
CREATE TABLE `aos_product_categories` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`is_parent` tinyint(1) DEFAULT '0',
`parent_category_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_product_categories_audit`
--
CREATE TABLE `aos_product_categories_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_product_categories_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes`
--
CREATE TABLE `aos_quotes` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`approval_issue` text,
`billing_account_id` char(36) DEFAULT NULL,
`billing_contact_id` char(36) DEFAULT NULL,
`billing_address_street` varchar(150) DEFAULT NULL,
`billing_address_city` varchar(100) DEFAULT NULL,
`billing_address_state` varchar(100) DEFAULT NULL,
`billing_address_postalcode` varchar(20) DEFAULT NULL,
`billing_address_country` varchar(255) DEFAULT NULL,
`shipping_address_street` varchar(150) DEFAULT NULL,
`shipping_address_city` varchar(100) DEFAULT NULL,
`shipping_address_state` varchar(100) DEFAULT NULL,
`shipping_address_postalcode` varchar(20) DEFAULT NULL,
`shipping_address_country` varchar(255) DEFAULT NULL,
`expiration` date DEFAULT NULL,
`number` int DEFAULT NULL,
`opportunity_id` char(36) DEFAULT NULL,
`template_ddown_c` text,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_amount` decimal(26,6) DEFAULT NULL,
`shipping_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_tax` varchar(100) DEFAULT NULL,
`shipping_tax_amt` decimal(26,6) DEFAULT NULL,
`shipping_tax_amt_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`stage` varchar(100) DEFAULT 'Draft',
`term` varchar(100) DEFAULT NULL,
`terms_c` text,
`approval_status` varchar(100) DEFAULT NULL,
`invoice_status` varchar(100) DEFAULT 'Not Invoiced',
`subtotal_tax_amount` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_aos_invoices_c`
--
CREATE TABLE `aos_quotes_aos_invoices_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_quotes77d9_quotes_ida` varchar(36) DEFAULT NULL,
`aos_quotes6b83nvoices_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_quotes_aos_invoices_alt` (`aos_quotes77d9_quotes_ida`,`aos_quotes6b83nvoices_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_audit`
--
CREATE TABLE `aos_quotes_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_quotes_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_os_contracts_c`
--
CREATE TABLE `aos_quotes_os_contracts_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_quotese81e_quotes_ida` varchar(36) DEFAULT NULL,
`aos_quotes4dc0ntracts_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_quotes_aos_contracts_alt` (`aos_quotese81e_quotes_ida`,`aos_quotes4dc0ntracts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_project_c`
--
CREATE TABLE `aos_quotes_project_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_quotes1112_quotes_ida` varchar(36) DEFAULT NULL,
`aos_quotes7207project_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_quotes_project_alt` (`aos_quotes1112_quotes_ida`,`aos_quotes7207project_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aow_actions`
--
CREATE TABLE `aow_actions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aow_workflow_id` char(36) DEFAULT NULL,
`action_order` int DEFAULT NULL,
`action` varchar(100) DEFAULT NULL,
`parameters` longtext,
PRIMARY KEY (`id`),
KEY `aow_action_index_workflow_id` (`aow_workflow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aow_conditions`
--
CREATE TABLE `aow_conditions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aow_workflow_id` char(36) DEFAULT NULL,
`condition_order` int DEFAULT NULL,
`module_path` longtext,
`field` varchar(100) DEFAULT NULL,
`operator` varchar(100) DEFAULT NULL,
`value_type` varchar(255) DEFAULT NULL,
`value` text,
PRIMARY KEY (`id`),
KEY `aow_conditions_index_workflow_id` (`aow_workflow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aow_processed`
--
CREATE TABLE `aow_processed` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aow_workflow_id` char(36) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Pending',
PRIMARY KEY (`id`),
KEY `aow_processed_index_workflow` (`aow_workflow_id`,`status`,`parent_id`,`deleted`),
KEY `aow_processed_index_status` (`status`),
KEY `aow_processed_index_workflow_id` (`aow_workflow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aow_processed_aow_actions`
--
CREATE TABLE `aow_processed_aow_actions` (
`id` varchar(36) NOT NULL,
`aow_processed_id` varchar(36) DEFAULT NULL,
`aow_action_id` varchar(36) DEFAULT NULL,
`status` varchar(36) DEFAULT 'Pending',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_aow_processed_aow_actions` (`aow_processed_id`,`aow_action_id`),
KEY `idx_actid_del_freid` (`aow_action_id`,`deleted`,`aow_processed_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aow_workflow`
--
CREATE TABLE `aow_workflow` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`flow_module` varchar(100) DEFAULT NULL,
`flow_run_on` varchar(100) DEFAULT '0',
`status` varchar(100) DEFAULT 'Active',
`run_when` varchar(100) DEFAULT 'Always',
`multiple_runs` tinyint(1) DEFAULT '0',
`run_on_import` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `aow_workflow_index_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `aow_workflow_audit`
--
CREATE TABLE `aow_workflow_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aow_workflow_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `archived_documents_media_objects`
--
CREATE TABLE `archived_documents_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `async_task_items`
--
CREATE TABLE `async_task_items` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`async_task_id` varchar(36) DEFAULT NULL,
`item_key` varchar(255) DEFAULT NULL,
`item_name` varchar(255) DEFAULT NULL,
`item_module` varchar(100) DEFAULT NULL,
`status` varchar(36) DEFAULT 'queued',
`error_message` text,
`data` text,
`result_data` text,
`sort_order` int DEFAULT '0',
`retry_count` int DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_ati_async_task_id` (`async_task_id`),
KEY `idx_ati_async_task_status` (`async_task_id`,`status`),
KEY `idx_ati_item_key` (`async_task_id`,`item_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `attachments_references`
--
CREATE TABLE `attachments_references` (
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(255) DEFAULT NULL,
`parent_type` varchar(25) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`source_record_id` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
KEY `idx_attachments_ref_parent_id` (`parent_id`),
KEY `idx_attachments_ref_source_record_id` (`source_record_id`),
KEY `idx_attachments_ref_parent` (`parent_id`,`parent_type`,`parent_field`),
KEY `idx_attachments_ref_source_type` (`type`,`source_record_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `bugs`
--
CREATE TABLE `bugs` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`bug_number` int NOT NULL AUTO_INCREMENT,
`type` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`priority` varchar(100) DEFAULT NULL,
`resolution` varchar(255) DEFAULT NULL,
`work_log` text,
`found_in_release` char(36) DEFAULT NULL,
`fixed_in_release` char(36) DEFAULT NULL,
`source` varchar(255) DEFAULT NULL,
`product_category` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `bugsnumk` (`bug_number`),
KEY `bug_number` (`bug_number`),
KEY `idx_bug_name` (`name`),
KEY `idx_bugs_assigned_user` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `bugs_audit`
--
CREATE TABLE `bugs_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_bugs_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `cache_rebuild`
--
CREATE TABLE `cache_rebuild` (
`cache_key` varchar(255) DEFAULT NULL,
`rebuild` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calendar_accounts`
--
CREATE TABLE `calendar_accounts` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`source` varchar(50) DEFAULT NULL,
`type` varchar(255) DEFAULT 'personal',
`oauth_connection_id` char(36) DEFAULT NULL,
`username` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`server_url` varchar(500) DEFAULT NULL,
`api_key` varchar(255) DEFAULT NULL,
`api_endpoint` varchar(500) DEFAULT NULL,
`calendar_user_id` char(36) NOT NULL,
`last_connection_status` tinyint(1) DEFAULT '0',
`last_connection_test` datetime DEFAULT NULL,
`last_sync_attempt_date` datetime DEFAULT NULL,
`last_sync_attempt_status` varchar(20) DEFAULT NULL,
`last_sync_attempt_message` varchar(50) DEFAULT NULL,
`last_sync_date` datetime DEFAULT NULL,
`external_calendar_id` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_cal_acct_user_type_status` (`calendar_user_id`,`type`,`last_connection_status`,`deleted`),
KEY `idx_cal_acct_external_cal_id` (`external_calendar_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calendar_account_meetings`
--
CREATE TABLE `calendar_account_meetings` (
`id` varchar(36) NOT NULL,
`calendar_account_id` varchar(36) DEFAULT NULL,
`meeting_id` varchar(36) DEFAULT NULL,
`calendar_account_source` varchar(255) DEFAULT NULL,
`external_event_id` varchar(255) DEFAULT NULL,
`last_sync` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_calendar_account_meeting` (`calendar_account_id`,`meeting_id`),
KEY `idx_cal_acc_mtg_cal` (`calendar_account_id`),
KEY `idx_cal_acc_mtg_mtg` (`meeting_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calls`
--
CREATE TABLE `calls` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`duration_hours` int DEFAULT NULL,
`duration_minutes` int DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Planned',
`direction` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`reminder_time` int DEFAULT '-1',
`email_reminder_time` int DEFAULT '-1',
`email_reminder_sent` tinyint(1) DEFAULT '0',
`outlook_id` varchar(255) DEFAULT NULL,
`repeat_type` varchar(36) DEFAULT NULL,
`repeat_interval` int DEFAULT '1',
`repeat_dow` varchar(7) DEFAULT NULL,
`repeat_until` date DEFAULT NULL,
`repeat_count` int DEFAULT NULL,
`repeat_parent_id` char(36) DEFAULT NULL,
`recurring_source` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_call_name` (`name`),
KEY `idx_status` (`status`),
KEY `idx_calls_date_start` (`date_start`),
KEY `idx_calls_par_del` (`parent_id`,`parent_type`,`deleted`),
KEY `idx_calls_assigned_del` (`deleted`,`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calls_contacts`
--
CREATE TABLE `calls_contacts` (
`id` varchar(36) NOT NULL,
`call_id` varchar(36) DEFAULT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_call_call` (`call_id`),
KEY `idx_con_call_con` (`contact_id`),
KEY `idx_call_contact` (`call_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calls_leads`
--
CREATE TABLE `calls_leads` (
`id` varchar(36) NOT NULL,
`call_id` varchar(36) DEFAULT NULL,
`lead_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_lead_call_call` (`call_id`),
KEY `idx_lead_call_lead` (`lead_id`),
KEY `idx_call_lead` (`call_id`,`lead_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calls_reschedule`
--
CREATE TABLE `calls_reschedule` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`reason` varchar(100) DEFAULT NULL,
`call_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calls_reschedule_audit`
--
CREATE TABLE `calls_reschedule_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_calls_reschedule_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `calls_users`
--
CREATE TABLE `calls_users` (
`id` varchar(36) NOT NULL,
`call_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_usr_call_call` (`call_id`),
KEY `idx_usr_call_usr` (`user_id`),
KEY `idx_call_users` (`call_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `campaigns`
--
CREATE TABLE `campaigns` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`tracker_key` int NOT NULL AUTO_INCREMENT,
`tracker_count` int DEFAULT '0',
`refer_url` varchar(255) DEFAULT 'http://',
`tracker_text` varchar(255) DEFAULT NULL,
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`status` varchar(100) DEFAULT 'Planning',
`impressions` int DEFAULT '0',
`currency_id` char(36) DEFAULT NULL,
`budget` double DEFAULT NULL,
`budget_usdollar` double DEFAULT NULL,
`expected_cost_usdollar` double DEFAULT NULL,
`actual_cost_usdollar` double DEFAULT NULL,
`expected_revenue_usdollar` double DEFAULT NULL,
`expected_cost` double DEFAULT NULL,
`actual_cost` double DEFAULT NULL,
`expected_revenue` double DEFAULT NULL,
`campaign_type` varchar(100) DEFAULT 'NewsLetter',
`objective` text,
`content` text,
`frequency` varchar(100) DEFAULT NULL,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `camp_auto_tracker_key` (`tracker_key`),
KEY `idx_campaign_name` (`name`),
KEY `idx_survey_id` (`survey_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `campaigns_audit`
--
CREATE TABLE `campaigns_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_campaigns_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `campaign_log`
--
CREATE TABLE `campaign_log` (
`id` char(36) NOT NULL,
`campaign_id` char(36) DEFAULT NULL,
`target_tracker_key` varchar(36) DEFAULT NULL,
`target_id` varchar(36) DEFAULT NULL,
`target_type` varchar(100) DEFAULT NULL,
`activity_type` varchar(100) DEFAULT NULL,
`activity_date` datetime DEFAULT NULL,
`archived` tinyint(1) DEFAULT '0',
`hits` int DEFAULT '0',
`list_id` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`is_test_entry` tinyint(1) DEFAULT '0',
`related_type` varchar(255) DEFAULT NULL,
`related_id` char(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`more_information` varchar(100) DEFAULT NULL,
`marketing_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_camp_tracker` (`target_tracker_key`),
KEY `idx_camp_campaign_id` (`campaign_id`),
KEY `idx_camp_more_info` (`more_information`),
KEY `idx_target_id` (`target_id`),
KEY `idx_related` (`related_id`,`related_type`,`marketing_id`,`deleted`),
KEY `idx_target_id_deleted` (`target_id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `campaign_trkrs`
--
CREATE TABLE `campaign_trkrs` (
`id` char(36) NOT NULL,
`tracker_name` varchar(255) DEFAULT NULL,
`tracker_url` varchar(255) DEFAULT 'http://',
`tracker_key` int NOT NULL AUTO_INCREMENT,
`campaign_id` char(36) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`is_optout` tinyint(1) DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `campaign_tracker_key_idx` (`tracker_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `cases`
--
CREATE TABLE `cases` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`case_number` int NOT NULL AUTO_INCREMENT,
`type` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`priority` varchar(100) DEFAULT NULL,
`resolution` text,
`work_log` text,
`account_id` char(36) DEFAULT NULL,
`state` varchar(100) DEFAULT 'Open',
`contact_created_by_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `casesnumk` (`case_number`),
KEY `case_number` (`case_number`),
KEY `idx_case_name` (`name`),
KEY `idx_account_id` (`account_id`),
KEY `idx_cases_stat_del` (`assigned_user_id`,`status`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `cases_audit`
--
CREATE TABLE `cases_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_cases_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `cases_bugs`
--
CREATE TABLE `cases_bugs` (
`id` varchar(36) NOT NULL,
`case_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_cas_bug_cas` (`case_id`),
KEY `idx_cas_bug_bug` (`bug_id`),
KEY `idx_case_bug` (`case_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `cases_cstm`
--
CREATE TABLE `cases_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `config`
--
CREATE TABLE `config` (
`category` varchar(32) DEFAULT NULL,
`name` varchar(32) DEFAULT NULL,
`value` text,
KEY `idx_config_cat` (`category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `config`
--
INSERT INTO `config` VALUES
('notify', 'fromaddress', '[[admin_email]]'),
('notify', 'fromname', '[[site_name]]'),
('notify', 'send_by_default', '1'),
('notify', 'on', '1'),
('notify', 'send_from_assigning_user', '0'),
('info', 'sugar_version', '6.5.25'),
('MySettings', 'tab', 'YTozMjp7aTowO3M6NDoiSG9tZSI7aToxO3M6ODoiQWNjb3VudHMiO2k6MjtzOjg6IkNvbnRhY3RzIjtpOjM7czoxMzoiT3Bwb3J0dW5pdGllcyI7aTo0O3M6NToiTGVhZHMiO2k6NTtzOjEwOiJBT1NfUXVvdGVzIjtpOjY7czo4OiJDYWxlbmRhciI7aTo3O3M6OToiRG9jdW1lbnRzIjtpOjg7czo2OiJFbWFpbHMiO2k6OTtzOjk6IkNhbXBhaWducyI7aToxMDtzOjU6IkNhbGxzIjtpOjExO3M6ODoiTWVldGluZ3MiO2k6MTI7czo1OiJUYXNrcyI7aToxMztzOjU6Ik5vdGVzIjtpOjE0O3M6MTI6IkFPU19JbnZvaWNlcyI7aToxNTtzOjEzOiJBT1NfQ29udHJhY3RzIjtpOjE2O3M6NToiQ2FzZXMiO2k6MTc7czo5OiJQcm9zcGVjdHMiO2k6MTg7czoxMzoiUHJvc3BlY3RMaXN0cyI7aToxOTtzOjc6IlByb2plY3QiO2k6MjA7czoxOToiQU1fUHJvamVjdFRlbXBsYXRlcyI7aToyMTtzOjE2OiJBTV9UYXNrVGVtcGxhdGVzIjtpOjIyO3M6OToiRlBfZXZlbnRzIjtpOjIzO3M6MTg6IkZQX0V2ZW50X0xvY2F0aW9ucyI7aToyNDtzOjEyOiJBT1NfUHJvZHVjdHMiO2k6MjU7czoyMjoiQU9TX1Byb2R1Y3RfQ2F0ZWdvcmllcyI7aToyNjtzOjE3OiJBT1NfUERGX1RlbXBsYXRlcyI7aToyNztzOjExOiJBT1JfUmVwb3J0cyI7aToyODtzOjE3OiJBT0tfS25vd2xlZGdlQmFzZSI7aToyOTtzOjI5OiJBT0tfS25vd2xlZGdlX0Jhc2VfQ2F0ZWdvcmllcyI7aTozMDtzOjE0OiJFbWFpbFRlbXBsYXRlcyI7aTozMTtzOjc6IlN1cnZleXMiO30='),
('portal', 'on', '0'),
('system', 'drafts_popup', '1'),
('tracker', 'Tracker', '1'),
('sugarfeed', 'enabled', '1'),
('sugarfeed', 'module_UserFeed', '1'),
('sugarfeed', 'module_Cases', '1'),
('sugarfeed', 'module_Contacts', '1'),
('sugarfeed', 'module_Leads', '1'),
('sugarfeed', 'module_Opportunities', '1'),
('Update', 'CheckUpdates', 'manual'),
('system', 'name', '[[site_name]]'),
('system', 'adminwizard', '1'),
('info', 'suitecrm_version', '8.10.2');
-- --------------------------------------------------------
--
-- Table structure for table `contacts`
--
CREATE TABLE `contacts` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`salutation` varchar(255) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`title` varchar(100) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(255) DEFAULT NULL,
`do_not_call` tinyint(1) DEFAULT '0',
`phone_home` varchar(100) DEFAULT NULL,
`phone_mobile` varchar(100) DEFAULT NULL,
`phone_work` varchar(100) DEFAULT NULL,
`phone_other` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`lawful_basis` text,
`date_reviewed` date DEFAULT NULL,
`lawful_basis_source` varchar(100) DEFAULT NULL,
`primary_address_street` varchar(150) DEFAULT NULL,
`primary_address_city` varchar(100) DEFAULT NULL,
`primary_address_state` varchar(100) DEFAULT NULL,
`primary_address_postalcode` varchar(20) DEFAULT NULL,
`primary_address_country` varchar(255) DEFAULT NULL,
`alt_address_street` varchar(150) DEFAULT NULL,
`alt_address_city` varchar(100) DEFAULT NULL,
`alt_address_state` varchar(100) DEFAULT NULL,
`alt_address_postalcode` varchar(20) DEFAULT NULL,
`alt_address_country` varchar(255) DEFAULT NULL,
`assistant` varchar(75) DEFAULT NULL,
`assistant_phone` varchar(100) DEFAULT NULL,
`lead_source` varchar(255) DEFAULT NULL,
`reports_to_id` char(36) DEFAULT NULL,
`birthdate` date DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`joomla_account_id` varchar(255) DEFAULT NULL,
`portal_account_disabled` tinyint(1) DEFAULT NULL,
`portal_user_type` varchar(100) DEFAULT 'Single',
PRIMARY KEY (`id`),
KEY `idx_cont_last_first` (`last_name`,`first_name`,`deleted`),
KEY `idx_contacts_del_last` (`deleted`,`last_name`),
KEY `idx_cont_del_reports` (`deleted`,`reports_to_id`,`last_name`),
KEY `idx_reports_to_id` (`reports_to_id`),
KEY `idx_del_id_user` (`deleted`,`id`,`assigned_user_id`),
KEY `idx_cont_assigned` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_audit`
--
CREATE TABLE `contacts_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_contacts_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_bugs`
--
CREATE TABLE `contacts_bugs` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`contact_role` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_bug_con` (`contact_id`),
KEY `idx_con_bug_bug` (`bug_id`),
KEY `idx_contact_bug` (`contact_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_cases`
--
CREATE TABLE `contacts_cases` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`case_id` varchar(36) DEFAULT NULL,
`contact_role` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_case_con` (`contact_id`),
KEY `idx_con_case_case` (`case_id`),
KEY `idx_contacts_cases` (`contact_id`,`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_cstm`
--
CREATE TABLE `contacts_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_users`
--
CREATE TABLE `contacts_users` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_users_con` (`contact_id`),
KEY `idx_con_users_user` (`user_id`),
KEY `idx_contacts_users` (`contact_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `cron_remove_documents`
--
CREATE TABLE `cron_remove_documents` (
`id` varchar(36) NOT NULL,
`bean_id` varchar(36) DEFAULT NULL,
`module` varchar(25) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_cron_remove_document_bean_id` (`bean_id`),
KEY `idx_cron_remove_document_stamp` (`date_modified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `currencies`
--
CREATE TABLE `currencies` (
`id` char(36) NOT NULL,
`name` varchar(36) DEFAULT NULL,
`symbol` varchar(36) DEFAULT NULL,
`iso4217` varchar(3) DEFAULT NULL,
`conversion_rate` double DEFAULT '0',
`status` varchar(100) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`created_by` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_currency_name` (`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `custom_fields`
--
CREATE TABLE `custom_fields` (
`bean_id` varchar(36) DEFAULT NULL,
`set_num` int DEFAULT '0',
`field0` varchar(255) DEFAULT NULL,
`field1` varchar(255) DEFAULT NULL,
`field2` varchar(255) DEFAULT NULL,
`field3` varchar(255) DEFAULT NULL,
`field4` varchar(255) DEFAULT NULL,
`field5` varchar(255) DEFAULT NULL,
`field6` varchar(255) DEFAULT NULL,
`field7` varchar(255) DEFAULT NULL,
`field8` varchar(255) DEFAULT NULL,
`field9` varchar(255) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
KEY `idx_beanid_set_num` (`bean_id`,`set_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `documents`
--
CREATE TABLE `documents` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`document_name` varchar(255) DEFAULT NULL,
`doc_id` varchar(100) DEFAULT NULL,
`doc_type` varchar(100) DEFAULT 'Sugar',
`doc_url` varchar(255) DEFAULT NULL,
`active_date` date DEFAULT NULL,
`exp_date` date DEFAULT NULL,
`category_id` varchar(100) DEFAULT NULL,
`subcategory_id` varchar(100) DEFAULT NULL,
`status_id` varchar(100) DEFAULT 'Active',
`document_revision_id` varchar(36) DEFAULT NULL,
`related_doc_id` char(36) DEFAULT NULL,
`related_doc_rev_id` char(36) DEFAULT NULL,
`is_template` tinyint(1) DEFAULT '0',
`template_type` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_doc_cat` (`category_id`,`subcategory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `documents_accounts`
--
CREATE TABLE `documents_accounts` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`account_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_accounts_account_id` (`account_id`,`document_id`),
KEY `documents_accounts_document_id` (`document_id`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `documents_bugs`
--
CREATE TABLE `documents_bugs` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_bugs_bug_id` (`bug_id`,`document_id`),
KEY `documents_bugs_document_id` (`document_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `documents_cases`
--
CREATE TABLE `documents_cases` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`case_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_cases_case_id` (`case_id`,`document_id`),
KEY `documents_cases_document_id` (`document_id`,`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `documents_contacts`
--
CREATE TABLE `documents_contacts` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`contact_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_contacts_contact_id` (`contact_id`,`document_id`),
KEY `documents_contacts_document_id` (`document_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `documents_opportunities`
--
CREATE TABLE `documents_opportunities` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_docu_opps_oppo_id` (`opportunity_id`,`document_id`),
KEY `idx_docu_oppo_docu_id` (`document_id`,`opportunity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `document_revisions`
--
CREATE TABLE `document_revisions` (
`id` varchar(36) NOT NULL,
`change_log` varchar(255) DEFAULT NULL,
`document_id` varchar(36) DEFAULT NULL,
`doc_id` varchar(100) DEFAULT NULL,
`doc_type` varchar(100) DEFAULT NULL,
`doc_url` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`file_ext` varchar(100) DEFAULT NULL,
`file_mime_type` varchar(100) DEFAULT NULL,
`revision` varchar(100) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_modified` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documentrevision_mimetype` (`file_mime_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `eapm`
--
CREATE TABLE `eapm` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`application` varchar(100) DEFAULT 'webex',
`api_data` text,
`consumer_key` varchar(255) DEFAULT NULL,
`consumer_secret` varchar(255) DEFAULT NULL,
`oauth_token` varchar(255) DEFAULT NULL,
`oauth_secret` varchar(255) DEFAULT NULL,
`validated` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_app_active` (`assigned_user_id`,`application`,`validated`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `emailman`
--
CREATE TABLE `emailman` (
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`user_id` char(36) DEFAULT NULL,
`id` int NOT NULL AUTO_INCREMENT,
`list_id` char(36) DEFAULT NULL,
`send_date_time` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`more_information` varchar(100) DEFAULT NULL,
`in_queue` tinyint(1) DEFAULT '0',
`in_queue_date` datetime DEFAULT NULL,
`send_attempts` int DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
`related_type` varchar(100) DEFAULT NULL,
`related_id` char(36) DEFAULT NULL,
`related_confirm_opt_in` tinyint(1) DEFAULT '0',
`marketing_id` char(36) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_eman_list` (`list_id`,`user_id`,`deleted`),
KEY `idx_eman_campaign_id` (`campaign_id`),
KEY `idx_eman_relid_reltype_id` (`related_id`,`related_type`,`campaign_id`),
KEY `idx_eman_related` (`related_id`,`related_type`,`marketing_id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `emails`
--
CREATE TABLE `emails` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`orphaned` tinyint(1) DEFAULT NULL,
`last_synced` datetime DEFAULT NULL,
`date_sent_received` datetime DEFAULT NULL,
`message_id` varchar(255) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`flagged` tinyint(1) DEFAULT NULL,
`reply_to_status` tinyint(1) DEFAULT NULL,
`intent` varchar(100) DEFAULT 'pick',
`mailbox_id` char(36) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`addrs_metadata` text,
`parent_id` char(36) DEFAULT NULL,
`uid` varchar(255) DEFAULT NULL,
`category_id` varchar(100) DEFAULT NULL,
`outbound_email_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_email_name` (`name`),
KEY `idx_message_id` (`message_id`),
KEY `idx_email_parent_id` (`parent_id`),
KEY `idx_email_assigned` (`assigned_user_id`,`type`,`status`),
KEY `idx_email_cat` (`category_id`),
KEY `idx_email_uid` (`uid`),
KEY `idx_email_uid_mailbox` (`uid`,`mailbox_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `emails_beans`
--
CREATE TABLE `emails_beans` (
`id` char(36) NOT NULL,
`email_id` char(36) DEFAULT NULL,
`bean_id` char(36) DEFAULT NULL,
`bean_module` varchar(100) DEFAULT NULL,
`campaign_data` text,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_emails_beans_bean_id` (`bean_id`),
KEY `idx_emails_beans_email_bean` (`email_id`,`bean_id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `emails_email_addr_rel`
--
CREATE TABLE `emails_email_addr_rel` (
`id` char(36) NOT NULL,
`email_id` char(36) NOT NULL,
`address_type` varchar(4) DEFAULT NULL,
`email_address_id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_eearl_email_id` (`email_id`,`address_type`),
KEY `idx_eearl_address_id` (`email_address_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `emails_text`
--
CREATE TABLE `emails_text` (
`email_id` char(36) NOT NULL,
`from_addr` varchar(255) DEFAULT NULL,
`reply_to_addr` varchar(255) DEFAULT NULL,
`to_addrs` text,
`cc_addrs` text,
`bcc_addrs` text,
`description` longtext,
`description_html` longtext,
`raw_source` longtext,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`email_id`),
KEY `emails_textfromaddr` (`from_addr`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `email_addresses`
--
CREATE TABLE `email_addresses` (
`id` char(36) NOT NULL,
`email_address` varchar(255) DEFAULT NULL,
`email_address_caps` varchar(255) DEFAULT NULL,
`invalid_email` tinyint(1) DEFAULT '0',
`opt_out` tinyint(1) DEFAULT '0',
`confirm_opt_in` varchar(255) DEFAULT 'not-opt-in',
`confirm_opt_in_date` datetime DEFAULT NULL,
`confirm_opt_in_sent_date` datetime DEFAULT NULL,
`confirm_opt_in_fail_date` datetime DEFAULT NULL,
`confirm_opt_in_token` varchar(255) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_ea_caps_opt_out_invalid` (`email_address_caps`,`opt_out`,`invalid_email`),
KEY `idx_ea_opt_out_invalid` (`email_address`,`opt_out`,`invalid_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `email_addresses_audit`
--
CREATE TABLE `email_addresses_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_email_addresses_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `email_addr_bean_rel`
--
CREATE TABLE `email_addr_bean_rel` (
`id` char(36) NOT NULL,
`email_address_id` char(36) NOT NULL,
`bean_id` char(36) NOT NULL,
`bean_module` varchar(100) DEFAULT NULL,
`primary_address` tinyint(1) DEFAULT '0',
`reply_to_address` tinyint(1) DEFAULT '0',
`date_created` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_email_address_id` (`email_address_id`),
KEY `idx_bean_id` (`bean_id`,`bean_module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `email_cache`
--
CREATE TABLE `email_cache` (
`ie_id` char(36) DEFAULT NULL,
`mbox` varchar(60) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`fromaddr` varchar(100) DEFAULT NULL,
`toaddr` varchar(255) DEFAULT NULL,
`senddate` datetime DEFAULT NULL,
`message_id` varchar(255) DEFAULT NULL,
`mailsize` int unsigned DEFAULT NULL,
`imap_uid` int unsigned DEFAULT NULL,
`msgno` int unsigned DEFAULT NULL,
`recent` tinyint DEFAULT NULL,
`flagged` tinyint DEFAULT NULL,
`answered` tinyint DEFAULT NULL,
`deleted` tinyint DEFAULT NULL,
`seen` tinyint DEFAULT NULL,
`draft` tinyint DEFAULT NULL,
KEY `idx_ie_id` (`ie_id`),
KEY `idx_mail_date` (`ie_id`,`mbox`,`senddate`),
KEY `idx_mail_from` (`ie_id`,`mbox`,`fromaddr`),
KEY `idx_mail_subj` (`subject`),
KEY `idx_mail_to` (`toaddr`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `email_marketing`
--
CREATE TABLE `email_marketing` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`from_name` varchar(100) DEFAULT NULL,
`from_addr` varchar(100) DEFAULT NULL,
`reply_to_name` varchar(100) DEFAULT NULL,
`reply_to_addr` varchar(100) DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`template_id` char(36) NOT NULL,
`status` varchar(100) DEFAULT 'draft',
`duplicate` varchar(255) DEFAULT 'email',
`queueing_status` varchar(100) DEFAULT 'not_started',
`type` varchar(100) DEFAULT NULL,
`has_test_data` tinyint(1) DEFAULT '0',
`pause_reason` text,
`trackers_enabled` tinyint(1) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`outbound_email_id` char(36) DEFAULT NULL,
`all_prospect_lists` tinyint(1) DEFAULT '0',
`subject` varchar(255) DEFAULT NULL,
`body` longtext,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_emmkt_name` (`name`),
KEY `idx_emmkit_del` (`deleted`),
KEY `idx_status` (`status`),
KEY `idx_date_start` (`date_start`),
KEY `idx_survey_id` (`survey_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `email_marketing_prospect_lists`
--
CREATE TABLE `email_marketing_prospect_lists` (
`id` varchar(36) NOT NULL,
`prospect_list_id` varchar(36) DEFAULT NULL,
`email_marketing_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `email_mp_prospects` (`email_marketing_id`,`prospect_list_id`),
KEY `idx_emp_prospect_list_id` (`prospect_list_id`,`deleted`),
KEY `idx_prospect_list_id` (`prospect_list_id`),
KEY `idx_email_marketing_id` (`email_marketing_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `email_templates`
--
CREATE TABLE `email_templates` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`published` varchar(3) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`description` text,
`subject` varchar(255) DEFAULT NULL,
`body` longtext,
`body_html` longtext,
`deleted` tinyint(1) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`text_only` tinyint(1) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_email_template_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `email_templates`
--
INSERT INTO `email_templates` VALUES
('[[lostpasswordtmpl]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Forgot Password email', 'This template is used to send a user a link to click to reset the user''s account password.', 'Reset your account password', '\nYou recently requested on $contact_user_pwd_last_changed to be able to reset your account password.\n\nClick on the link below to reset your password:\n\n$contact_user_link_guid', '<div><table width="550"><tbody><tr><td><p>You recently requested on $contact_user_pwd_last_changed to be able to reset your account password. </p><p>Click on the link below to reset your password:</p><p> $contact_user_link_guid </p> </td> </tr><tr><td></td> </tr> </tbody></table> </div>', 0, NULL, 0, 'system'),
('[[joomla_account_creation_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Joomla Account Creation', 'Template used when informing a contact that they''ve been given an account on the joomla portal.', 'Support Portal Account Created', 'Hi $contact_name,\n An account has been created for you at $portal_address.\n You may login using this email address and the password $joomla_pass', '<p>Hi $contact_name,</p>\n <p>An account has been created for you at <a href="$portal_address">$portal_address</a>.</p>\n <p>You may login using this email address and the password $joomla_pass</p>', 0, NULL, NULL, 'system'),
('[[generatepasswordtmpl]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'System-generated password email', 'This template is used when the System Administrator sends a new password to a user.', 'New account information', '\nHere is your account username and temporary password:\nUsername : $contact_user_user_name\nPassword : $contact_user_user_hash\n\n$config_site_url\n\nAfter you log in using the above password, you may be required to reset the password to one of your own choice.', '<div><table width="550"><tbody><tr><td><p>Here is your account username and temporary password:</p><p>Username : $contact_user_user_name </p><p>Password : $contact_user_user_hash </p><br /><p>$config_site_url</p><br /><p>After you log in using the above password, you may be required to reset the password to one of your own choice.</p> </td> </tr><tr><td></td> </tr> </tbody></table> </div>', 0, NULL, 0, 'system'),
('[[case_creation_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Case Creation', 'Template to send to a contact when a case is received from them.', '$acase_name [CASE:$acase_case_number]', 'Hi $contact_first_name $contact_last_name,\n\n We''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered\n Status: $acase_status\n Reference: $acase_case_number\n Description: $acase_description', '<p> Hi $contact_first_name $contact_last_name,</p>\n <p>We''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered</p>\n <table border="0"><tbody>\n <tr><td>Status</td><td>$acase_status</td></tr>\n <tr><td>Reference</td><td>$acase_case_number</td></tr>\n <tr><td>Description</td><td>$acase_description</td></tr>\n </tbody></table>', 0, NULL, NULL, 'system'),
('[[case_closure_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Case Closure', 'Template for informing a contact that their case has been closed.', '$acase_name [CASE:$acase_case_number] closed', 'Hi $contact_first_name $contact_last_name,\n\n Your case $acase_name (# $acase_case_number) has been closed on $acase_date_entered\n Status: $acase_status\n Reference: $acase_case_number\n Resolution: $acase_resolution', '<p> Hi $contact_first_name $contact_last_name,</p>\n <p>Your case $acase_name (# $acase_case_number) has been closed on $acase_date_entered</p>\n <table border="0"><tbody>\n <tr><td>Status</td><td>$acase_status</td></tr>\n <tr><td>Reference</td><td>$acase_case_number</td></tr>\n <tr><td>Resolution</td><td>$acase_resolution</td></tr>\n </tbody></table>', 0, NULL, NULL, 'system'),
('9ef47bb3-8651-4d19-a763-1ed063967d8c', '2013-05-24 14:31:45', '[[regtime]]', '1', '1', 'off', 'Event Invite Template', 'Default event invite template.', 'You have been invited to $fp_events_name', 'Dear $contact_name,\nYou have been invited to $fp_events_name on $fp_events_date_start to $fp_events_date_end\n$fp_events_description\nYours Sincerely,\n', '\n<p>Dear $contact_name,</p>\n<p>You have been invited to $fp_events_name on $fp_events_date_start to $fp_events_date_end</p>\n<p>$fp_events_description</p>\n<p>If you would like to accept this invititation please click accept.</p>\n<p> $fp_events_link or $fp_events_link_declined</p>\n<p>Yours Sincerely,</p>\n', 0, NULL, NULL, 'system'),
('[[factoremailtmpl]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Two Factor Authentication email', 'This template is used to send a user a code for Two Factor Authentication.', 'Two Factor Authentication Code', 'Two Factor Authentication code is $code.', '<div><table width="550"><tbody><tr><td><p>Two Factor Authentication code is <b>$code</b>.</p> </td> </tr><tr><td></td> </tr> </tbody></table> </div>', 0, NULL, 0, 'system'),
('[[email_confirm_opt_in_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Confirmed Opt In', 'Email template to send to a contact to confirm they have opted in.', 'Confirm Opt In', 'Hi $contact_first_name $contact_last_name, \\n Please confirm that you have opted in by selecting the following link: $sugarurl/index.php?entryPoint=ConfirmOptIn&from=$emailaddress_email_address', '<p>Hi $contact_first_name $contact_last_name,</p>\n <p>\n Please confirm that you have opted in by selecting the following link:\n <a href="$sugarurl/index.php?entryPoint=ConfirmOptIn&from=$emailaddress_confirm_opt_in_token">Opt In</a>\n </p>', 0, NULL, NULL, 'system'),
('[[contact_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Contact Case Update', 'Template to send to a contact when their case is updated.', '$acase_name update [CASE:$acase_case_number]', 'Hi $user_first_name $user_last_name,\n\n You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:\n $contact_first_name $contact_last_name, said:\n $aop_case_updates_description', '<p>Hi $contact_first_name $contact_last_name,</p>\n <p> </p>\n <p>You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:</p>\n <p><strong>$user_first_name $user_last_name said:</strong></p>\n <p style="padding-left:30px;">$aop_case_updates_description</p>', 0, NULL, NULL, 'system'),
('[[user_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'User Case Update', 'Email template to send to a SuiteCRM user when their case is updated.', '$acase_name (# $acase_case_number) update', 'Hi $user_first_name $user_last_name,\n\n You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:\n $contact_first_name $contact_last_name, said:\n $aop_case_updates_description\n You may review this Case at:\n $sugarurl/index.php?module=Cases&action=DetailView&record=$acase_id;', '<p>Hi $user_first_name $user_last_name,</p>\n <p> </p>\n <p>You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:</p>\n <p><strong>$contact_first_name $contact_last_name, said:</strong></p>\n <p style="padding-left:30px;">$aop_case_updates_description</p>\n <p>You may review this Case at: $sugarurl/index.php?module=Cases&action=DetailView&record=$acase_id;</p>', 0, NULL, NULL, 'system');
-- --------------------------------------------------------
--
-- Table structure for table `external_oauth_connections`
--
CREATE TABLE `external_oauth_connections` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`type` varchar(255) DEFAULT NULL,
`client_id` varchar(32) DEFAULT NULL,
`client_secret` varchar(32) DEFAULT NULL,
`token_type` varchar(32) DEFAULT NULL,
`expires_in` varchar(32) DEFAULT NULL,
`access_token` text,
`refresh_token` text,
`external_oauth_provider_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `external_oauth_providers`
--
CREATE TABLE `external_oauth_providers` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`type` varchar(255) DEFAULT NULL,
`connector` varchar(255) DEFAULT NULL,
`redirect_uri_type` varchar(50) DEFAULT 'pretty_url',
`client_id` varchar(255) DEFAULT NULL,
`client_secret` varchar(255) DEFAULT NULL,
`scope` text,
`url_authorize` varchar(255) DEFAULT NULL,
`authorize_url_options` text,
`url_access_token` varchar(255) DEFAULT NULL,
`extra_provider_params` text,
`get_token_request_grant` varchar(255) DEFAULT 'authorization_code',
`get_token_request_options` text,
`refresh_token_request_grant` varchar(255) DEFAULT 'refresh_token',
`refresh_token_request_options` text,
`access_token_mapping` varchar(255) DEFAULT 'access_token',
`expires_in_mapping` varchar(255) DEFAULT 'expires_in',
`refresh_token_mapping` varchar(255) DEFAULT 'refresh_token',
`token_type_mapping` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `favorites`
--
CREATE TABLE `favorites` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fields_meta_data`
--
CREATE TABLE `fields_meta_data` (
`id` varchar(255) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`vname` varchar(255) DEFAULT NULL,
`comments` varchar(255) DEFAULT NULL,
`help` varchar(255) DEFAULT NULL,
`custom_module` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`len` int DEFAULT NULL,
`required` tinyint(1) DEFAULT '0',
`default_value` varchar(255) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`audited` tinyint(1) DEFAULT '0',
`massupdate` tinyint(1) DEFAULT '0',
`duplicate_merge` smallint DEFAULT '0',
`reportable` tinyint(1) DEFAULT '1',
`importable` varchar(255) DEFAULT NULL,
`ext1` varchar(255) DEFAULT NULL,
`ext2` varchar(255) DEFAULT NULL,
`ext3` varchar(255) DEFAULT NULL,
`ext4` text,
`metadata` longtext,
PRIMARY KEY (`id`),
KEY `idx_meta_id_del` (`id`,`deleted`),
KEY `idx_meta_cm_del` (`custom_module`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `fields_meta_data`
--
INSERT INTO `fields_meta_data` VALUES
('Accountsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Accounts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Accountsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Accounts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Accountsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Accounts', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Accountsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Accounts', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Casesjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Cases', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Casesjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Cases', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Casesjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Cases', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Casesjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Cases', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Contactsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Contacts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Contactsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Contacts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Contactsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Contacts', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Contactsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Contacts', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Leadsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Leads', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Leadsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Leads', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Leadsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Leads', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Leadsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Leads', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Meetingsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Meetings', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Meetingsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Meetings', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Meetingsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Meetings', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Meetingsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Meetings', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Opportunitiesjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Opportunities', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Opportunitiesjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Opportunities', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Opportunitiesjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Opportunities', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Opportunitiesjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Opportunities', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Projectjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Project', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Projectjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Project', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Projectjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Project', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Projectjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Project', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Prospectsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Prospects', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Prospectsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Prospects', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', '', '[]'),
('Prospectsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Prospects', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]'),
('Prospectsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Prospects', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '', '[]');
-- --------------------------------------------------------
--
-- Table structure for table `folders`
--
CREATE TABLE `folders` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`folder_type` varchar(25) DEFAULT NULL,
`parent_folder` char(36) DEFAULT NULL,
`has_child` tinyint(1) DEFAULT '0',
`is_group` tinyint(1) DEFAULT '0',
`is_dynamic` tinyint(1) DEFAULT '0',
`dynamic_query` text,
`assign_to_id` char(36) DEFAULT NULL,
`created_by` char(36) NOT NULL,
`modified_by` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_parent_folder` (`parent_folder`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `folders_rel`
--
CREATE TABLE `folders_rel` (
`id` char(36) NOT NULL,
`folder_id` char(36) NOT NULL,
`polymorphic_module` varchar(25) DEFAULT NULL,
`polymorphic_id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_poly_module_poly_id` (`polymorphic_module`,`polymorphic_id`),
KEY `idx_fr_id_deleted_poly` (`folder_id`,`deleted`,`polymorphic_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `folders_subscriptions`
--
CREATE TABLE `folders_subscriptions` (
`id` char(36) NOT NULL,
`folder_id` char(36) NOT NULL,
`assigned_user_id` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_folder_id_assigned_user_id` (`folder_id`,`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events`
--
CREATE TABLE `fp_events` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`duration_hours` int DEFAULT NULL,
`duration_minutes` int DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`budget` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`invite_templates` varchar(100) DEFAULT NULL,
`accept_redirect` varchar(255) DEFAULT NULL,
`decline_redirect` varchar(255) DEFAULT NULL,
`activity_status_type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_audit`
--
CREATE TABLE `fp_events_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_fp_events_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_contacts_c`
--
CREATE TABLE `fp_events_contacts_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_contactsfp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_contactscontacts_idb` varchar(36) DEFAULT NULL,
`invite_status` varchar(25) DEFAULT 'Not Invited',
`accept_status` varchar(25) DEFAULT 'No Response',
`email_responded` int DEFAULT '0',
PRIMARY KEY (`id`),
KEY `fp_events_contacts_alt` (`fp_events_contactsfp_events_ida`,`fp_events_contactscontacts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_fp_event_delegates_1_c`
--
CREATE TABLE `fp_events_fp_event_delegates_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_fp_event_delegates_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_fp_event_delegates_1fp_event_delegates_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fp_events_fp_event_delegates_1_ida1` (`fp_events_fp_event_delegates_1fp_events_ida`),
KEY `fp_events_fp_event_delegates_1_alt` (`fp_events_fp_event_delegates_1fp_event_delegates_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_fp_event_locations_1_c`
--
CREATE TABLE `fp_events_fp_event_locations_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_fp_event_locations_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_fp_event_locations_1fp_event_locations_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fp_events_fp_event_locations_1_alt` (`fp_events_fp_event_locations_1fp_events_ida`,`fp_events_fp_event_locations_1fp_event_locations_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_leads_1_c`
--
CREATE TABLE `fp_events_leads_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_leads_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_leads_1leads_idb` varchar(36) DEFAULT NULL,
`invite_status` varchar(25) DEFAULT 'Not Invited',
`accept_status` varchar(25) DEFAULT 'No Response',
`email_responded` int DEFAULT '0',
PRIMARY KEY (`id`),
KEY `fp_events_leads_1_alt` (`fp_events_leads_1fp_events_ida`,`fp_events_leads_1leads_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_prospects_1_c`
--
CREATE TABLE `fp_events_prospects_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_prospects_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_prospects_1prospects_idb` varchar(36) DEFAULT NULL,
`invite_status` varchar(25) DEFAULT 'Not Invited',
`accept_status` varchar(25) DEFAULT 'No Response',
`email_responded` int DEFAULT '0',
PRIMARY KEY (`id`),
KEY `fp_events_prospects_1_alt` (`fp_events_prospects_1fp_events_ida`,`fp_events_prospects_1prospects_idb`),
KEY `idx_events_prospects_prospect_id` (`fp_events_prospects_1prospects_idb`,`deleted`,`fp_events_prospects_1fp_events_ida`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_event_locations`
--
CREATE TABLE `fp_event_locations` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`address` varchar(255) DEFAULT NULL,
`address_city` varchar(100) DEFAULT NULL,
`address_country` varchar(100) DEFAULT NULL,
`address_postalcode` varchar(20) DEFAULT NULL,
`address_state` varchar(100) DEFAULT NULL,
`capacity` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_event_locations_audit`
--
CREATE TABLE `fp_event_locations_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_fp_event_locations_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `fp_event_locations_fp_events_1_c`
--
CREATE TABLE `fp_event_locations_fp_events_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_event_locations_fp_events_1fp_event_locations_ida` varchar(36) DEFAULT NULL,
`fp_event_locations_fp_events_1fp_events_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fp_event_locations_fp_events_1_ida1` (`fp_event_locations_fp_events_1fp_event_locations_ida`),
KEY `fp_event_locations_fp_events_1_alt` (`fp_event_locations_fp_events_1fp_events_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `import_maps`
--
CREATE TABLE `import_maps` (
`id` char(36) NOT NULL,
`name` varchar(254) DEFAULT NULL,
`source` varchar(36) DEFAULT NULL,
`enclosure` varchar(1) DEFAULT ' ',
`delimiter` varchar(1) DEFAULT ',',
`module` varchar(36) DEFAULT NULL,
`content` text,
`default_values` text,
`has_header` tinyint(1) DEFAULT '1',
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`is_published` varchar(3) DEFAULT 'no',
PRIMARY KEY (`id`),
KEY `idx_owner_module_name` (`assigned_user_id`,`module`,`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `inbound_email`
--
CREATE TABLE `inbound_email` (
`id` varchar(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`last_import_run_datetime` datetime DEFAULT NULL,
`mailbox_last_imported_days` text,
`email_import_per_run_threshold` int DEFAULT NULL,
`email_import_timeframe_start` varchar(255) DEFAULT NULL,
`email_import_unread_only` tinyint(1) DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Active',
`email_body_filtering` varchar(255) DEFAULT 'multi',
`server_url` varchar(100) DEFAULT NULL,
`connection_string` varchar(255) DEFAULT NULL,
`email_user` varchar(100) DEFAULT NULL,
`email_password` varchar(100) DEFAULT NULL,
`port` int DEFAULT '143',
`service` varchar(50) DEFAULT NULL,
`mailbox` text,
`primary_folder` varchar(255) DEFAULT NULL,
`sentFolder` varchar(255) DEFAULT NULL,
`trashFolder` varchar(255) DEFAULT NULL,
`delete_seen` tinyint(1) DEFAULT '0',
`move_messages_to_trash_after_import` tinyint(1) DEFAULT '0',
`mailbox_type` varchar(10) DEFAULT NULL,
`template_id` char(36) DEFAULT NULL,
`stored_options` text,
`group_id` char(36) DEFAULT NULL,
`is_personal` tinyint(1) DEFAULT '0',
`groupfolder_id` char(36) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`auth_type` varchar(255) DEFAULT 'basic',
`protocol` varchar(255) DEFAULT 'imap',
`is_ssl` tinyint(1) DEFAULT '0',
`distribution_user_id` char(36) DEFAULT NULL,
`outbound_email_id` char(36) DEFAULT NULL,
`create_case_template_id` char(36) DEFAULT NULL,
`external_oauth_connection_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `inbound_email_autoreply`
--
CREATE TABLE `inbound_email_autoreply` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`autoreplied_to` varchar(100) DEFAULT NULL,
`ie_id` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_ie_autoreplied_to` (`autoreplied_to`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `inbound_email_cache_ts`
--
CREATE TABLE `inbound_email_cache_ts` (
`id` varchar(255) NOT NULL,
`ie_timestamp` int unsigned DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_address_cache`
--
CREATE TABLE `jjwg_address_cache` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`lat` float(10,8) DEFAULT NULL,
`lng` float(11,8) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_address_cache_audit`
--
CREATE TABLE `jjwg_address_cache_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_address_cache_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_areas`
--
CREATE TABLE `jjwg_areas` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`coordinates` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_areas_audit`
--
CREATE TABLE `jjwg_areas_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_areas_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps`
--
CREATE TABLE `jjwg_maps` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`distance` float(9,4) DEFAULT NULL,
`unit_type` varchar(100) DEFAULT 'mi',
`module_type` varchar(100) DEFAULT 'Accounts',
`parent_type` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps_audit`
--
CREATE TABLE `jjwg_maps_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_maps_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps_jjwg_areas_c`
--
CREATE TABLE `jjwg_maps_jjwg_areas_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`jjwg_maps_5304wg_maps_ida` varchar(36) DEFAULT NULL,
`jjwg_maps_41f2g_areas_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `jjwg_maps_jjwg_areas_alt` (`jjwg_maps_5304wg_maps_ida`,`jjwg_maps_41f2g_areas_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps_jjwg_markers_c`
--
CREATE TABLE `jjwg_maps_jjwg_markers_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`jjwg_maps_b229wg_maps_ida` varchar(36) DEFAULT NULL,
`jjwg_maps_2e31markers_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `jjwg_maps_jjwg_markers_alt` (`jjwg_maps_b229wg_maps_ida`,`jjwg_maps_2e31markers_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_markers`
--
CREATE TABLE `jjwg_markers` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`jjwg_maps_lat` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_lng` float(11,8) DEFAULT '0.00000000',
`marker_image` varchar(100) DEFAULT 'company',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_markers_audit`
--
CREATE TABLE `jjwg_markers_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_markers_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `job_queue`
--
CREATE TABLE `job_queue` (
`assigned_user_id` char(36) DEFAULT NULL,
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`scheduler_id` char(36) DEFAULT NULL,
`execute_time` datetime DEFAULT NULL,
`status` varchar(20) DEFAULT NULL,
`resolution` varchar(20) DEFAULT NULL,
`message` text,
`target` varchar(255) DEFAULT NULL,
`data` text,
`requeue` tinyint(1) DEFAULT '0',
`retry_count` tinyint DEFAULT NULL,
`failure_count` tinyint DEFAULT NULL,
`job_delay` int DEFAULT NULL,
`client` varchar(255) DEFAULT NULL,
`percent_complete` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_status_scheduler` (`status`,`scheduler_id`),
KEY `idx_status_time` (`status`,`execute_time`,`date_entered`),
KEY `idx_status_entered` (`status`,`date_entered`),
KEY `idx_status_modified` (`status`,`date_modified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `leads`
--
CREATE TABLE `leads` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`salutation` varchar(255) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`title` varchar(100) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(100) DEFAULT NULL,
`do_not_call` tinyint(1) DEFAULT '0',
`phone_home` varchar(100) DEFAULT NULL,
`phone_mobile` varchar(100) DEFAULT NULL,
`phone_work` varchar(100) DEFAULT NULL,
`phone_other` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`lawful_basis` text,
`date_reviewed` date DEFAULT NULL,
`lawful_basis_source` varchar(100) DEFAULT NULL,
`primary_address_street` varchar(150) DEFAULT NULL,
`primary_address_city` varchar(100) DEFAULT NULL,
`primary_address_state` varchar(100) DEFAULT NULL,
`primary_address_postalcode` varchar(20) DEFAULT NULL,
`primary_address_country` varchar(255) DEFAULT NULL,
`alt_address_street` varchar(150) DEFAULT NULL,
`alt_address_city` varchar(100) DEFAULT NULL,
`alt_address_state` varchar(100) DEFAULT NULL,
`alt_address_postalcode` varchar(20) DEFAULT NULL,
`alt_address_country` varchar(255) DEFAULT NULL,
`assistant` varchar(75) DEFAULT NULL,
`assistant_phone` varchar(100) DEFAULT NULL,
`converted` tinyint(1) DEFAULT '0',
`refered_by` varchar(100) DEFAULT NULL,
`lead_source` varchar(100) DEFAULT NULL,
`lead_source_description` text,
`status` varchar(100) DEFAULT NULL,
`status_description` text,
`reports_to_id` char(36) DEFAULT NULL,
`account_name` varchar(255) DEFAULT NULL,
`account_description` text,
`contact_id` char(36) DEFAULT NULL,
`account_id` char(36) DEFAULT NULL,
`opportunity_id` char(36) DEFAULT NULL,
`opportunity_name` varchar(255) DEFAULT NULL,
`opportunity_amount` varchar(50) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`birthdate` date DEFAULT NULL,
`portal_name` varchar(255) DEFAULT NULL,
`portal_app` varchar(255) DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_lead_acct_name_first` (`account_name`,`deleted`),
KEY `idx_lead_last_first` (`last_name`,`first_name`,`deleted`),
KEY `idx_lead_del_stat` (`last_name`,`status`,`deleted`,`first_name`),
KEY `idx_lead_opp_del` (`opportunity_id`,`deleted`),
KEY `idx_leads_acct_del` (`account_id`,`deleted`),
KEY `idx_del_user` (`deleted`,`assigned_user_id`),
KEY `idx_lead_assigned` (`assigned_user_id`),
KEY `idx_lead_contact` (`contact_id`),
KEY `idx_reports_to` (`reports_to_id`),
KEY `idx_lead_phone_work` (`phone_work`),
KEY `idx_leads_id_del` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `leads_audit`
--
CREATE TABLE `leads_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_leads_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `leads_cstm`
--
CREATE TABLE `leads_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `linked_documents`
--
CREATE TABLE `linked_documents` (
`id` varchar(36) NOT NULL,
`parent_id` varchar(36) DEFAULT NULL,
`parent_type` varchar(25) DEFAULT NULL,
`document_id` varchar(36) DEFAULT NULL,
`document_revision_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_parent_document` (`parent_type`,`parent_id`,`document_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `manual_migration_tasks`
--
CREATE TABLE `manual_migration_tasks` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`data` longtext,
`progress` text,
`phase` varchar(50) DEFAULT NULL,
`service_key` varchar(255) DEFAULT NULL,
`last_run_datetime` datetime DEFAULT NULL,
`allow_failure_retry_action` tinyint(1) DEFAULT NULL,
`allow_failure_rerun_action` tinyint(1) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `meetings`
--
CREATE TABLE `meetings` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`location` varchar(50) DEFAULT NULL,
`password` varchar(50) DEFAULT NULL,
`join_url` varchar(200) DEFAULT NULL,
`host_url` varchar(400) DEFAULT NULL,
`displayed_url` varchar(400) DEFAULT NULL,
`creator` varchar(50) DEFAULT NULL,
`external_id` varchar(50) DEFAULT NULL,
`duration_hours` int DEFAULT NULL,
`duration_minutes` int DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Planned',
`type` varchar(255) DEFAULT 'Sugar',
`parent_id` char(36) DEFAULT NULL,
`reminder_time` int DEFAULT '-1',
`email_reminder_time` int DEFAULT '-1',
`email_reminder_sent` tinyint(1) DEFAULT '0',
`outlook_id` varchar(255) DEFAULT NULL,
`sequence` int DEFAULT '0',
`repeat_type` varchar(36) DEFAULT NULL,
`repeat_interval` int DEFAULT '1',
`repeat_dow` varchar(7) DEFAULT NULL,
`repeat_until` date DEFAULT NULL,
`repeat_count` int DEFAULT NULL,
`repeat_parent_id` char(36) DEFAULT NULL,
`recurring_source` varchar(36) DEFAULT NULL,
`gsync_id` varchar(1024) DEFAULT NULL,
`gsync_lastsync` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_mtg_name` (`name`),
KEY `idx_meet_par_del` (`parent_id`,`parent_type`,`deleted`),
KEY `idx_meet_stat_del` (`assigned_user_id`,`status`,`deleted`),
KEY `idx_meet_date_start` (`date_start`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_contacts`
--
CREATE TABLE `meetings_contacts` (
`id` varchar(36) NOT NULL,
`meeting_id` varchar(36) DEFAULT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_mtg_mtg` (`meeting_id`),
KEY `idx_con_mtg_con` (`contact_id`),
KEY `idx_meeting_contact` (`meeting_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_cstm`
--
CREATE TABLE `meetings_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_leads`
--
CREATE TABLE `meetings_leads` (
`id` varchar(36) NOT NULL,
`meeting_id` varchar(36) DEFAULT NULL,
`lead_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_lead_meeting_meeting` (`meeting_id`),
KEY `idx_lead_meeting_lead` (`lead_id`),
KEY `idx_meeting_lead` (`meeting_id`,`lead_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_users`
--
CREATE TABLE `meetings_users` (
`id` varchar(36) NOT NULL,
`meeting_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_usr_mtg_mtg` (`meeting_id`),
KEY `idx_usr_mtg_usr` (`user_id`),
KEY `idx_meeting_users` (`meeting_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `messenger_messages`
--
CREATE TABLE `messenger_messages` (
`id` bigint NOT NULL AUTO_INCREMENT,
`body` longtext NOT NULL,
`headers` longtext NOT NULL,
`queue_name` varchar(190) NOT NULL,
`created_at` datetime NOT NULL,
`available_at` datetime NOT NULL,
`delivered_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_msg_queue_available_delivered` (`queue_name`,`available_at`,`delivered_at`,`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `notes`
--
CREATE TABLE `notes` (
`assigned_user_id` char(36) DEFAULT NULL,
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`file_mime_type` varchar(100) DEFAULT NULL,
`filename` varchar(255) DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`portal_flag` tinyint(1) DEFAULT NULL,
`embed_flag` tinyint(1) DEFAULT '0',
`description` text,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_note_name` (`name`),
KEY `idx_notes_parent` (`parent_id`,`parent_type`),
KEY `idx_note_contact` (`contact_id`),
KEY `idx_notes_assigned_del` (`deleted`,`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `oauth2authcodes`
--
CREATE TABLE `oauth2authcodes` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`auth_code_is_revoked` tinyint(1) DEFAULT NULL,
`auto_authorize` tinyint(1) DEFAULT NULL,
`auth_code_expires` datetime DEFAULT NULL,
`auth_code` varchar(4000) DEFAULT NULL,
`client` char(36) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `oauth2clients`
--
CREATE TABLE `oauth2clients` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`secret` varchar(4000) DEFAULT NULL,
`redirect_url` varchar(255) DEFAULT NULL,
`is_confidential` tinyint(1) DEFAULT '1',
`allowed_grant_type` varchar(255) DEFAULT 'password',
`duration_value` int DEFAULT NULL,
`duration_amount` int DEFAULT NULL,
`duration_unit` varchar(255) DEFAULT 'Duration Unit',
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `oauth2tokens`
--
CREATE TABLE `oauth2tokens` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`token_is_revoked` tinyint(1) DEFAULT NULL,
`token_type` varchar(255) DEFAULT NULL,
`access_token_expires` datetime DEFAULT NULL,
`access_token` varchar(4000) DEFAULT NULL,
`refresh_token` varchar(4000) DEFAULT NULL,
`refresh_token_expires` datetime DEFAULT NULL,
`grant_type` varchar(255) DEFAULT NULL,
`state` varchar(1024) DEFAULT NULL,
`client` char(36) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `oauth_consumer`
--
CREATE TABLE `oauth_consumer` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`c_key` varchar(255) DEFAULT NULL,
`c_secret` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `ckey` (`c_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `oauth_nonce`
--
CREATE TABLE `oauth_nonce` (
`conskey` varchar(32) NOT NULL,
`nonce` varchar(32) NOT NULL,
`nonce_ts` bigint DEFAULT NULL,
PRIMARY KEY (`conskey`,`nonce`),
KEY `oauth_nonce_keyts` (`conskey`,`nonce_ts`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `oauth_tokens`
--
CREATE TABLE `oauth_tokens` (
`id` char(36) NOT NULL,
`secret` varchar(32) DEFAULT NULL,
`tstate` varchar(1) DEFAULT NULL,
`consumer` char(36) NOT NULL,
`token_ts` bigint DEFAULT NULL,
`verify` varchar(32) DEFAULT NULL,
`deleted` tinyint(1) NOT NULL DEFAULT '0',
`callback_url` varchar(255) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`,`deleted`),
KEY `oauth_state_ts` (`tstate`,`token_ts`),
KEY `constoken_key` (`consumer`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities`
--
CREATE TABLE `opportunities` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`opportunity_type` varchar(255) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`lead_source` varchar(50) DEFAULT NULL,
`amount` double DEFAULT NULL,
`amount_usdollar` double DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`date_closed` date DEFAULT NULL,
`next_step` varchar(100) DEFAULT NULL,
`sales_stage` varchar(255) DEFAULT NULL,
`probability` double DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_opp_name` (`name`),
KEY `idx_opp_assigned` (`assigned_user_id`),
KEY `idx_opp_id_deleted` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities_audit`
--
CREATE TABLE `opportunities_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_opportunities_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities_contacts`
--
CREATE TABLE `opportunities_contacts` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
`contact_role` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_opp_con` (`contact_id`),
KEY `idx_con_opp_opp` (`opportunity_id`),
KEY `idx_opportunities_contacts` (`opportunity_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities_cstm`
--
CREATE TABLE `opportunities_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `outbound_email`
--
CREATE TABLE `outbound_email` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`type` varchar(15) DEFAULT 'user',
`user_id` char(36) DEFAULT NULL,
`is_personal` tinyint(1) DEFAULT '0',
`smtp_from_name` varchar(255) DEFAULT NULL,
`smtp_from_addr` varchar(255) DEFAULT NULL,
`reply_to_name` varchar(255) DEFAULT NULL,
`reply_to_addr` varchar(255) DEFAULT NULL,
`signature` text,
`mail_sendtype` varchar(8) DEFAULT 'SMTP',
`mail_smtptype` varchar(20) DEFAULT 'other',
`mail_smtpserver` varchar(100) DEFAULT NULL,
`mail_smtpport` varchar(5) DEFAULT '25',
`mail_smtpuser` varchar(100) DEFAULT NULL,
`mail_smtppass` varchar(100) DEFAULT NULL,
`mail_smtpauth_req` tinyint(1) DEFAULT '0',
`mail_smtpssl` varchar(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`auth_type` varchar(255) DEFAULT 'no_auth',
`external_oauth_connection_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `outbound_email`
--
INSERT INTO `outbound_email` VALUES
('24cfbbdd-982d-4ceb-9404-f8f4952cf16d', 'system', 'system', '1', 0, NULL, NULL, NULL, NULL, NULL, 'SMTP', 'other', '', '25', '', '', 1, '0', NULL, NULL, NULL, NULL, 0, NULL, 'no_auth', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `outbound_email_audit`
--
CREATE TABLE `outbound_email_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_outbound_email_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `private_documents_media_objects`
--
CREATE TABLE `private_documents_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `private_images_media_objects`
--
CREATE TABLE `private_images_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `processes`
--
CREATE TABLE `processes` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`data` longtext,
`progress` text,
`phase` varchar(50) DEFAULT NULL,
`service_key` varchar(255) DEFAULT NULL,
`last_run_datetime` datetime DEFAULT NULL,
`allow_failure_retry_action` tinyint(1) DEFAULT NULL,
`allow_failure_rerun_action` tinyint(1) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `project`
--
CREATE TABLE `project` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`estimated_start_date` date DEFAULT NULL,
`estimated_end_date` date DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`priority` varchar(255) DEFAULT NULL,
`override_business_hours` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `projects_accounts`
--
CREATE TABLE `projects_accounts` (
`id` varchar(36) NOT NULL,
`account_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_acct_proj` (`project_id`),
KEY `idx_proj_acct_acct` (`account_id`),
KEY `projects_accounts_alt` (`project_id`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `projects_bugs`
--
CREATE TABLE `projects_bugs` (
`id` varchar(36) NOT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_bug_proj` (`project_id`),
KEY `idx_proj_bug_bug` (`bug_id`),
KEY `projects_bugs_alt` (`project_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `projects_cases`
--
CREATE TABLE `projects_cases` (
`id` varchar(36) NOT NULL,
`case_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_case_proj` (`project_id`),
KEY `idx_proj_case_case` (`case_id`),
KEY `projects_cases_alt` (`project_id`,`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `projects_contacts`
--
CREATE TABLE `projects_contacts` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_con_proj` (`project_id`),
KEY `idx_proj_con_con` (`contact_id`),
KEY `projects_contacts_alt` (`project_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `projects_opportunities`
--
CREATE TABLE `projects_opportunities` (
`id` varchar(36) NOT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_opp_proj` (`project_id`),
KEY `idx_proj_opp_opp` (`opportunity_id`),
KEY `projects_opportunities_alt` (`project_id`,`opportunity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `projects_products`
--
CREATE TABLE `projects_products` (
`id` varchar(36) NOT NULL,
`product_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_prod_project` (`project_id`),
KEY `idx_proj_prod_product` (`product_id`),
KEY `projects_products_alt` (`project_id`,`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `project_contacts_1_c`
--
CREATE TABLE `project_contacts_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`project_contacts_1project_ida` varchar(36) DEFAULT NULL,
`project_contacts_1contacts_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `project_contacts_1_alt` (`project_contacts_1project_ida`,`project_contacts_1contacts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `project_cstm`
--
CREATE TABLE `project_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `project_task`
--
CREATE TABLE `project_task` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`project_id` char(36) NOT NULL,
`project_task_id` int DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`relationship_type` varchar(255) DEFAULT NULL,
`description` text,
`predecessors` text,
`date_start` date DEFAULT NULL,
`time_start` int DEFAULT NULL,
`time_finish` int DEFAULT NULL,
`date_finish` date DEFAULT NULL,
`duration` int DEFAULT NULL,
`duration_unit` text,
`actual_duration` int DEFAULT NULL,
`percent_complete` int DEFAULT NULL,
`date_due` date DEFAULT NULL,
`time_due` time DEFAULT NULL,
`parent_task_id` int DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`priority` varchar(255) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`milestone_flag` tinyint(1) DEFAULT NULL,
`order_number` int DEFAULT '1',
`task_number` int DEFAULT NULL,
`estimated_effort` int DEFAULT NULL,
`actual_effort` int DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`utilization` int DEFAULT '100',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `project_task_audit`
--
CREATE TABLE `project_task_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_project_task_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `project_users_1_c`
--
CREATE TABLE `project_users_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`project_users_1project_ida` varchar(36) DEFAULT NULL,
`project_users_1users_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `project_users_1_alt` (`project_users_1project_ida`,`project_users_1users_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `prospects`
--
CREATE TABLE `prospects` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`salutation` varchar(255) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`title` varchar(100) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(255) DEFAULT NULL,
`do_not_call` tinyint(1) DEFAULT '0',
`phone_home` varchar(100) DEFAULT NULL,
`phone_mobile` varchar(100) DEFAULT NULL,
`phone_work` varchar(100) DEFAULT NULL,
`phone_other` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`lawful_basis` text,
`date_reviewed` date DEFAULT NULL,
`lawful_basis_source` varchar(100) DEFAULT NULL,
`primary_address_street` varchar(150) DEFAULT NULL,
`primary_address_city` varchar(100) DEFAULT NULL,
`primary_address_state` varchar(100) DEFAULT NULL,
`primary_address_postalcode` varchar(20) DEFAULT NULL,
`primary_address_country` varchar(255) DEFAULT NULL,
`alt_address_street` varchar(150) DEFAULT NULL,
`alt_address_city` varchar(100) DEFAULT NULL,
`alt_address_state` varchar(100) DEFAULT NULL,
`alt_address_postalcode` varchar(20) DEFAULT NULL,
`alt_address_country` varchar(255) DEFAULT NULL,
`assistant` varchar(75) DEFAULT NULL,
`assistant_phone` varchar(100) DEFAULT NULL,
`tracker_key` int NOT NULL AUTO_INCREMENT,
`birthdate` date DEFAULT NULL,
`lead_id` char(36) DEFAULT NULL,
`account_name` varchar(150) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `prospect_auto_tracker_key` (`tracker_key`),
KEY `idx_prospects_last_first` (`last_name`,`first_name`,`deleted`),
KEY `idx_prospecs_del_last` (`last_name`,`deleted`),
KEY `idx_prospects_id_del` (`id`,`deleted`),
KEY `idx_prospects_assigned` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `prospects_cstm`
--
CREATE TABLE `prospects_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `prospect_lists`
--
CREATE TABLE `prospect_lists` (
`assigned_user_id` char(36) DEFAULT NULL,
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`list_type` varchar(100) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`description` text,
`domain_name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_prospect_list_name` (`name`,`deleted`),
KEY `idx_list_type` (`list_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `prospect_lists_prospects`
--
CREATE TABLE `prospect_lists_prospects` (
`id` varchar(36) NOT NULL,
`prospect_list_id` varchar(36) DEFAULT NULL,
`related_id` varchar(36) DEFAULT NULL,
`related_type` varchar(25) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_plp_pro_id` (`prospect_list_id`,`deleted`,`related_type`,`related_id`),
KEY `idx_plp_rel_id` (`related_id`,`related_type`,`prospect_list_id`),
KEY `idx_related` (`related_id`,`related_type`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `prospect_list_campaigns`
--
CREATE TABLE `prospect_list_campaigns` (
`id` varchar(36) NOT NULL,
`prospect_list_id` varchar(36) DEFAULT NULL,
`campaign_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_pro_id` (`prospect_list_id`,`deleted`),
KEY `idx_cam_id` (`campaign_id`,`deleted`),
KEY `idx_prospect_list_campaigns` (`prospect_list_id`,`campaign_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `public_documents_media_objects`
--
CREATE TABLE `public_documents_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `public_images_media_objects`
--
CREATE TABLE `public_images_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `relationships`
--
CREATE TABLE `relationships` (
`id` char(36) NOT NULL,
`relationship_name` varchar(150) DEFAULT NULL,
`lhs_module` varchar(100) DEFAULT NULL,
`lhs_table` varchar(64) DEFAULT NULL,
`lhs_key` varchar(64) DEFAULT NULL,
`rhs_module` varchar(100) DEFAULT NULL,
`rhs_table` varchar(64) DEFAULT NULL,
`rhs_key` varchar(64) DEFAULT NULL,
`join_table` varchar(64) DEFAULT NULL,
`join_key_lhs` varchar(64) DEFAULT NULL,
`join_key_rhs` varchar(64) DEFAULT NULL,
`relationship_type` varchar(64) DEFAULT NULL,
`relationship_role_column` varchar(64) DEFAULT NULL,
`relationship_role_column_value` varchar(50) DEFAULT NULL,
`reverse` tinyint(1) DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_rel_name` (`relationship_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `relationships`
--
INSERT INTO `relationships` VALUES
('003dede0-8c5e-4bc2-9575-e4dd3b20dc0b', 'aor_conditions_created_by', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0040d16b-a0b8-4002-8ed8-0c2ba770bada', 'revisions_created_by', 'Users', 'users', 'id', 'DocumentRevisions', 'document_revisions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('00732a8f-7eec-47eb-81d8-2814d7d768ce', 'aos_product_categories_modified_user', 'Users', 'users', 'id', 'AOS_Product_Categories', 'aos_product_categories', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('00852517-f337-4cd7-a292-2c3231c1f2bd', 'opportunities_created_by', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('01ba7531-8e73-4d16-ab91-59668573f877', 'securitygroups_cases', 'SecurityGroups', 'securitygroups', 'id', 'Cases', 'cases', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Cases', 0, 0),
('01c3884d-58e9-4754-bf32-8060dc8f05aa', 'aor_fields_created_by', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('031896a6-e03a-4d3c-9492-83a63831cf53', 'jjwg_maps_created_by', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('036f3113-9145-4d44-89a0-66144a3ab3b8', 'tasks_assigned_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('03741521-158c-4024-85ed-8f894e8ab10b', 'calls_reschedule_modified_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('03a10c2d-1ab9-4d61-8f5f-e522823cdd9f', 'calls_notes', 'Calls', 'calls', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Calls', 0, 0),
('03d085f2-7dba-4d1f-8755-79009c94c6b9', 'account_cases', 'Accounts', 'accounts', 'id', 'Cases', 'cases', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0405b90e-3684-4ac4-9ae9-a91f2eec717a', 'email_marketing_prospect_lists', 'EmailMarketing', 'email_marketing', 'id', 'ProspectLists', 'prospect_lists', 'id', 'email_marketing_prospect_lists', 'email_marketing_id', 'prospect_list_id', 'many-to-many', NULL, NULL, 0, 0),
('046678b6-4f50-4d9c-9fc6-81baa9a98fa0', 'contacts_modified_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('047d4053-543a-4fe3-a658-76d70b3853a7', 'prospects_assigned_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('050ebf15-3899-4fcc-bed1-deb085ea3eb1', 'securitygroups_inboundemail', 'SecurityGroups', 'securitygroups', 'id', 'InboundEmail', 'inbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'InboundEmail', 0, 0),
('0595d569-a30f-4b8c-b4fc-a659a5305f85', 'leads_modified_user', 'Users', 'users', 'id', 'Leads', 'leads', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('05aa06ca-42cc-4b3c-92a5-c9bcf0a35df5', 'surveyquestions_modified_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('05d1e780-a63d-4756-b0b5-a5ea105deac4', 'aow_workflow_created_by', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('060df7d5-768f-449c-919e-1ab50cc63901', 'emails_projects_rel', 'Emails', 'emails', 'id', 'Project', 'project', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Project', 0, 0),
('062105a7-55be-4fd5-b2ef-fa3ed95f9e8c', 'eapm_modified_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('064554cd-9f49-4e48-9c88-4e3efcd3d6f8', 'sugarfeed_created_by', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('06501b6c-d5fe-4592-96c0-e3c04ede0d39', 'calls_reschedule_created_by', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('06959eff-afbd-42ca-8b00-a3c88fd3c8c9', 'aor_conditions_modified_user', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0728840b-9365-40ff-9c9d-c016ebdf3f31', 'opportunity_currencies', 'Opportunities', 'opportunities', 'currency_id', 'Currencies', 'currencies', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('073f0b5a-4e82-41d0-a8e9-662a9bfa90a3', 'emailtemplates_assigned_user', 'Users', 'users', 'id', 'EmailTemplates', 'email_templates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('09f8dade-7738-4def-92fb-bbff0733c339', 'project_tasks_calls', 'ProjectTask', 'project_task', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('0a1867f2-ee64-4322-a5b4-11bc845d8a9b', 'fp_events_assigned_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0b1d1105-8cae-49f5-81ae-a717cefa43f2', 'am_tasktemplates_created_by', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0c481bfd-801b-4ebf-a5a8-c4ee08ef9c00', 'schedulers_modified_user_id_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0cd83c7c-13c0-4593-98aa-c6fa2d3f8f09', 'contacts_bugs', 'Contacts', 'contacts', 'id', 'Bugs', 'bugs', 'id', 'contacts_bugs', 'contact_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('0d4f4d46-f19e-4092-8f99-8d108af31c45', 'aos_quotes_created_by', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0d65d975-c110-4632-bea0-95de08e09899', 'documents_accounts', 'Documents', 'documents', 'id', 'Accounts', 'accounts', 'id', 'documents_accounts', 'document_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('0db1e46e-98e1-4f87-9dbc-26df66d03699', 'email_marketing_campaignlog', 'EmailMarketing', 'email_marketing', 'id', 'CampaignLog', 'campaign_log', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0e2ec96b-f2c4-47c2-8587-015969b50af3', 'campaign_emailman', 'Campaigns', 'campaigns', 'id', 'EmailMan', 'emailman', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0e486f71-abb0-4af7-8688-b945a6bab01a', 'account_emails', 'Accounts', 'accounts', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('0f6f51d0-61a3-43b2-a743-63b53eb467e4', 'securitygroups_aos_pdf_templates', 'SecurityGroups', 'securitygroups', 'id', 'AOS_PDF_Templates', 'aos_pdf_templates', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOS_PDF_Templates', 0, 0),
('0fd90df8-c83b-44a4-9243-17fe9af1a564', 'aos_product_quotes_aos_products', 'AOS_Products', 'aos_products', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'product_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1039b863-4db1-47bc-a597-9bc29694e4e3', 'surveyquestionresponses_modified_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1089bd16-5cad-4641-89f8-e46b7933138a', 'securitygroups_aos_contracts', 'SecurityGroups', 'securitygroups', 'id', 'AOS_Contracts', 'aos_contracts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOS_Contracts', 0, 0),
('10befe70-a7c6-4d6a-ac8f-64bcb17069ee', 'opportunity_tasks', 'Opportunities', 'opportunities', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('12ac44d1-c8dd-4d90-bf0b-ea105b65db5e', 'securitygroups_modified_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('12b60139-f282-42c5-8892-b185da1edfcd', 'alerts_created_by', 'Users', 'users', 'id', 'Alerts', 'alerts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('12c29437-993a-4333-8d69-d60ab74dcc29', 'prospects_email_addresses', 'Prospects', 'prospects', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'bean_module', 'Prospects', 0, 0),
('13d4c67d-c44a-4e53-9944-9afffd32850c', 'aop_case_updates_created_by', 'Users', 'users', 'id', 'AOP_Case_Updates', 'aop_case_updates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('13d9c986-e3a5-48bc-8da2-2e09d60f4405', 'projects_cases', 'Project', 'project', 'id', 'Cases', 'cases', 'id', 'projects_cases', 'project_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('142083dc-65c6-4342-855a-179992d19c23', 'project_users_1', 'Project', 'project', 'id', 'Users', 'users', 'id', 'project_users_1_c', 'project_users_1project_ida', 'project_users_1users_idb', 'many-to-many', NULL, NULL, 0, 0),
('1421ca41-cfb1-4d32-8f5b-bef29b871948', 'aos_invoices_assigned_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('14508edf-f54b-4371-a0b9-f9ebb9e56cb3', 'calls_leads', 'Calls', 'calls', 'id', 'Leads', 'leads', 'id', 'calls_leads', 'call_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('14745e71-0102-4c59-b07d-82e2559e6c2f', 'aos_product_categories_created_by', 'Users', 'users', 'id', 'AOS_Product_Categories', 'aos_product_categories', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('148ed521-250c-467b-85aa-1ec3c9539c14', 'aop_case_updates_modified_user', 'Users', 'users', 'id', 'AOP_Case_Updates', 'aop_case_updates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('14f826b3-d458-4946-a70c-737ec37e83d5', 'calls_reschedule_assigned_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('15704d6e-eea3-4662-a46e-6a1e2a5f638a', 'aop_case_events_created_by', 'Users', 'users', 'id', 'AOP_Case_Events', 'aop_case_events', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('15849eca-f9a0-45db-8b96-0666f4fe2cf5', 'calendaraccount_modified_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('169d4492-615e-400d-a48e-13ebe5414ead', 'project_tasks_tasks', 'ProjectTask', 'project_task', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('169f4c98-bf0f-4bf6-9c0e-e1248a673187', 'projects_notes', 'Project', 'project', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('170c0e57-60c3-4126-bdc6-52f10f592af0', 'oauth2clients_created_by', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('171f47be-50fd-4da2-8c70-27888a51e075', 'campaign_campaigntrakers', 'Campaigns', 'campaigns', 'id', 'CampaignTrackers', 'campaign_trkrs', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1748aeb3-7980-4c1a-8ad8-f18fbdff9311', 'accounts_opportunities', 'Accounts', 'accounts', 'id', 'Opportunities', 'opportunities', 'id', 'accounts_opportunities', 'account_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('17d61823-ebe0-4afa-a769-b3ecbdd4a2f3', 'aos_line_item_groups_created_by', 'Users', 'users', 'id', 'AOS_Line_Item_Groups', 'aos_line_item_groups', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('17fd8145-c040-4dbe-bee3-bbb9d1a0c781', 'leads_email_addresses_primary', 'Leads', 'leads', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'primary_address', '1', 0, 0),
('1875a716-b588-40e5-ace4-e431a298467e', 'aos_contracts_aos_products_quotes', 'AOS_Contracts', 'aos_contracts', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('19678115-1678-49e5-8cbf-58b472d12582', 'am_tasktemplates_assigned_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('199460cb-d1d2-4ee5-a9de-4e2e57201d8d', 'oauth2clients_assigned_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1a82a70b-1263-4120-b953-e84a36fddb09', 'securitygroups_calendaraccount', 'SecurityGroups', 'securitygroups', 'id', 'CalendarAccount', 'calendar_accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'CalendarAccount', 0, 0),
('1b4418e3-eee4-4bb8-9bf5-8978dad38afa', 'surveyquestionoptions_modified_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1bbcbe3f-972b-4361-a663-6e414044774b', 'email_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'Emails', 'emails', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1cb3f96a-bde8-48a0-811f-fc770f6b8275', 'aor_reports_aor_fields', 'AOR_Reports', 'aor_reports', 'id', 'AOR_Fields', 'aor_fields', 'aor_report_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1cc92bf7-9466-475a-b64e-a37282c3bd97', 'emails_created_by', 'Users', 'users', 'id', 'Emails', 'emails', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1ccf93b7-c2e3-4f34-a7e4-da680ba45dd1', 'lead_campaign_log', 'Leads', 'leads', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Leads', 0, 0),
('1ce11020-d4c3-48e0-a7dc-ec9eeae0e945', 'sugarfeed_modified_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1d2441ee-4ab1-4ae4-abe2-d98296da918b', 'groups_aos_product_quotes', 'AOS_Line_Item_Groups', 'aos_line_item_groups', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'group_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1d2ad3d9-4f61-4326-9c5d-598e2971b5de', 'am_projecttemplates_users_1', 'AM_ProjectTemplates', 'am_projecttemplates', 'id', 'Users', 'users', 'id', 'am_projecttemplates_users_1_c', 'am_projecttemplates_ida', 'users_idb', 'many-to-many', NULL, NULL, 0, 0),
('1d9d6742-c584-43d2-8d6b-6a86790b7514', 'securitygroups_assigned_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1e4bc16b-fb8a-4bcf-b291-cb2920d57276', 'sub_product_categories', 'AOS_Product_Categories', 'aos_product_categories', 'id', 'AOS_Product_Categories', 'aos_product_categories', 'parent_category_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1e6bc1df-cc87-4f03-b8d6-f25560438fee', 'aow_processed_created_by', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1ec31f16-14ab-4b69-a964-d8e2e66d8592', 'jjwg_markers_created_by', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1f1f0359-3212-4966-a7a8-3193738b8bd3', 'aos_quotes_aos_product_quotes', 'AOS_Quotes', 'aos_quotes', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1f3f5750-532a-48e4-9ce7-a2727c666f3a', 'contacts_email_addresses_primary', 'Contacts', 'contacts', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'primary_address', '1', 0, 0),
('1f43449e-8b83-4be1-afb0-ad96d17c98b7', 'campaign_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1fedbdc0-a072-4993-8c74-c5767919a3fd', 'reminders_invitees_created_by', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2086cdc6-3e9c-4fe0-a6ab-80a710a97ebf', 'securitygroups_documents', 'SecurityGroups', 'securitygroups', 'id', 'Documents', 'documents', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Documents', 0, 0),
('222b73b0-3b4d-4def-94b6-484034b4491f', 'emails_cases_rel', 'Emails', 'emails', 'id', 'Cases', 'cases', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Cases', 0, 0),
('22cbfae2-bc3f-4a26-9be0-9de95e04633c', 'campaignlog_sent_emails', 'CampaignLog', 'campaign_log', 'related_id', 'Emails', 'emails', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('23d14ced-67c2-4b12-aa3a-01401d319da0', 'reminders_assigned_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2424b29d-807f-4d88-b2f4-6c35dadb2748', 'emails_opportunities_rel', 'Emails', 'emails', 'id', 'Opportunities', 'opportunities', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Opportunities', 0, 0),
('259f3755-7e6e-49e1-adcd-0b09eb403b96', 'account_aos_contracts', 'Accounts', 'accounts', 'id', 'AOS_Contracts', 'aos_contracts', 'contract_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('26e343f2-03cc-457b-8f9f-c247b4300e1a', 'emails_tasks_rel', 'Emails', 'emails', 'id', 'Tasks', 'tasks', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Tasks', 0, 0),
('2760567d-7556-4b7a-b3cc-f6d36237604e', 'jjwg_Maps_contacts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('2790b6dc-8a41-4779-8b8a-7e998e5c3369', 'calls_modified_user', 'Users', 'users', 'id', 'Calls', 'calls', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('279c774f-0fa6-46f0-8a57-c6c136378961', 'projects_emails', 'Project', 'project', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('287101a5-ca58-4ae9-9195-781184e36f0a', 'meetings_notes', 'Meetings', 'meetings', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('299ddaf7-619e-4891-a57f-3999542def6c', 'email_marketing_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'EmailMarketing', 'email_marketing', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('29cb3514-39d6-4b57-bd17-e95198e96ba3', 'schedulers_created_by_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('2b270540-4df2-48d6-b921-7187798dd7aa', 'surveyquestionoptions_created_by', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2be4352d-156f-4020-8ef7-0d7053cd3242', 'aos_products_created_by', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2d24ba6d-40a0-402d-b326-46ddbaa9219b', 'securitygroups_fp_event_locations', 'SecurityGroups', 'securitygroups', 'id', 'FP_Event_Locations', 'fp_event_locations', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'FP_Event_Locations', 0, 0),
('2d38ea37-53e7-47ad-8a25-7a9529028056', 'contacts_assigned_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2d4d4e97-b45d-4ba1-9cab-36927e4e96d7', 'accounts_email_addresses_primary', 'Accounts', 'accounts', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'primary_address', '1', 0, 0),
('2e4bb26a-b9bd-4dd7-a47b-33e82c59a7ad', 'surveyresponses_modified_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2e8d5514-9b89-4c58-8926-15da3acce443', 'inbound_emails_autoreply_email_templates', 'EmailTemplates', 'email_templates', 'id', 'InboundEmail', 'inbound_email', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2ea2c4c9-0df7-48a2-bf71-d7b34382c4b3', 'oauthkeys_created_by', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2ebd7548-70bf-422f-910f-5ac442c94973', 'cases_aop_case_events', 'Cases', 'cases', 'id', 'AOP_Case_Events', 'aop_case_events', 'case_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2ec60017-e42a-496f-bdf3-da0059315c90', 'prospect_list_users', 'ProspectLists', 'prospect_lists', 'id', 'Users', 'users', 'id', 'prospect_lists_prospects', 'prospect_list_id', 'related_id', 'many-to-many', 'related_type', 'Users', 0, 0),
('2ef4b455-9e49-48e3-83eb-49f615b62b99', 'meetings_created_by', 'Users', 'users', 'id', 'Meetings', 'meetings', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2f890036-035b-4323-9d96-cda56fffda61', 'jjwg_address_cache_assigned_user', 'Users', 'users', 'id', 'jjwg_Address_Cache', 'jjwg_address_cache', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2fdb1960-8b7e-4c07-a7df-d3eea2f58af0', 'securitygroups_aos_quotes', 'SecurityGroups', 'securitygroups', 'id', 'AOS_Quotes', 'aos_quotes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOS_Quotes', 0, 0),
('300770f5-0594-4c3e-9307-d38bb0c6bfb1', 'opportunity_aos_contracts', 'Opportunities', 'opportunities', 'id', 'AOS_Contracts', 'aos_contracts', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3160859f-987d-4456-8bc0-29fcbd95e77a', 'prospect_emails', 'Prospects', 'prospects', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('31e5da07-70a7-4439-9ef5-dee2eefc42d1', 'account_meetings', 'Accounts', 'accounts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('32330f54-8c33-43c4-97bb-5191f512486f', 'eapm_assigned_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('323571fc-1d27-49c2-9baa-935993bf6b0e', 'securitygroups_emails', 'SecurityGroups', 'securitygroups', 'id', 'Emails', 'emails', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Emails', 0, 0),
('32ebcaed-b1bf-438f-8a62-83efa40f32ce', 'user_direct_reports', 'Users', 'users', 'id', 'Users', 'users', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('332f89a4-294f-4494-a268-1f6a50ff0a4c', 'securitygroups_outboundemailaccounts', 'SecurityGroups', 'securitygroups', 'id', 'OutboundEmailAccounts', 'outbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'OutboundEmailAccounts', 0, 0),
('33801897-e83b-4781-9293-afb33e87f302', 'prospects_modified_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('34349a21-1533-42e4-9916-c1a1e5e45db8', 'externaloauthprovider_modified_user', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('35342a14-1a53-4d52-986e-924ff85acac8', 'emails_notes_rel', 'Emails', 'emails', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('35930866-16c1-4a17-8bfa-627dbdf88ca6', 'securitygroups_aor_scheduled_reports', 'SecurityGroups', 'securitygroups', 'id', 'AOR_Scheduled_Reports', 'aor_scheduled_reports', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOR_Scheduled_Reports', 0, 0),
('363f0c7a-5dc5-40a9-a10b-f4b4ae3d1ccd', 'am_projecttemplates_contacts_1', 'AM_ProjectTemplates', 'am_projecttemplates', 'id', 'Contacts', 'contacts', 'id', 'am_projecttemplates_contacts_1_c', 'am_projecttemplates_ida', 'contacts_idb', 'many-to-many', NULL, NULL, 0, 0),
('366aa800-6b02-4149-8478-9b8d3d0f6169', 'surveyquestionoptions_surveyquestionresponses', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'surveyquestionoptions_surveyquestionresponses', 'surveyq72c7options_ida', 'surveyq10d4sponses_idb', 'many-to-many', NULL, NULL, 0, 0),
('36abc41b-0e9f-415d-9c43-e4fa819d43ff', 'oauth2tokens_modified_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('36bda7ff-805f-48e2-9223-41adbe5f6c33', 'contact_aos_invoices', 'Contacts', 'contacts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('37520c6c-d8f8-4e9b-9bde-0aab0e2731d6', 'bug_tasks', 'Bugs', 'bugs', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('37bdecd9-0a6f-41cf-beca-1779ac7e7cca', 'jjwg_Maps_projects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Project', 'project', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('382c4a8e-31b4-4d4f-a5f1-ebd3733a108b', 'project_contacts_1', 'Project', 'project', 'id', 'Contacts', 'contacts', 'id', 'project_contacts_1_c', 'project_contacts_1project_ida', 'project_contacts_1contacts_idb', 'many-to-many', NULL, NULL, 0, 0),
('3889a8cc-7a06-4422-a896-630b54de1a59', 'lead_calls', 'Leads', 'leads', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('3900e7ae-aee9-4c33-915f-fbb1b3f94432', 'optimistic_locking', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('391f2791-28c2-4d03-995d-a8f0e4a32403', 'documents_assigned_user', 'Users', 'users', 'id', 'Documents', 'documents', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('39255776-5fc4-4ce8-8c0e-c4cb4bd553af', 'aok_knowledge_base_categories_modified_user', 'Users', 'users', 'id', 'AOK_Knowledge_Base_Categories', 'aok_knowledge_base_categories', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('394764e1-eba0-47b3-ab99-ab5513e9da56', 'fp_events_modified_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('39599c6e-2fb9-4e5c-8db8-c39a7364c16a', 'lead_emails', 'Leads', 'leads', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('396beb43-3ff2-462f-97f7-23abc82d28aa', 'campaigns_created_by', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('39a2dd0b-6b9c-4de3-860b-85764f196e0f', 'opportunities_modified_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3b816fef-3ab2-4d33-8350-e1efa89c7cfb', 'oauthkeys_assigned_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3b979efe-0623-4066-b097-c3d47512d1d5', 'opportunities_contacts', 'Opportunities', 'opportunities', 'id', 'Contacts', 'contacts', 'id', 'opportunities_contacts', 'opportunity_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('3bee7a1a-c4c9-4e9b-aef0-fa5db7ad0b23', 'securitygroups_surveyquestionoptions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionOptions', 0, 0),
('3bef4354-c4d1-484f-9a5c-0c4f9e2a2e24', 'lead_tasks', 'Leads', 'leads', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('3bf1882b-b660-4804-9b54-b75068c78b87', 'aobh_businesshours_created_by', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3c4f59ff-3f34-40a5-97ca-2c7410314ecc', 'externaloauthprovider_created_by', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3e9b9e10-e8e4-4d61-80ba-7c1d65e578c7', 'oauth2clients_oauth2authcodes', 'OAuth2Clients', 'oauth2clients', 'id', 'Oauth2AuthCodes', 'oauth2authcodes', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3f3f4a15-45d7-4bbf-8663-cbfcd35c8a36', 'aos_contracts_meetings', 'AOS_Contracts', 'aos_contracts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('40f886c7-3053-4f18-b7f9-b281e56f6eec', 'accounts_contacts', 'Accounts', 'accounts', 'id', 'Contacts', 'contacts', 'id', 'accounts_contacts', 'account_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('4154d48b-4c7a-43b9-930e-579164784bab', 'unified_search', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('4187806d-69ce-4659-a6be-9dac2869dced', 'aos_pdf_templates_assigned_user', 'Users', 'users', 'id', 'AOS_PDF_Templates', 'aos_pdf_templates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('41c3cb82-510f-49fc-a4f9-4b3dc601bfb9', 'securitygroups_aos_invoices', 'SecurityGroups', 'securitygroups', 'id', 'AOS_Invoices', 'aos_invoices', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOS_Invoices', 0, 0),
('421af6fa-cce0-4a2b-aca9-3305d409f473', 'aos_contracts_modified_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('421faad7-1dca-40e3-af8f-b34024f5efc9', 'securitygroups_prospects', 'SecurityGroups', 'securitygroups', 'id', 'Prospects', 'prospects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Prospects', 0, 0),
('42ded567-f5bf-42c6-abdb-ca66943b6d69', 'bugs_modified_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('430a0019-9756-4d32-81d0-137607dd5cce', 'sugarfeed_assigned_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('437c6112-ac8f-45aa-a167-b081ef6e8bb6', 'opportunity_meetings', 'Opportunities', 'opportunities', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('43df42ca-5f5a-438d-8263-a9268485e354', 'emails_leads_rel', 'Emails', 'emails', 'id', 'Leads', 'leads', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Leads', 0, 0),
('43f14dcf-6efe-4989-8696-6fa6b38c7b61', 'jjwg_markers_assigned_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('43f29f16-5ad5-4ed1-9c13-63e6513f47c8', 'processes_assigned_user', 'Users', 'users', 'id', 'Processes', 'processes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('446a3b77-1748-43a1-9768-4a952f1b5eed', 'inbound_emails_external_oauth_connections', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'InboundEmail', 'inbound_email', 'external_oauth_connection_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4617c85e-555e-4cb2-b9f7-100035be98c9', 'project_tasks_created_by', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4634abb1-7e47-46b4-b4fe-c71fd49b2a04', 'project_tasks_meetings', 'ProjectTask', 'project_task', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('4648432c-b7d5-4036-bb25-d4638aaeabf9', 'emails_contacts_rel', 'Emails', 'emails', 'id', 'Contacts', 'contacts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Contacts', 0, 0),
('47494e78-ecea-46b5-89da-704e645bec38', 'surveyquestions_surveyquestionoptions', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'survey_question_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('47b2935b-f6d4-4e78-871e-fa8ab68d7119', 'securitygroups_externaloauthconnection', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthConnection', 0, 0),
('47f47aa8-45ed-4f21-b6fb-938def9becdc', 'aos_pdf_templates_modified_user', 'Users', 'users', 'id', 'AOS_PDF_Templates', 'aos_pdf_templates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4819a222-f782-45cb-aff7-84e8d1e83d63', 'contact_aos_quotes', 'Contacts', 'contacts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('48ae1a95-680d-48a4-80f7-deda93d3ed62', 'opportunity_notes', 'Opportunities', 'opportunities', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('48c1afba-70c3-4491-b10f-2abf049b696a', 'processes_created_by', 'Users', 'users', 'id', 'Processes', 'processes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('49213129-143f-401a-9a8e-096fbdc219d5', 'emails_modified_user', 'Users', 'users', 'id', 'Emails', 'emails', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4932bb65-d8ad-4810-a1c5-9f8c91b04c3c', 'lead_direct_reports', 'Leads', 'leads', 'id', 'Leads', 'leads', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('494b60f6-31e9-4856-8ba5-1dbe55319e99', 'aow_processed_modified_user', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('49dc32fd-c6d9-4311-8564-47aa9c31d344', 'users_email_addresses_primary', 'Users', 'users', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'primary_address', '1', 0, 0),
('4acf2c0b-c626-41ca-967d-804137a72109', 'surveyquestionresponses_created_by', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4af166e8-1a33-4156-bcbc-8c6054014a95', 'surveys_surveyresponses', 'Surveys', 'surveys', 'id', 'SurveyResponses', 'surveyresponses', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4afa8e6b-5134-4131-8ddc-559c4fdad9f5', 'project_tasks_notes', 'ProjectTask', 'project_task', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('4c51bd9e-d04d-49c1-aa4f-2e4b651686d6', 'opportunity_leads', 'Opportunities', 'opportunities', 'id', 'Leads', 'leads', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4c75f1cd-08f4-45b0-9bcd-72d2e82cd1de', 'documents_bugs', 'Documents', 'documents', 'id', 'Bugs', 'bugs', 'id', 'documents_bugs', 'document_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('4cd93b1f-889c-41a9-a99b-0bef4a844fe1', 'cases_modified_user', 'Users', 'users', 'id', 'Cases', 'cases', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4d93c750-a429-4072-b7ed-90ba0b2383c8', 'securitygroups_jjwg_maps', 'SecurityGroups', 'securitygroups', 'id', 'jjwg_Maps', 'jjwg_maps', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'jjwg_Maps', 0, 0),
('4e4f4e30-5fc4-486f-abec-009359763d44', 'emails_users_rel', 'Emails', 'emails', 'id', 'Users', 'users', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Users', 0, 0),
('4edfe542-e42e-4293-b2e7-81a6f6148958', 'fp_events_contacts', 'FP_events', 'fp_events', 'id', 'Contacts', 'contacts', 'id', 'fp_events_contacts_c', 'fp_events_contactsfp_events_ida', 'fp_events_contactscontacts_idb', 'many-to-many', NULL, NULL, 0, 0),
('4efd04bb-fc09-429b-bf2f-eece05e3053e', 'am_projecttemplates_assigned_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4f144741-cb0f-4088-8376-7ba821a44c42', 'aos_invoices_aos_line_item_groups', 'AOS_Invoices', 'aos_invoices', 'id', 'AOS_Line_Item_Groups', 'aos_line_item_groups', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4f190b56-2f8c-493d-b86d-f203eaa90a8a', 'contacts_cases', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'id', 'contacts_cases', 'contact_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('4fd09d1e-38c8-4b69-ab06-88521613ed98', 'aos_quotes_aos_invoices', 'AOS_Quotes', 'aos_quotes', 'id', 'AOS_Invoices', 'aos_invoices', 'id', 'aos_quotes_aos_invoices_c', 'aos_quotes77d9_quotes_ida', 'aos_quotes6b83nvoices_idb', 'many-to-many', NULL, NULL, 0, 0),
('50018cf3-8771-4166-84a2-08709ba24e7c', 'aor_charts_created_by', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5058a189-fad4-4aa7-9b42-a469d94f1cf6', 'surveyresponses_campaigns', 'Campaigns', 'campaigns', 'id', 'SurveyResponses', 'surveyresponses', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('50fd4b1a-c4c4-4015-a664-c3f1114bb82d', 'projects_calls', 'Project', 'project', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('514e4461-defc-4d08-a6a8-3986f7f477cc', 'leads_documents', 'Leads', 'leads', 'id', 'Documents', 'documents', 'id', 'linked_documents', 'parent_id', 'document_id', 'many-to-many', 'parent_type', 'Leads', 0, 0),
('53e802c9-e33a-448f-a56e-f15d2fe1ce01', 'opportunities_campaign', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('541f710a-60ba-4513-96be-207d8bfb2ae2', 'aos_quotes_project', 'AOS_Quotes', 'aos_quotes', 'id', 'Project', 'project', 'id', 'aos_quotes_project_c', 'aos_quotes1112_quotes_ida', 'aos_quotes7207project_idb', 'many-to-many', NULL, NULL, 0, 0),
('54a439db-d97a-48ec-8685-8d6319db6996', 'jjwg_address_cache_modified_user', 'Users', 'users', 'id', 'jjwg_Address_Cache', 'jjwg_address_cache', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('559ae59e-f9d1-4dc8-9ae3-91886baba358', 'roles_users', 'Roles', 'roles', 'id', 'Users', 'users', 'id', 'roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('55b34e03-d0b5-4a60-85ae-d377588886fb', 'surveyquestions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('560177c9-c7ec-456b-be4b-87fb839b7bd1', 'emails_prospects_rel', 'Emails', 'emails', 'id', 'Prospects', 'prospects', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Prospects', 0, 0),
('574d17ec-8dd8-46bf-91cd-e27e1efc4875', 'accounts_created_by', 'Users', 'users', 'id', 'Accounts', 'accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('57654aa1-e328-4691-b7a0-78cacb603c61', 'aos_line_item_groups_assigned_user', 'Users', 'users', 'id', 'AOS_Line_Item_Groups', 'aos_line_item_groups', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('57c79202-bfba-4b30-be81-de64ca4efd9c', 'accounts_email_addresses', 'Accounts', 'accounts', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'bean_module', 'Accounts', 0, 0),
('57e128ff-b9ac-433b-bf20-23c083f09774', 'externaloauthconnection_modified_user', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5840e7af-694c-4710-bb7e-5d7dd63ebd1f', 'contact_aos_contracts', 'Contacts', 'contacts', 'id', 'AOS_Contracts', 'aos_contracts', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5859eb4a-68ad-41a6-a680-d6abf770eee9', 'outbound_email_assigned_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('587c3178-35b9-4ceb-8bd9-87629f1beb68', 'securitygroups_bugs', 'SecurityGroups', 'securitygroups', 'id', 'Bugs', 'bugs', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Bugs', 0, 0),
('597acc91-7201-4b97-b2ba-c6b225aee298', 'document_revisions', 'Documents', 'documents', 'id', 'DocumentRevisions', 'document_revisions', 'document_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5a566c6b-1965-4332-9e68-e64fe2ca474c', 'campaign_contacts', 'Campaigns', 'campaigns', 'id', 'Contacts', 'contacts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5ad03cee-3742-4758-8301-fb77031a9d18', 'projects_assigned_user', 'Users', 'users', 'id', 'Project', 'project', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5ad04911-743d-4de9-9b1e-f230e8f543d9', 'aos_products_quotes_modified_user', 'Users', 'users', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5adeb252-5363-40fc-85f3-c34912a56456', 'leads_created_by', 'Users', 'users', 'id', 'Leads', 'leads', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5b680a30-1c6d-4d15-a1c5-e0b284a111e9', 'saved_search_assigned_user', 'Users', 'users', 'id', 'SavedSearch', 'saved_search', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5bfaee84-92ab-4a5c-9916-b7969c4e068d', 'securitygroups_emailmarketing', 'SecurityGroups', 'securitygroups', 'id', 'EmailMarketing', 'email_marketing', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailMarketing', 0, 0),
('5ccfeb59-9663-4eb3-9ef4-4c6c6d40b59b', 'securitygroups_opportunities', 'SecurityGroups', 'securitygroups', 'id', 'Opportunities', 'opportunities', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Opportunities', 0, 0),
('5d2d58ea-11f3-473c-a8f2-a762e68685c3', 'aos_contracts_documents', 'AOS_Contracts', 'aos_contracts', 'id', 'Documents', 'documents', 'id', 'aos_contracts_documents', 'aos_contracts_id', 'documents_id', 'many-to-many', NULL, NULL, 0, 0),
('5d6d1159-755a-4d68-a2e4-9309a91cc2af', 'aok_knowledgebase_modified_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5dc43a78-656d-4ffb-a430-8fa6c7b9af9e', 'accounts_modified_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5dd35fe0-6697-4ff8-88d8-056e8476fce9', 'oauth2clients_oauth2tokens', 'OAuth2Clients', 'oauth2clients', 'id', 'OAuth2Tokens', 'oauth2tokens', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5e79c674-85c4-488c-9870-3b9a8bd2c920', 'users_users_password_link', 'Users', 'users', 'id', NULL, 'users_signatures', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5e9ff3a2-c4fd-420e-b607-22e1a95cb515', 'emails_aos_contracts_rel', 'Emails', 'emails', 'id', 'AOS_Contracts', 'aos_contracts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'AOS_Contracts', 0, 0),
('5f3e118b-462d-44a6-b4b9-d3ae19085c54', 'aow_workflow_modified_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5f7f6b23-355a-4e34-a1bb-443b1987900a', 'documents_opportunities', 'Documents', 'documents', 'id', 'Opportunities', 'opportunities', 'id', 'documents_opportunities', 'document_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('5f80c783-1ac3-4b89-85cf-bef88a24b1b9', 'projects_project_tasks', 'Project', 'project', 'id', 'ProjectTask', 'project_task', 'project_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5f9ceea4-107f-4715-bd59-826bc0ffcf12', 'accounts_bugs', 'Accounts', 'accounts', 'id', 'Bugs', 'bugs', 'id', 'accounts_bugs', 'account_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('5fd27968-015e-4c75-a1ef-a9e5f919c508', 'securitygroups_calls', 'SecurityGroups', 'securitygroups', 'id', 'Calls', 'calls', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Calls', 0, 0),
('60061011-cc17-42f1-b27d-87596fd85e37', 'aow_workflow_assigned_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('61102bb1-8078-4d2b-b2cd-ff71363c766b', 'contact_leads', 'Contacts', 'contacts', 'id', 'Leads', 'leads', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('61f2cf45-c5ba-407f-a0e4-545199ea5dd2', 'emails_meetings_rel', 'Emails', 'emails', 'id', 'Meetings', 'meetings', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Meetings', 0, 0),
('62348e8b-ff33-4e11-9b46-94f898df061c', 'jjwg_maps_jjwg_markers', 'jjwg_Maps', 'jjwg_maps', 'id', 'jjwg_Markers', 'jjwg_markers', 'id', 'jjwg_maps_jjwg_markers_c', 'jjwg_maps_b229wg_maps_ida', 'jjwg_maps_2e31markers_idb', 'many-to-many', NULL, NULL, 0, 0),
('63a886c6-958e-43ed-93a4-44de500f8df9', 'case_meetings', 'Cases', 'cases', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('64285572-67d4-4500-b2da-d85a044ea52b', 'prospect_list_contacts', 'ProspectLists', 'prospect_lists', 'id', 'Contacts', 'contacts', 'id', 'prospect_lists_prospects', 'prospect_list_id', 'related_id', 'many-to-many', 'related_type', 'Contacts', 0, 0),
('64740c43-1173-4d9d-a512-bb7a8bc1d83a', 'prospect_meetings', 'Prospects', 'prospects', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('6488b9e6-0876-477c-bed4-d7853908bc90', 'jjwg_Maps_accounts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Accounts', 'accounts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('649af9b9-4572-4211-af0a-47dc378edb71', 'aor_reports_created_by', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('65fac08f-9a3c-4697-afda-8174888de2ac', 'securitygroups_notes', 'SecurityGroups', 'securitygroups', 'id', 'Notes', 'notes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Notes', 0, 0),
('66f1a390-30b6-468e-84d9-eab4dbca0975', 'cases_bugs', 'Cases', 'cases', 'id', 'Bugs', 'bugs', 'id', 'cases_bugs', 'case_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('672edfc8-8127-4471-88aa-e14d3973821e', 'emails_accounts_rel', 'Emails', 'emails', 'id', 'Accounts', 'accounts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Accounts', 0, 0),
('67a3b1d8-2ee2-44e7-a6a5-b964373fb0d0', 'campaigns_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('682162d5-6645-4488-8f7c-569e95548a42', 'meetings_users', 'Meetings', 'meetings', 'id', 'Users', 'users', 'id', 'meetings_users', 'meeting_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('687ae292-d483-49e6-86be-5deb61e010a9', 'outbound_email_created_by', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('68cf7aeb-81e5-4be4-8d7b-a50587c037c3', 'contact_campaign_log', 'Contacts', 'contacts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Contacts', 0, 0),
('6b56aebb-5e27-43ec-9dc1-fb2e5d77b4a2', 'emails_project_task_rel', 'Emails', 'emails', 'id', 'ProjectTask', 'project_task', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'ProjectTask', 0, 0),
('6b86297c-b7ea-47a6-aa7d-092f23f97028', 'prospect_list_leads', 'ProspectLists', 'prospect_lists', 'id', 'Leads', 'leads', 'id', 'prospect_lists_prospects', 'prospect_list_id', 'related_id', 'many-to-many', 'related_type', 'Leads', 0, 0),
('6ba9432c-b7a8-4cdf-a0bf-ce931ef87c63', 'surveys_surveyquestions', 'Surveys', 'surveys', 'id', 'SurveyQuestions', 'surveyquestions', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6c352cd5-ffbc-4553-b46f-d146b7d6bb0d', 'contact_notes', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6cfc239c-52f1-4366-92c7-2c13714a28d5', 'tasks_modified_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6d339b50-fb00-4b6a-9ec1-a35a7d97c672', 'calls_assigned_user', 'Users', 'users', 'id', 'Calls', 'calls', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6d7abefb-a15f-4a59-81ba-1b6856fd6770', 'contact_direct_reports', 'Contacts', 'contacts', 'id', 'Contacts', 'contacts', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6daf166c-4186-427b-8db5-f557ba870aab', 'contacts_created_by', 'Users', 'users', 'id', 'Contacts', 'contacts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6e5d4ac8-3ddd-4ced-a160-a4851acba55a', 'emails_bugs_rel', 'Emails', 'emails', 'id', 'Bugs', 'bugs', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Bugs', 0, 0),
('6f3d6d68-d68a-4ca0-8058-7833cc59bd3d', 'mediaobjects_assigned_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0);
INSERT INTO `relationships` VALUES
('6f69ea8c-ebc6-4a5e-8448-a5a5be02916d', 'surveyresponses_accounts', 'Accounts', 'accounts', 'id', 'SurveyResponses', 'surveyresponses', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6f886724-3cf5-43a1-9c0e-7d586042ae7a', 'emailman_assigned_user', 'Users', 'users', 'id', 'Emailman', 'emailman', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6fa12581-6243-45b7-842c-2753da402086', 'projects_created_by', 'Users', 'users', 'id', 'Project', 'project', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('703701b6-31d3-405d-b999-50d0ec53de8e', 'fp_event_locations_assigned_user', 'Users', 'users', 'id', 'FP_Event_Locations', 'fp_event_locations', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('70e0e677-872b-4b63-98b1-e3339b1863ac', 'calls_created_by', 'Users', 'users', 'id', 'Calls', 'calls', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('70e353a4-f6d3-4729-8c01-176fb8ea559a', 'meetings_leads', 'Meetings', 'meetings', 'id', 'Leads', 'leads', 'id', 'meetings_leads', 'meeting_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('71d47eff-f1c2-43be-ad13-f8cad7798db9', 'aow_workflow_aow_conditions', 'AOW_WorkFlow', 'aow_workflow', 'id', 'AOW_Conditions', 'aow_conditions', 'aow_workflow_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('727c90f1-d9ae-495d-8d54-39d51020d20d', 'securitygroups_manualmigrationtasks', 'SecurityGroups', 'securitygroups', 'id', 'ManualMigrationTasks', 'manual_migration_tasks', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ManualMigrationTasks', 0, 0),
('741cf68c-47a8-4b5d-80c8-c754a0c1456a', 'aos_products_quotes_created_by', 'Users', 'users', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('74e61d49-2b25-4450-8d21-5bc506cfca07', 'external_oauth_connections_external_oauth_providers', 'ExternalOAuthProvider', 'external_oauth_providers', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'external_oauth_provider_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('769c5694-9e63-4d0a-88be-115427eb5f84', 'calendar_accounts_calendar_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'calendar_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('76a7fee1-c940-4597-8b18-2c0f819ee947', 'oauth2clients_modified_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('76e957ed-239e-43b5-be39-fdb65a0ff1c0', 'aok_knowledge_base_categories_assigned_user', 'Users', 'users', 'id', 'AOK_Knowledge_Base_Categories', 'aok_knowledge_base_categories', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('773c62d6-da4e-4006-b6bb-94a56a01259b', 'jjwg_areas_assigned_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('78a88ce4-fcb6-4014-81f2-56eb372a8eaa', 'aos_contracts_aos_line_item_groups', 'AOS_Contracts', 'aos_contracts', 'id', 'AOS_Line_Item_Groups', 'aos_line_item_groups', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('78c944c3-9592-4a2d-a9e1-21ab7511425f', 'aor_charts_modified_user', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7972ae79-1ab3-44c5-9e4a-109201024589', 'outbound_email_accounts_email_marketing', 'OutboundEmailAccounts', 'outbound_email', 'id', 'EmailMarketing', 'email_marketing', 'outbound_email_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('79b2a55f-6346-4eab-85a8-d457db74e56a', 'bugs_assigned_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7ab3580e-b379-4833-97a2-82a918ad1449', 'cases_created_contact', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'contact_created_by_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7b053cae-90d5-4586-b061-f45a896f9ffc', 'asynctaskitems_created_by', 'Users', 'users', 'id', 'AsyncTaskItems', 'async_task_items', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7b2b108c-0dad-464c-b65f-5ca557f2ef7a', 'securitygroups_meetings', 'SecurityGroups', 'securitygroups', 'id', 'Meetings', 'meetings', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Meetings', 0, 0),
('7b7740cc-fe76-4272-9cff-a5b160e53229', 'projects_modified_user', 'Users', 'users', 'id', 'Project', 'project', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7b90dc58-646d-4ebb-bfb5-bb1f3099bd07', 'aos_contracts_calls', 'AOS_Contracts', 'aos_contracts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('7bbb9037-b35e-4308-8202-9272dbbee957', 'meetings_contacts', 'Meetings', 'meetings', 'id', 'Contacts', 'contacts', 'id', 'meetings_contacts', 'meeting_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('7bceebff-b5c4-4f96-b7f1-e3b20a4a32d1', 'users_email_addresses', 'Users', 'users', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'bean_module', 'Users', 0, 0),
('7c63157c-05ca-4d91-a9cc-e8d1db854791', 'jjwg_areas_created_by', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7d07fc36-0dd4-41f1-94e7-55750ba2cc59', 'campaign_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7e2b80d9-0ed8-4cb0-b8d6-931bc25be10b', 'reminders_modified_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7e84654b-62fa-4724-aba7-ebc9e289c023', 'securitygroups_aos_products', 'SecurityGroups', 'securitygroups', 'id', 'AOS_Products', 'aos_products', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOS_Products', 0, 0),
('7e9f4a9c-c83e-4006-be8e-583664d943fa', 'projects_opportunities', 'Project', 'project', 'id', 'Opportunities', 'opportunities', 'id', 'projects_opportunities', 'project_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('7ecbaaa9-15c6-4868-ae5b-cdf1cda04187', 'aor_charts_aor_reports', 'AOR_Reports', 'aor_reports', 'id', 'AOR_Charts', 'aor_charts', 'aor_report_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7f4a09c3-3929-46d6-9673-75aae700b0d5', 'calendar_account_meetings', 'CalendarAccount', 'calendar_accounts', 'id', 'Meetings', 'meetings', 'id', 'calendar_account_meetings', 'calendar_account_id', 'meeting_id', 'one-to-many', NULL, NULL, 0, 0),
('8033c57a-c2b8-4941-a2e7-3df15a5d62b1', 'securitygroups_processes', 'SecurityGroups', 'securitygroups', 'id', 'Processes', 'processes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Processes', 0, 0),
('803cf43f-938f-4ecd-87ca-189f1c8f2dd6', 'jjwg_Maps_cases', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Cases', 'cases', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('806add09-c491-4835-b996-a726a652947f', 'acl_roles_users', 'ACLRoles', 'acl_roles', 'id', 'Users', 'users', 'id', 'acl_roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('80b2ccec-dcf5-4d19-a128-45f62c4abd54', 'aos_quotes_assigned_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('82bddba1-50e2-49f4-9399-c3a4ad8364e5', 'aok_knowledgebase_categories', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'id', 'AOK_Knowledge_Base_Categories', 'aok_knowledge_base_categories', 'id', 'aok_knowledgebase_categories', 'aok_knowledgebase_id', 'aok_knowledge_base_categories_id', 'many-to-many', NULL, NULL, 0, 0),
('82ec32e9-7ac5-485f-a68d-546e4e5e4ad6', 'securitygroups_emailtemplates', 'SecurityGroups', 'securitygroups', 'id', 'EmailTemplates', 'email_templates', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailTemplates', 0, 0),
('830bee15-78bd-4d75-b3a3-7eb07c5abbbd', 'calls_contacts', 'Calls', 'calls', 'id', 'Contacts', 'contacts', 'id', 'calls_contacts', 'call_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('836a5f85-f46e-4e8a-bb76-0966865b81b4', 'outbound_emails_external_oauth_connections', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'OutboundEmailAccounts', 'outbound_email', 'external_oauth_connection_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('83871812-9c85-40f0-bb93-ba75acf829a1', 'aor_scheduled_reports_created_by', 'Users', 'users', 'id', 'AOR_Scheduled_Reports', 'aor_scheduled_reports', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('846ffe17-f680-4fd3-a430-1caf5f20b962', 'fp_events_leads_1', 'FP_events', 'fp_events', 'id', 'Leads', 'leads', 'id', 'fp_events_leads_1_c', 'fp_events_leads_1fp_events_ida', 'fp_events_leads_1leads_idb', 'many-to-many', NULL, NULL, 0, 0),
('85357249-b9f5-4db4-b5f4-eb9e1c4868f1', 'documents_modified_user', 'Users', 'users', 'id', 'Documents', 'documents', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('85a5a77b-ef7e-46a6-967e-710fc4b0f075', 'favorites_modified_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('861509b0-0622-4e16-a719-e4ce10768e54', 'reminders_invitees_modified_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('86b3a7a6-63ea-41ce-9a07-0384805e5695', 'aok_knowledgebase_created_by', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('86bc436f-39bf-4015-894c-e948b17f4678', 'securitygroups_aow_workflow', 'SecurityGroups', 'securitygroups', 'id', 'AOW_WorkFlow', 'aow_workflow', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOW_WorkFlow', 0, 0),
('8774ade8-2e80-4b14-bb69-68f704088f13', 'aos_line_item_groups_modified_user', 'Users', 'users', 'id', 'AOS_Line_Item_Groups', 'aos_line_item_groups', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('87d112ba-aa62-4f0a-a70c-808c77041bba', 'campaign_accounts', 'Campaigns', 'campaigns', 'id', 'Accounts', 'accounts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('891de7da-e038-41f2-b567-c001fc815e02', 'inbound_email_modified_user_id', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('8a767f92-7506-4864-966e-4f8baa22f98f', 'aos_contracts_assigned_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8b6a5af9-6c4b-4c53-ad35-66f7a024abd3', 'notes_assigned_user', 'Users', 'users', 'id', 'Notes', 'notes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8bd32059-08cb-48e0-ad21-5baf429481dd', 'aop_case_updates_assigned_user', 'Users', 'users', 'id', 'AOP_Case_Updates', 'aop_case_updates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8c23e3e7-29e4-4337-9a55-197a04cafb65', 'aor_scheduled_reports_modified_user', 'Users', 'users', 'id', 'AOR_Scheduled_Reports', 'aor_scheduled_reports', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8c75fa83-0094-4198-b728-fd1efce24694', 'externaloauthconnection_created_by', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8c9358ba-dad4-43b0-93ed-2ff331b1e55c', 'case_calls', 'Cases', 'cases', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('8d33e0c2-ecdd-4a0e-8575-8cb964e7d5fd', 'campaign_email_marketing', 'Campaigns', 'campaigns', 'id', 'EmailMarketing', 'email_marketing', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8db265de-ef30-4fb7-9648-b057ff6927e8', 'securitygroups_aok_knowledgebase', 'SecurityGroups', 'securitygroups', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOK_KnowledgeBase', 0, 0),
('8dd5ab32-d3cd-49c1-93ac-f8e3dc81efa0', 'campaign_campaignlog', 'Campaigns', 'campaigns', 'id', 'CampaignLog', 'campaign_log', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8e0f7b7d-bdbb-49ef-8bee-2b0a5c879219', 'surveyresponses_assigned_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8eac1ab5-627c-4920-9d18-b22c93440d10', 'tasks_created_by', 'Users', 'users', 'id', 'Tasks', 'tasks', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8ff46a4a-b35c-496d-9055-200aec57db05', 'aok_knowledgebase_assigned_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('904a7dcf-77aa-494f-8874-0f27e36761e0', 'securitygroups_jjwg_markers', 'SecurityGroups', 'securitygroups', 'id', 'jjwg_Markers', 'jjwg_markers', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'jjwg_Markers', 0, 0),
('911862da-08a4-44da-a821-f2aec9d19c88', 'lead_notes', 'Leads', 'leads', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('9129a313-2853-4cf5-955d-1480ceab2384', 'surveyquestionresponses_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('92cf3707-dbbd-4ee7-a150-680660975685', 'project_tasks_emails', 'ProjectTask', 'project_task', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('9429a4c0-eeb6-4f0f-99cf-8edb002f63fd', 'aop_case_updates_notes', 'AOP_Case_Updates', 'aop_case_updates', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOP_Case_Updates', 0, 0),
('9431a010-4155-4e70-ab3b-59a052067595', 'templatesectionline_created_by', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('94affa29-44fe-4f89-9287-2db6ae6cdbf3', 'aos_quotes_aos_contracts', 'AOS_Quotes', 'aos_quotes', 'id', 'AOS_Contracts', 'aos_contracts', 'id', 'aos_quotes_os_contracts_c', 'aos_quotese81e_quotes_ida', 'aos_quotes4dc0ntracts_idb', 'many-to-many', NULL, NULL, 0, 0),
('94be9de8-2039-4379-aac9-eb60d1a3eb64', 'inbound_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'InboundEmail', 'inbound_email', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('963a8190-f5f7-48e0-8972-a030f5ee73b0', 'securitygroups_acl_roles', 'SecurityGroups', 'securitygroups', 'id', 'ACLRoles', 'acl_roles', 'id', 'securitygroups_acl_roles', 'securitygroup_id', 'role_id', 'many-to-many', NULL, NULL, 0, 0),
('96fa9c88-7d30-4581-bd1c-3a2ddecbafa0', 'surveyquestionoptions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('974c7b7a-0fc3-49b4-b788-7a4161a6a3a1', 'notes_created_by', 'Users', 'users', 'id', 'Notes', 'notes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('97eb8db9-659f-4969-a663-d46851a69dd4', 'bugs_fixed_in_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'fixed_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('98d8a640-19b6-43c9-a0ba-404ec7c65a18', 'leads_assigned_user', 'Users', 'users', 'id', 'Leads', 'leads', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9926746e-98a9-46dd-ae10-7a201c8274f3', 'securitygroups_mediaobjects', 'SecurityGroups', 'securitygroups', 'id', 'MediaObjects', 'archived_documents_media_objects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'MediaObjects', 0, 0),
('996224de-458b-4e93-b877-4f4d88fcb35d', 'aos_product_categories_assigned_user', 'Users', 'users', 'id', 'AOS_Product_Categories', 'aos_product_categories', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('997f97a9-20e9-4f62-aa46-67afb4cfb5a0', 'securitygroups_campaigns', 'SecurityGroups', 'securitygroups', 'id', 'Campaigns', 'campaigns', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Campaigns', 0, 0),
('99aad06d-8ff5-4bb9-a9c8-2b2ee44d62a2', 'aor_reports_modified_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9a1806d9-ee36-42d8-90f3-8974bcef3590', 'jjwg_maps_assigned_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9b12f7ad-76af-4328-abcf-fc3866ef5035', 'fp_event_locations_fp_events_1', 'FP_Event_Locations', 'fp_event_locations', 'id', 'FP_events', 'fp_events', 'id', 'fp_event_locations_fp_events_1_c', 'fp_event_locations_fp_events_1fp_event_locations_ida', 'fp_event_locations_fp_events_1fp_events_idb', 'many-to-many', NULL, NULL, 0, 0),
('9b70c80c-d594-47a3-9f5e-d14185092d01', 'aos_invoices_aos_product_quotes', 'AOS_Invoices', 'aos_invoices', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9b954445-f704-4611-bb03-4d93551a1cbb', 'aos_contracts_tasks', 'AOS_Contracts', 'aos_contracts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('9bacfe74-c320-4736-9d4a-ec3a31f12e02', 'cases_created_by', 'Users', 'users', 'id', 'Cases', 'cases', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9bb00936-69b9-451b-90b1-328ecedeb120', 'meetings_modified_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9c68f762-2e26-4987-b17d-3757b53102b4', 'opportunities_assigned_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9ca084b3-a3e5-4d6d-8993-3bc7b4576db8', 'reminders_invitees_assigned_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9cd743a8-47d5-4324-b7d9-e6f40cd4a57b', 'prospect_campaign_log', 'Prospects', 'prospects', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Prospects', 0, 0),
('9d057ea8-90f6-4ff3-8861-9a6ca1c834ef', 'aos_invoices_modified_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9d8cf1a8-d5a1-4be2-a577-4d455e4a33ed', 'campaignlog_lead', 'CampaignLog', 'campaign_log', 'related_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9dc25101-8bc5-4452-9f46-67d3905ed7eb', 'securitygroups_users', 'SecurityGroups', 'securitygroups', 'id', 'Users', 'users', 'id', 'securitygroups_users', 'securitygroup_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('9ff76c44-8758-4e1a-8fc6-b6370bba6d58', 'account_aos_quotes', 'Accounts', 'accounts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a05f5742-707b-40a1-a61b-1a904b1ae204', 'am_projecttemplates_project_1', 'AM_ProjectTemplates', 'am_projecttemplates', 'id', 'Project', 'project', 'id', 'am_projecttemplates_project_1_c', 'am_projecttemplates_project_1am_projecttemplates_ida', 'am_projecttemplates_project_1project_idb', 'many-to-many', NULL, NULL, 0, 0),
('a10590f5-7e57-41bf-845f-d0d88be50435', 'meetings_assigned_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a1762f8a-a8c3-4c15-b621-affe753e3569', 'aos_products_modified_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a22dd3d0-9149-4fd0-b748-da24dd1fe748', 'email_template_email_marketings', 'EmailTemplates', 'email_templates', 'id', 'EmailMarketing', 'email_marketing', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a3189907-e241-4f79-8596-c6c9c459d20e', 'fp_events_created_by', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a31da386-c4b3-4d8b-9349-f91cccf468dc', 'jjwg_areas_modified_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a31fc36d-e574-44c1-b773-fed454234070', 'surveys_created_by', 'Users', 'users', 'id', 'Surveys', 'surveys', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a33aa867-3649-4c94-8448-c260ce1d56f1', 'documents_contacts', 'Documents', 'documents', 'id', 'Contacts', 'contacts', 'id', 'documents_contacts', 'document_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('a44ee90a-e2ab-49d6-a576-f85d23e0954a', 'surveys_campaigns', 'Surveys', 'surveys', 'id', 'Campaigns', 'campaigns', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a4ecb15d-200f-47b2-8bff-c4435555a934', 'jjwg_address_cache_created_by', 'Users', 'users', 'id', 'jjwg_Address_Cache', 'jjwg_address_cache', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a572cea2-2dac-46b0-a242-e3258e918cf2', 'member_accounts', 'Accounts', 'accounts', 'id', 'Accounts', 'accounts', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a7618c18-deda-41c6-bf08-c0ff7bffb489', 'templatesectionline_modified_user', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a83cb795-0857-4428-8dfd-155d0a8cc020', 'manualmigrationtasks_assigned_user', 'Users', 'users', 'id', 'ManualMigrationTasks', 'manual_migration_tasks', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a84afd3c-aabf-4398-b1a9-685bc5aa8a4f', 'oauth2tokens_assigned_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a8a080e4-5c61-41f2-9bd2-4ab968924c27', 'mediaobjects_created_by', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a96a4097-5a5a-4474-a517-86e826d9b815', 'prospect_list_accounts', 'ProspectLists', 'prospect_lists', 'id', 'Accounts', 'accounts', 'id', 'prospect_lists_prospects', 'prospect_list_id', 'related_id', 'many-to-many', 'related_type', 'Accounts', 0, 0),
('a9908eea-6174-4ce1-a7ec-159e892a62f7', 'aor_reports_aor_conditions', 'AOR_Reports', 'aor_reports', 'id', 'AOR_Conditions', 'aor_conditions', 'aor_report_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a99b00e2-6928-4f97-93fe-5e6392ba7406', 'securitygroups_contacts', 'SecurityGroups', 'securitygroups', 'id', 'Contacts', 'contacts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Contacts', 0, 0),
('aa14e6a6-cf62-4bcc-851e-2cdb83e94658', 'asynctaskitems_modified_user', 'Users', 'users', 'id', 'AsyncTaskItems', 'async_task_items', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('aa3beb06-dfda-40fa-bf9c-d1f64c7b65c9', 'aop_case_events_modified_user', 'Users', 'users', 'id', 'AOP_Case_Events', 'aop_case_events', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('aa6065cd-348f-4b3f-b5da-3aa479d65ec3', 'tasks_notes', 'Tasks', 'tasks', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('aa7c1318-4313-4446-9283-1e00eb5e90a6', 'prospects_created_by', 'Users', 'users', 'id', 'Prospects', 'prospects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ab966e2b-dba6-4188-905f-c01567aab417', 'aobh_businesshours_modified_user', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('acce1643-f4eb-42b7-8f84-a6e0ff826718', 'securitygroups_project_task', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('ad487e2b-e36e-4c1f-bdca-9e81e420b3b3', 'securitygroups_surveyquestions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestions', 'surveyquestions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestions', 0, 0),
('ad9f0944-5f48-4c4d-8d23-6b5f7f8e68ee', 'surveyquestions_created_by', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('adfa094f-efcd-457e-b2ad-a4e97bd7921e', 'outbound_email_modified_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('af07f4d2-8db5-4a4a-b1cf-b65761fb054d', 'jjwg_maps_jjwg_areas', 'jjwg_Maps', 'jjwg_maps', 'id', 'jjwg_Areas', 'jjwg_areas', 'id', 'jjwg_maps_jjwg_areas_c', 'jjwg_maps_5304wg_maps_ida', 'jjwg_maps_41f2g_areas_idb', 'many-to-many', NULL, NULL, 0, 0),
('af2c4bfc-42c9-4a45-b2d8-470b298b5c14', 'securitygroups_projecttask', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('afb8f2a3-0606-41c0-aa61-6d6522ad5a3a', 'am_tasktemplates_am_projecttemplates', 'AM_ProjectTemplates', 'am_projecttemplates', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'id', 'am_tasktemplates_am_projecttemplates_c', 'am_tasktemplates_am_projecttemplatesam_projecttemplates_ida', 'am_tasktemplates_am_projecttemplatesam_tasktemplates_idb', 'many-to-many', NULL, NULL, 0, 0),
('b016b40c-ec20-4db6-bc4c-c29ef0624098', 'aow_conditions_modified_user', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b05c246c-43ac-4fbf-b10f-b687545ec69a', 'schedulersjobs_assigned_user', 'Users', 'users', 'id', 'SchedulersJobs', 'job_queue', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b0e4b686-b74b-4a76-8755-8562bd17d93c', 'favorites_assigned_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b191b325-22c1-461b-b5f8-81de2a48f444', 'inbound_emails_distribution_user', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'distribution_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b1ecb439-97d0-4ddd-8361-ff67968471a5', 'alerts_modified_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b22c28db-c803-405d-aa15-e95c449530c4', 'surveys_assigned_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b2d9ad25-5bb2-465c-acf1-4a02b36cfa0a', 'aor_fields_modified_user', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b34bec43-115f-4c31-a7a8-290ae3e8419c', 'bug_emails', 'Bugs', 'bugs', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('b3743fd5-3879-4562-b96b-35c890314b0d', 'manualmigrationtasks_modified_user', 'Users', 'users', 'id', 'ManualMigrationTasks', 'manual_migration_tasks', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b39fe9e9-bc9b-4c6f-9abe-1fa5bb1835fc', 'account_campaign_log', 'Accounts', 'accounts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Accounts', 0, 0),
('b44be80a-bb75-4d35-a073-df1f0ca5f913', 'campaign_prospects', 'Campaigns', 'campaigns', 'id', 'Prospects', 'prospects', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b4b1b96a-3367-466a-b96f-cc7351cfcd72', 'surveyquestions_surveyquestionresponses', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyquestion_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b60d6ef5-e7af-46f5-8178-ed11f076a39b', 'opportunity_aos_quotes', 'Opportunities', 'opportunities', 'id', 'AOS_Quotes', 'aos_quotes', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b6d584e5-04ec-49be-a956-f8359538fc2c', 'documents_created_by', 'Users', 'users', 'id', 'Documents', 'documents', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b73d0ae7-a3ce-4173-80cc-19708a662af8', 'securitygroups_prospectlists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('b87b0fba-435a-4e55-bc1a-75499922aec6', 'jjwg_maps_modified_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b8b51e18-dff4-4c44-9695-0fd31ae8bfae', 'bug_meetings', 'Bugs', 'bugs', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('b95bcfc6-eb2f-474c-9366-cc5dca711edf', 'aow_workflow_aow_processed', 'AOW_WorkFlow', 'aow_workflow', 'id', 'AOW_Processed', 'aow_processed', 'aow_workflow_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ba6d11d0-d460-4ca4-aadd-2ac51ed4fb84', 'aor_reports_assigned_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bb6f64aa-8c24-49e2-aa7f-e867ac8864ff', 'aos_products_assigned_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bbdacc2d-b423-4f8a-ba0c-a44c3a73cdd6', 'prospect_tasks', 'Prospects', 'prospects', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('bc5fa924-4237-432c-a24b-46f4526c750a', 'emails_assigned_user', 'Users', 'users', 'id', 'Emails', 'emails', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bc881c87-c318-486a-9aea-cff088877e19', 'securitygroups_project', 'SecurityGroups', 'securitygroups', 'id', 'Project', 'project', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Project', 0, 0),
('bd314786-9f0f-483c-92db-66d3a6a2dfb4', 'aow_conditions_created_by', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('be3f049c-ce6e-4b60-8bec-991c60dd65bd', 'securitygroups_fp_events', 'SecurityGroups', 'securitygroups', 'id', 'FP_events', 'fp_events', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'FP_events', 0, 0),
('be50523c-43fe-4a7d-bff6-afd766f57c60', 'securitygroups_surveyresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyResponses', 'surveyresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyResponses', 0, 0),
('be827b01-7656-4b11-a9fb-8e98131b996c', 'contacts_aop_case_updates', 'Contacts', 'contacts', 'id', 'AOP_Case_Updates', 'aop_case_updates', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bec82990-8e69-4af6-9b6a-833d6988fdef', 'aow_actions_modified_user', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bfe6e615-e0ff-41e6-8cfa-4f964c107c85', 'oauth2authcodes_assigned_user', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c0713c1f-0c57-4716-a559-1077aac6fd82', 'securitygroups_leads', 'SecurityGroups', 'securitygroups', 'id', 'Leads', 'leads', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Leads', 0, 0),
('c125f9b8-9579-47a2-9e74-d4043dcce5d5', 'jjwg_Maps_meetings', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Meetings', 'meetings', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('c27da093-a996-4b4f-a726-bbe9ee8af93f', 'account_notes', 'Accounts', 'accounts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('c28733a2-8617-43c0-861c-a84790967726', 'aow_actions_created_by', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c36324b0-70f8-4d78-ad1e-681cfdfe6c4d', 'account_leads', 'Accounts', 'accounts', 'id', 'Leads', 'leads', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c375bfef-ff74-4b0b-9dc9-a053ecca3f70', 'documents_cases', 'Documents', 'documents', 'id', 'Cases', 'cases', 'id', 'documents_cases', 'document_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('c4d3f0b2-ed52-4c8d-a459-4b532f0604c0', 'prospects_email_addresses_primary', 'Prospects', 'prospects', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'primary_address', '1', 0, 0),
('c5060b06-88ce-476d-a37a-1b7d5201918a', 'calls_reschedule', 'Calls', 'calls', 'id', 'Calls_Reschedule', 'calls_reschedule', 'call_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c5453917-be22-4230-b30f-3ff4b6cce773', 'am_projecttemplates_created_by', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c556a3e3-7c55-4460-9751-e1865e059c9d', 'oauth2tokens_created_by', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c5742806-b800-45ff-8ac9-bb560ec3d4d2', 'campaign_leads', 'Campaigns', 'campaigns', 'id', 'Leads', 'leads', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c5a19103-caf4-466f-bbe0-3ac88626692f', 'fp_event_locations_created_by', 'Users', 'users', 'id', 'FP_Event_Locations', 'fp_event_locations', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c77224d9-f388-4122-b966-156892535f6d', 'campaignlog_created_opportunities', 'CampaignLog', 'campaign_log', 'related_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c88981c7-8128-4fc0-8c98-50764d94e13a', 'oauthtokens_assigned_user', 'Users', 'users', 'id', 'OAuthTokens', 'oauth_tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c8b70049-8ac9-4a27-a674-f651e2288843', 'prospect_notes', 'Prospects', 'prospects', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('c9ae4e3c-0164-4b9d-aee2-d8b7e128270b', 'opportunity_calls', 'Opportunities', 'opportunities', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('ca0ea195-1795-45a4-a771-29790505fce5', 'contact_notes_parent', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('ca392d6a-2c82-4c70-94a5-38c0d3d8bbf5', 'campaignlog_contact', 'CampaignLog', 'campaign_log', 'related_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('caa3b4f5-fdc5-45d0-b187-53d6ede8339b', 'fp_events_prospects_1', 'FP_events', 'fp_events', 'id', 'Prospects', 'prospects', 'id', 'fp_events_prospects_1_c', 'fp_events_prospects_1fp_events_ida', 'fp_events_prospects_1prospects_idb', 'many-to-many', NULL, NULL, 0, 0),
('cabe1200-0fef-4535-af3c-8f73cf97ba22', 'case_emails', 'Cases', 'cases', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('cad0d509-09aa-47d1-a8e4-74861b8d3ef0', 'cases_aop_case_updates', 'Cases', 'cases', 'id', 'AOP_Case_Updates', 'aop_case_updates', 'case_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('caec1de7-ac54-43bc-b754-df03f5afb602', 'aos_contracts_created_by', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cb63ddaf-dc00-4801-969b-5ca195f2ae6c', 'project_tasks_modified_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cc99a788-7121-4ca0-81f0-20238e5dfabc', 'calls_users', 'Calls', 'calls', 'id', 'Users', 'users', 'id', 'calls_users', 'call_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('cd11bb70-c415-44de-a1a0-87965494e363', 'contact_tasks', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cd2b68e9-a386-4296-8445-be306e9c17b8', 'securitygroups_created_by', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cd8e3a53-ce81-4c53-bbd1-be6212db8dca', 'am_tasktemplates_modified_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ce9cbac5-961d-4fae-b3e0-a0a24008f6a1', 'surveyresponses_surveyquestionresponses', 'SurveyResponses', 'surveyresponses', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyresponse_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cfb7a767-0107-404a-b53c-abf233b9fbae', 'aos_pdf_templates_created_by', 'Users', 'users', 'id', 'AOS_PDF_Templates', 'aos_pdf_templates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d144c86b-770d-446d-ae62-4063ca697b60', 'jjwg_markers_modified_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d233b8fc-95a7-4a6e-89ea-e51e37e6eb52', 'account_aos_invoices', 'Accounts', 'accounts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d27cd171-c4f7-402d-80f9-d17ecffb42dd', 'mediaobjects_modified_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d2e81578-b2d9-4d7f-92cd-a26f34ce877c', 'processes_modified_user', 'Users', 'users', 'id', 'Processes', 'processes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d66a3fde-336d-4161-9301-e692b7d92fdb', 'inbound_email_created_by', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('d6ac887c-0dd0-480f-8eeb-e913a32bad4f', 'opportunity_emails', 'Opportunities', 'opportunities', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('d731f906-2ece-4db6-ab93-087464e28668', 'jjwg_Maps_opportunities', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('d7332b84-659e-47f9-874f-459a9c7dde2d', 'alerts_assigned_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d81638fa-a685-40e7-8774-50b80135227a', 'reminders_created_by', 'Users', 'users', 'id', 'Reminders', 'reminders', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d82258e0-4596-4fc8-be8f-0757f8e183bb', 'aos_quotes_aos_line_item_groups', 'AOS_Quotes', 'aos_quotes', 'id', 'AOS_Line_Item_Groups', 'aos_line_item_groups', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d84ed8cd-65b7-439b-8caf-96f82a572ac3', 'lead_meetings', 'Leads', 'leads', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('d8f86dd4-2146-494b-9948-a4383a6407e9', 'campaign_notes', 'Campaigns', 'campaigns', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Campaigns', 0, 0),
('d91e68f3-7f9f-46b6-b4d1-be71802bbbdf', 'manualmigrationtasks_created_by', 'Users', 'users', 'id', 'ManualMigrationTasks', 'manual_migration_tasks', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d932aa4c-0fb5-4dbe-ba73-e1dcb48277ae', 'fp_events_fp_event_locations_1', 'FP_events', 'fp_events', 'id', 'FP_Event_Locations', 'fp_event_locations', 'id', 'fp_events_fp_event_locations_1_c', 'fp_events_fp_event_locations_1fp_events_ida', 'fp_events_fp_event_locations_1fp_event_locations_idb', 'many-to-many', NULL, NULL, 0, 0),
('dae286d3-5a9d-4005-b017-0a62778bf4a4', 'email_marketing_emailman', 'EmailMarketing', 'email_marketing', 'id', 'EmailMan', 'emailman', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dba19b71-a32f-4a67-938a-1ebbc0237fcb', 'bugs_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'found_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dc8f71dd-cc84-4871-86e3-dca61c5dfa45', 'outbound_email_owner_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dc942c16-0787-4c3d-8627-198537cb16cc', 'prospect_list_campaigns', 'ProspectLists', 'prospect_lists', 'id', 'Campaigns', 'campaigns', 'id', 'prospect_list_campaigns', 'prospect_list_id', 'campaign_id', 'many-to-many', NULL, NULL, 0, 0),
('dd5a632d-4f46-4444-a714-3994c89c8085', 'projects_accounts', 'Project', 'project', 'id', 'Accounts', 'accounts', 'id', 'projects_accounts', 'project_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('dda34c5c-36b5-4ae7-898c-8c11b69754e8', 'securitygroups_accounts', 'SecurityGroups', 'securitygroups', 'id', 'Accounts', 'accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Accounts', 0, 0),
('ddb75e46-7758-4f92-b7b6-a742d343fcff', 'projects_contacts', 'Project', 'project', 'id', 'Contacts', 'contacts', 'id', 'projects_contacts', 'project_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('ddb77d5b-cbd6-46e3-b0a6-f8e4c0981bd4', 'securitygroups_surveys', 'SecurityGroups', 'securitygroups', 'id', 'Surveys', 'surveys', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Surveys', 0, 0),
('de2da4bf-e67a-4c88-b3da-342b175c6d50', 'jjwg_Maps_leads', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('de42032a-4594-4c62-b3a6-9feb93515738', 'aor_scheduled_reports_aor_reports', 'AOR_Reports', 'aor_reports', 'id', 'AOR_Scheduled_Reports', 'aor_scheduled_reports', 'aor_report_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('de7c17aa-9b5b-4c45-8bbf-1334c8cb2bed', 'aos_quotes_modified_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('df107327-606a-4e4f-9197-57d3e7f48393', 'aos_invoices_created_by', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('df8cf1d3-d0a2-4c11-8c66-e5ddc8904d7f', 'securitygroups_prospect_lists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('dfaba776-1780-4214-ba7b-8434197863a8', 'product_categories', 'AOS_Product_Categories', 'aos_product_categories', 'id', 'AOS_Products', 'aos_products', 'aos_product_category_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dffb20a1-e3ce-4982-a8c9-02fd1f0bb997', 'securitygroups_surveyquestionresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionResponses', 0, 0),
('e1762bb5-9295-43d8-b7d4-38a21b1363f4', 'oauth2authcodes_created_by', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e2a376c6-8a79-4126-98cb-811e03d38d7f', 'oauth2authcodes_modified_user', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e2c7e77f-fbde-4ffc-850c-366fcecaa0b1', 'oauthkeys_modified_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e390dc2e-47f0-4c0e-adc9-029865e35918', 'email_marketing_survey', 'Surveys', 'surveys', 'id', 'EmailMarketing', 'email_marketing', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e47f7617-8b55-40cd-b3ce-b853bb89dc7a', 'aok_knowledge_base_categories_created_by', 'Users', 'users', 'id', 'AOK_Knowledge_Base_Categories', 'aok_knowledge_base_categories', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e4dcf968-b422-42b6-bdf1-9175b9a480ef', 'prospect_calls', 'Prospects', 'prospects', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('e54f4887-c80b-4087-94d2-72b33f323da2', 'leads_email_addresses', 'Leads', 'leads', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'bean_module', 'Leads', 0, 0),
('e6012a60-0e1d-4f6d-a21e-acde58d6c3fe', 'contacts_users', 'Contacts', 'contacts', 'id', 'Users', 'users', 'id', 'contacts_users', 'contact_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('e6cb81ed-c288-4ef0-9f8f-a84f58d78991', 'securitygroups_externaloauthprovider', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthProvider', 0, 0),
('e728ee6c-ef54-47a2-a963-6a7ebb7cb2e9', 'surveys_modified_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e819859b-e5b1-4f7b-9ccb-fb0998d6dda8', 'notes_modified_user', 'Users', 'users', 'id', 'Notes', 'notes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e8ea2974-2616-45a8-a533-2b7585979a53', 'inbound_emails_case_email_templates', 'EmailTemplates', 'email_templates', 'id', 'InboundEmail', 'inbound_email', 'create_case_template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e90e7b1f-12dd-4674-b529-1e8fed2f8f77', 'campaign_opportunities', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e9bbb649-8021-4478-85d5-65adfdc558ae', 'projects_bugs', 'Project', 'project', 'id', 'Bugs', 'bugs', 'id', 'projects_bugs', 'project_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('e9d06d5a-9f0b-44e6-a4f9-7cec82a30c93', 'surveyresponses_contacts', 'Contacts', 'contacts', 'id', 'SurveyResponses', 'surveyresponses', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ea385524-d24b-46d9-937f-2dbea52c74c2', 'am_projecttemplates_modified_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ea47a66d-61dd-4883-89e7-317469109888', 'aop_case_events_assigned_user', 'Users', 'users', 'id', 'AOP_Case_Events', 'aop_case_events', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('eb8b58ed-238a-4348-a732-ebd44c3056ba', 'case_tasks', 'Cases', 'cases', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('ece7c820-87b6-4b47-8f02-787484202f33', 'prospect_list_prospects', 'ProspectLists', 'prospect_lists', 'id', 'Prospects', 'prospects', 'id', 'prospect_lists_prospects', 'prospect_list_id', 'related_id', 'many-to-many', 'related_type', 'Prospects', 0, 0),
('ed38fd22-a831-4259-8c9f-e920715ca436', 'bug_calls', 'Bugs', 'bugs', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('ee32917c-acd6-43af-862b-370a09ccbadf', 'surveyresponses_created_by', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ef7116b4-ff8b-4a98-b756-9fb30b20328d', 'account_tasks', 'Accounts', 'accounts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('efa252eb-3df7-4272-837e-a5a38bd730be', 'calendaraccount_created_by', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('efae085f-4d62-4be2-a38b-5588760a217f', 'securitygroups_jjwg_areas', 'SecurityGroups', 'securitygroups', 'id', 'jjwg_Areas', 'jjwg_areas', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'jjwg_Areas', 0, 0),
('f006a07b-10b3-4197-b3a2-1e3fdb5a2df7', 'jjwg_Maps_prospects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Prospects', 'prospects', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('f011d961-e53c-40f0-8879-1c3854667426', 'aos_contracts_notes', 'AOS_Contracts', 'aos_contracts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('f12af789-cd5b-4f5d-a7e8-fa41ecc8836a', 'securitygroups_aor_reports', 'SecurityGroups', 'securitygroups', 'id', 'AOR_Reports', 'aor_reports', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOR_Reports', 0, 0),
('f2b54312-7817-4241-8d12-b7afda645372', 'bug_notes', 'Bugs', 'bugs', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0);
INSERT INTO `relationships` VALUES
('f36082d2-7392-4b73-b35e-2ac5f9438fd2', 'consumer_tokens', 'OAuthKeys', 'oauth_consumer', 'id', 'OAuthTokens', 'oauth_tokens', 'consumer', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f37eac7b-987b-48fa-a97c-0c98ee35b805', 'campaignlog_targeted_users', 'CampaignLog', 'campaign_log', 'target_id', 'Users', 'users', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f3927004-fb79-4a6c-8e33-7ead88c65447', 'schedulers_jobs_rel', 'Schedulers', 'schedulers', 'id', 'SchedulersJobs', 'job_queue', 'scheduler_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f5441cde-22ce-43a2-841e-7cd0b592e2f4', 'calendaraccount_assigned_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f54a68ed-1a3f-416c-a92b-7498314bca12', 'securitygroups_aos_product_categories', 'SecurityGroups', 'securitygroups', 'id', 'AOS_Product_Categories', 'aos_product_categories', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'AOS_Product_Categories', 0, 0),
('f93de067-0a09-4cfd-a87d-e546060de4a6', 'favorites_created_by', 'Users', 'users', 'id', 'Favorites', 'favorites', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fa0262f0-53de-494c-9f69-b98a953e8851', 'bugs_created_by', 'Users', 'users', 'id', 'Bugs', 'bugs', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fa4887c6-7927-4491-aaac-9888e61160e3', 'case_notes', 'Cases', 'cases', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('fa5af24d-cb2f-4df4-a19c-d0ff12d40c17', 'campaigns_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fa99f509-f5f0-413c-bd7b-68c721a7dbd1', 'aow_processed_aow_actions', 'AOW_Processed', 'aow_processed', 'id', 'AOW_Actions', 'aow_actions', 'id', 'aow_processed_aow_actions', 'aow_processed_id', 'aow_action_id', 'many-to-many', NULL, NULL, 0, 0),
('faab1133-63f9-4da3-a268-885fa0780a4a', 'eapm_created_by', 'Users', 'users', 'id', 'EAPM', 'eapm', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('faee4fb4-0e33-4e6d-b4ab-b06d0d2ba529', 'project_tasks_assigned_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fb15cf75-ba45-4e95-94b1-db77d1e3f5e5', 'accounts_assigned_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fb20d389-e60c-498b-858d-d2da6d9b89f9', 'cases_assigned_user', 'Users', 'users', 'id', 'Cases', 'cases', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fb9471a2-3070-4d4b-a912-ba32cafbd154', 'fp_event_locations_modified_user', 'Users', 'users', 'id', 'FP_Event_Locations', 'fp_event_locations', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fc39cde6-5a68-432a-8c94-eb49bf34b700', 'projects_tasks', 'Project', 'project', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('fc663408-e13a-4e32-92f8-fb15a87195b6', 'prospectlists_assigned_user', 'Users', 'users', 'id', 'ProspectLists', 'prospect_lists', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fc7aa17f-7e20-49b9-b7ff-d0429f906333', 'projects_meetings', 'Project', 'project', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('fce8224c-3423-46e2-a94a-514bc0815cd5', 'account_calls', 'Accounts', 'accounts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('fdbf76b8-6795-446f-bac7-f8340b7c3051', 'securitygroups_tasks', 'SecurityGroups', 'securitygroups', 'id', 'Tasks', 'tasks', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Tasks', 0, 0),
('fdc00e28-fd61-4359-bafc-fd4a53406d56', 'aos_products_quotes_assigned_user', 'Users', 'users', 'id', 'AOS_Products_Quotes', 'aos_products_quotes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fee2650b-b274-4ea2-b503-b29fdb84d148', 'contact_tasks_parent', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('ff41acc2-a8d9-45da-81d2-339624773999', 'contacts_email_addresses', 'Contacts', 'contacts', 'id', 'EmailAddresses', 'email_addresses', 'id', 'email_addr_bean_rel', 'bean_id', 'email_address_id', 'many-to-many', 'bean_module', 'Contacts', 0, 0),
('ff9249be-2f7e-413d-995f-4ae292395de7', 'acl_roles_actions', 'ACLRoles', 'acl_roles', 'id', 'ACLActions', 'acl_actions', 'id', 'acl_roles_actions', 'role_id', 'action_id', 'many-to-many', NULL, NULL, 0, 0),
('ffac465e-09bf-49ef-872e-6f471fd026bc', 'aow_workflow_aow_actions', 'AOW_WorkFlow', 'aow_workflow', 'id', 'AOW_Actions', 'aow_actions', 'aow_workflow_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `releases`
--
CREATE TABLE `releases` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`list_order` int DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_releases` (`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `reminders`
--
CREATE TABLE `reminders` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`popup` tinyint(1) DEFAULT NULL,
`email` tinyint(1) DEFAULT NULL,
`email_sent` tinyint(1) DEFAULT NULL,
`timer_popup` varchar(32) DEFAULT NULL,
`timer_email` varchar(32) DEFAULT NULL,
`related_event_module` varchar(32) DEFAULT NULL,
`related_event_module_id` char(36) NOT NULL,
`date_willexecute` int DEFAULT '-1',
`popup_viewed` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_reminder_name` (`name`),
KEY `idx_reminder_deleted` (`deleted`),
KEY `idx_reminder_related_event_module` (`related_event_module`),
KEY `idx_reminder_related_event_module_id` (`related_event_module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `reminders_invitees`
--
CREATE TABLE `reminders_invitees` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`reminder_id` char(36) NOT NULL,
`related_invitee_module` varchar(32) DEFAULT NULL,
`related_invitee_module_id` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_reminder_invitee_name` (`name`),
KEY `idx_reminder_invitee_assigned_user_id` (`assigned_user_id`),
KEY `idx_reminder_invitee_reminder_id` (`reminder_id`),
KEY `idx_reminder_invitee_related_invitee_module` (`related_invitee_module`),
KEY `idx_reminder_invitee_related_invitee_module_id` (`related_invitee_module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(150) DEFAULT NULL,
`description` text,
`modules` text,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_role_id_del` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `roles_modules`
--
CREATE TABLE `roles_modules` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`module_id` varchar(36) DEFAULT NULL,
`allow` tinyint(1) DEFAULT '0',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_role_id` (`role_id`),
KEY `idx_module_id` (`module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `roles_users`
--
CREATE TABLE `roles_users` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_ru_role_id` (`role_id`),
KEY `idx_ru_user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `saved_search`
--
CREATE TABLE `saved_search` (
`id` char(36) NOT NULL,
`name` varchar(150) DEFAULT NULL,
`search_module` varchar(150) DEFAULT NULL,
`quick_filter` tinyint(1) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`contents` text,
`description` text,
PRIMARY KEY (`id`),
KEY `idx_desc` (`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `schedulers`
--
CREATE TABLE `schedulers` (
`id` varchar(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`job` varchar(255) DEFAULT NULL,
`date_time_start` datetime DEFAULT NULL,
`date_time_end` datetime DEFAULT NULL,
`job_interval` varchar(100) DEFAULT NULL,
`time_from` time DEFAULT NULL,
`time_to` time DEFAULT NULL,
`last_run` datetime DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`catch_up` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`),
KEY `idx_schedule` (`date_time_start`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `schedulers`
--
INSERT INTO `schedulers` VALUES
('0abe57e2-7d0e-4be7-b582-70f1bfc9ab71', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Database on 1st of Month', 'scheduler::prune-database', '2015-01-01 19:00:01', NULL, '0::4::1::*::*', NULL, NULL, NULL, 'Inactive', 0),
('0d4049b5-5ffa-417d-ad11-73c3574193f5', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Removal of documents from filesystem', 'function::removeDocumentsFromFS', '2015-01-01 11:00:01', NULL, '0::3::1::*::*', NULL, NULL, NULL, 'Active', 0),
('3b481a8c-7f4c-4993-bbed-f646683384d4', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Send Campaign Emails', 'scheduler::send-from-queue', '2015-01-01 13:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('4f80f8c1-3e66-4f61-961c-0f96e0a7b963', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Jobs Queue', 'function::cleanJobQueue', '2015-01-01 13:15:01', NULL, '0::5::*::*::*', NULL, NULL, NULL, 'Active', 0),
('5335224e-5fe3-47b9-a1bb-3d03e445e3b7', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Tracker Tables', 'function::trimTracker', '2015-01-01 10:00:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('5d15d1cd-6e1b-4953-bdb1-6f1d08102474', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune SuiteCRM Feed Tables', 'function::trimSugarFeeds', '2015-01-01 07:00:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('6fbe78ff-39bd-4fe7-9228-b92cdb63a3ef', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Process Bounced Campaign Emails', 'function::pollMonitoredInboxesForBouncedCampaignEmails', '2015-01-01 06:00:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1),
('7355bdf3-afe8-4a7c-ae7f-c5585420a5a6', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Calendar Accounts Sync', 'function::calendarSyncJob', '2015-01-01 18:00:01', NULL, '*/15::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('86775bbd-9f00-4e0d-aa2c-8e53e918a137', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Mass Email Campaigns', 'function::runMassEmailCampaign', '2015-01-01 07:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Inactive', 1),
('94fc63fb-47cf-4f5b-9720-90d56e99a8ff', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Elasticsearch Index', 'function::runElasticSearchIndexerScheduler', '2015-01-01 15:15:01', NULL, '30::4::*::*::*', NULL, NULL, NULL, 'Active', 0),
('a1ae5e14-5043-41f1-93db-ef321378cd86', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Queue Campaign Emails', 'scheduler::email-to-queue', '2015-01-01 08:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('a3a3933a-88f8-43c5-9840-4189f2552c86', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Up Temporary Files', 'scheduler::clean-up-temporary-files', '2015-01-01 18:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('a46c2697-1f93-468e-80d7-4056266a21be', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Report Generation Scheduled Tasks', 'function::aorRunScheduledReports', '2015-01-01 10:45:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1),
('b131a8d5-de9e-4b63-9457-60c6cacbaa39', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Email Reminder Notifications', 'function::sendEmailReminders', '2015-01-01 11:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('b5cad2a4-c402-4100-93c2-d9706d098cac', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Process Workflow Tasks', 'function::processAOW_Workflow', '2015-01-01 09:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1),
('d14522f4-5f15-4b59-b4e5-f6b3ace8340c', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Check Inbound Mailboxes', 'function::pollMonitoredInboxesAOP', '2015-01-01 12:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0);
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups`
--
CREATE TABLE `securitygroups` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`noninheritable` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_acl_roles`
--
CREATE TABLE `securitygroups_acl_roles` (
`id` char(36) NOT NULL,
`securitygroup_id` char(36) DEFAULT NULL,
`role_id` char(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_audit`
--
CREATE TABLE `securitygroups_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_securitygroups_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_default`
--
CREATE TABLE `securitygroups_default` (
`id` char(36) NOT NULL,
`securitygroup_id` char(36) DEFAULT NULL,
`module` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_records`
--
CREATE TABLE `securitygroups_records` (
`id` char(36) NOT NULL,
`securitygroup_id` char(36) DEFAULT NULL,
`record_id` char(36) DEFAULT NULL,
`module` varchar(100) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_securitygroups_records_mod` (`module`,`deleted`,`record_id`,`securitygroup_id`),
KEY `idx_securitygroups_records_del` (`deleted`,`record_id`,`module`,`securitygroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_users`
--
CREATE TABLE `securitygroups_users` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`securitygroup_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`primary_group` tinyint(1) DEFAULT NULL,
`noninheritable` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `securitygroups_users_idxa` (`securitygroup_id`),
KEY `securitygroups_users_idxb` (`user_id`),
KEY `securitygroups_users_idxc` (`user_id`,`deleted`,`securitygroup_id`,`id`),
KEY `securitygroups_users_idxd` (`user_id`,`deleted`,`securitygroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `sugarfeed`
--
CREATE TABLE `sugarfeed` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`related_module` varchar(100) DEFAULT NULL,
`related_id` char(36) DEFAULT NULL,
`link_url` varchar(255) DEFAULT NULL,
`link_type` varchar(30) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `sgrfeed_date` (`date_entered`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionoptions`
--
CREATE TABLE `surveyquestionoptions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`sort_order` int DEFAULT NULL,
`survey_question_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionoptions_audit`
--
CREATE TABLE `surveyquestionoptions_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyquestionoptions_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionoptions_surveyquestionresponses`
--
CREATE TABLE `surveyquestionoptions_surveyquestionresponses` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`surveyq72c7options_ida` varchar(36) DEFAULT NULL,
`surveyq10d4sponses_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `surveyquestionoptions_surveyquestionresponses_alt` (`surveyq72c7options_ida`,`surveyq10d4sponses_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionresponses`
--
CREATE TABLE `surveyquestionresponses` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`answer` text,
`answer_bool` tinyint(1) DEFAULT NULL,
`answer_datetime` datetime DEFAULT NULL,
`surveyquestion_id` char(36) DEFAULT NULL,
`surveyresponse_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionresponses_audit`
--
CREATE TABLE `surveyquestionresponses_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyquestionresponses_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestions`
--
CREATE TABLE `surveyquestions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`sort_order` int DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`happiness_question` tinyint(1) DEFAULT NULL,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestions_audit`
--
CREATE TABLE `surveyquestions_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyquestions_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyresponses`
--
CREATE TABLE `surveyresponses` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`happiness` int DEFAULT NULL,
`email_response_sent` tinyint(1) DEFAULT NULL,
`account_id` char(36) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveyresponses_audit`
--
CREATE TABLE `surveyresponses_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyresponses_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveys`
--
CREATE TABLE `surveys` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'LBL_DRAFT',
`submit_text` varchar(255) DEFAULT 'Submit',
`satisfied_text` varchar(255) DEFAULT 'Satisfied',
`neither_text` varchar(255) DEFAULT 'Neither Satisfied nor Dissatisfied',
`dissatisfied_text` varchar(255) DEFAULT 'Dissatisfied',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `surveys_audit`
--
CREATE TABLE `surveys_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveys_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE `tasks` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Not Started',
`date_due_flag` tinyint(1) DEFAULT '0',
`date_due` datetime DEFAULT NULL,
`date_start_flag` tinyint(1) DEFAULT '0',
`date_start` datetime DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`priority` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_tsk_name` (`name`),
KEY `idx_task_con_del` (`contact_id`,`deleted`),
KEY `idx_task_par_del` (`parent_id`,`parent_type`,`deleted`),
KEY `idx_task_assigned` (`assigned_user_id`),
KEY `idx_task_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `templatesectionline`
--
CREATE TABLE `templatesectionline` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`thumbnail` varchar(255) DEFAULT NULL,
`grp` varchar(255) DEFAULT NULL,
`ord` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `tracker`
--
CREATE TABLE `tracker` (
`id` int NOT NULL AUTO_INCREMENT,
`monitor_id` char(36) NOT NULL,
`user_id` varchar(36) DEFAULT NULL,
`module_name` varchar(255) DEFAULT NULL,
`item_id` varchar(36) DEFAULT NULL,
`item_summary` varchar(255) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`action` varchar(255) DEFAULT NULL,
`session_id` varchar(36) DEFAULT NULL,
`visible` tinyint(1) DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_tracker_iid` (`item_id`),
KEY `idx_tracker_userid_vis_id` (`user_id`,`visible`,`id`),
KEY `idx_tracker_userid_itemid_vis` (`user_id`,`item_id`,`visible`),
KEY `idx_tracker_monitor_id` (`monitor_id`),
KEY `idx_tracker_date_modified` (`date_modified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `upgrade_history`
--
CREATE TABLE `upgrade_history` (
`id` char(36) NOT NULL,
`filename` varchar(255) DEFAULT NULL,
`md5sum` varchar(32) DEFAULT NULL,
`type` varchar(30) DEFAULT NULL,
`status` varchar(50) DEFAULT NULL,
`version` varchar(64) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`description` text,
`id_name` varchar(255) DEFAULT NULL,
`manifest` longtext,
`date_entered` datetime DEFAULT NULL,
`enabled` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `upgrade_history_md5_uk` (`md5sum`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` char(36) NOT NULL,
`user_name` varchar(60) DEFAULT NULL,
`user_hash` varchar(255) DEFAULT NULL,
`system_generated_password` tinyint(1) DEFAULT NULL,
`pwd_last_changed` datetime DEFAULT NULL,
`authenticate_id` varchar(100) DEFAULT NULL,
`sugar_login` tinyint(1) DEFAULT '1',
`first_name` varchar(255) DEFAULT NULL,
`last_name` varchar(255) DEFAULT NULL,
`is_admin` tinyint(1) DEFAULT '0',
`external_auth_only` tinyint(1) DEFAULT '0',
`receive_notifications` tinyint(1) DEFAULT '1',
`description` text,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`title` varchar(50) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(50) DEFAULT NULL,
`phone_home` varchar(50) DEFAULT NULL,
`phone_mobile` varchar(50) DEFAULT NULL,
`phone_work` varchar(50) DEFAULT NULL,
`phone_other` varchar(50) DEFAULT NULL,
`phone_fax` varchar(50) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`address_street` varchar(150) DEFAULT NULL,
`address_city` varchar(100) DEFAULT NULL,
`address_state` varchar(100) DEFAULT NULL,
`address_country` varchar(100) DEFAULT NULL,
`address_postalcode` varchar(20) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`portal_only` tinyint(1) DEFAULT '0',
`show_on_employees` tinyint(1) DEFAULT '1',
`employee_status` varchar(100) DEFAULT NULL,
`messenger_id` varchar(100) DEFAULT NULL,
`messenger_type` varchar(100) DEFAULT NULL,
`reports_to_id` char(36) DEFAULT NULL,
`is_group` tinyint(1) DEFAULT NULL,
`factor_auth` tinyint(1) DEFAULT NULL,
`factor_auth_interface` varchar(255) DEFAULT NULL,
`totp_secret` varchar(255) DEFAULT NULL,
`is_totp_enabled` tinyint(1) DEFAULT NULL,
`backup_codes` text,
PRIMARY KEY (`id`),
KEY `idx_user_name` (`user_name`,`is_group`,`status`,`last_name`(30),`first_name`(30),`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `users`
--
INSERT INTO `users` VALUES
('1', '[[admin_username]]', '[[admin_pass]]', 0, NULL, NULL, 1, '[[admin_fname]]', '[[admin_lname]]', 1, 0, 1, NULL, '[[regtime]]', '[[regtime]]', '1', '1', 'Administrator', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, NULL, NULL, NULL, 0, 0, 1, 'Active', NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `users_feeds`
--
CREATE TABLE `users_feeds` (
`user_id` varchar(36) DEFAULT NULL,
`feed_id` varchar(36) DEFAULT NULL,
`rank` int DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
KEY `idx_ud_user_id` (`user_id`,`feed_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `users_last_import`
--
CREATE TABLE `users_last_import` (
`id` char(36) NOT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`import_module` varchar(36) DEFAULT NULL,
`bean_type` varchar(36) DEFAULT NULL,
`bean_id` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_user_id` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `users_password_link`
--
CREATE TABLE `users_password_link` (
`id` char(36) NOT NULL,
`keyhash` varchar(255) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`username` varchar(36) DEFAULT NULL,
`date_generated` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_username` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `users_signatures`
--
CREATE TABLE `users_signatures` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`signature` text,
`signature_html` text,
PRIMARY KEY (`id`),
KEY `idx_usersig_uid` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- --------------------------------------------------------
--
-- Table structure for table `user_preferences`
--
CREATE TABLE `user_preferences` (
`id` char(36) NOT NULL,
`category` varchar(50) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`contents` longtext,
PRIMARY KEY (`id`),
KEY `idx_userprefnamecat` (`assigned_user_id`,`category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
--
-- Dumping data for table `user_preferences`
--
INSERT INTO `user_preferences` VALUES
('981da96f-f018-4ecb-b5fc-7b35cdb5d4e9', 'global', 0, '[[regtime]]', '[[regtime]]', '1', 'YTo0NTp7czoyMDoiY2FsZW5kYXJfcHVibGlzaF9rZXkiO3M6MzY6IjcyNjVhNDk4LTdmMzQtNDZiZC1iZWYzLTVmYzY4N2IyMDY2MSI7czoxMjoibWFpbG1lcmdlX29uIjtzOjM6Im9mZiI7czoyNDoic3VicGFuZWxfcGFnaW5hdGlvbl90eXBlIjtzOjEwOiJwYWdpbmF0aW9uIjtzOjI0OiJsaXN0dmlld19wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6Mjg6InJlY29yZF9tb2RhbF9wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6MTg6InNub296ZV9hbGVydF90aW1lciI7aTo2MDA7czoxNjoic3dhcF9sYXN0X3ZpZXdlZCI7YjowO3M6MTQ6InN3YXBfc2hvcnRjdXRzIjtiOjA7czoxOToibmF2aWdhdGlvbl9wYXJhZGlnbSI7czoxOiJtIjtzOjIwOiJzb3J0X21vZHVsZXNfYnlfbmFtZSI7czowOiIiO3M6MTM6InN1YnBhbmVsX3RhYnMiO2I6MTtzOjI1OiJjb3VudF9jb2xsYXBzZWRfc3VicGFuZWxzIjtzOjA6IiI7czoxMDoidXNlcl90aGVtZSI7czo2OiJzdWl0ZTgiO3M6MTQ6Im1vZHVsZV9mYXZpY29uIjtiOjA7czo5OiJoaWRlX3RhYnMiO2E6MDp7fXM6MTE6InJlbW92ZV90YWJzIjthOjA6e31zOjc6Im5vX29wcHMiO3M6Mzoib2ZmIjtzOjEzOiJyZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE5OiJlbWFpbF9yZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE2OiJyZW1pbmRlcl9jaGVja2VkIjtzOjE6IjAiO3M6MjI6ImVtYWlsX3JlbWluZGVyX2NoZWNrZWQiO3M6MToiMCI7czo4OiJ0aW1lem9uZSI7TjtzOjI6InV0IjtzOjE6IjEiO3M6ODoiY3VycmVuY3kiO047czozNToiZGVmYXVsdF9jdXJyZW5jeV9zaWduaWZpY2FudF9kaWdpdHMiO3M6MToiMiI7czoxMToibnVtX2dycF9zZXAiO047czo3OiJkZWNfc2VwIjtzOjE6Ii4iO3M6NDoiZmRvdyI7TjtzOjU6ImRhdGVmIjtzOjU6Im0vZC9ZIjtzOjU6InRpbWVmIjtzOjM6Ikg6aSI7czo4OiJsYW5ndWFnZSI7czo1OiJlbl91cyI7czoyNjoiZGVmYXVsdF9sb2NhbGVfbmFtZV9mb3JtYXQiO3M6NToicyBmIGwiO3M6MTY6ImV4cG9ydF9kZWxpbWl0ZXIiO3M6MToiLCI7czoyMjoiZGVmYXVsdF9leHBvcnRfY2hhcnNldCI7czo1OiJVVEYtOCI7czoxNDoidXNlX3JlYWxfbmFtZXMiO2I6MTtzOjE3OiJtYWlsX3NtdHBhdXRoX3JlcSI7czowOiIiO3M6MTI6Im1haWxfc210cHNzbCI7aTowO3M6MTc6InNpZ25hdHVyZV9kZWZhdWx0IjtzOjA6IiI7czoxNzoic2lnbmF0dXJlX3ByZXBlbmQiO3M6MDoiIjtzOjE1OiJlbWFpbF9saW5rX3R5cGUiO3M6NToic3VnYXIiO3M6MTE6ImVkaXRvcl90eXBlIjtzOjc6InRpbnltY2UiO3M6MTc6ImVtYWlsX3Nob3dfY291bnRzIjtpOjA7czoxOToiZW1haWxfZWRpdG9yX29wdGlvbiI7czo3OiJ0aW55bWNlIjtzOjIxOiJkZWZhdWx0X2VtYWlsX2NoYXJzZXQiO3M6NToiVVRGLTgiO3M6ODoic3VidGhlbWUiO3M6MDoiIjt9');
-- --------------------------------------------------------
--
-- Table structure for table `vcals`
--
CREATE TABLE `vcals` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`user_id` char(36) NOT NULL,
`type` varchar(100) DEFAULT NULL,
`source` varchar(100) DEFAULT NULL,
`content` text,
PRIMARY KEY (`id`),
KEY `idx_vcal` (`type`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
/*!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 */;