File: //proc/thread-self/root/proc/self/root/var/softaculous/suitecrm/suitecrm.sql
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `suitecrm893`
--
-- --------------------------------------------------------
--
-- 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
('001544de-954f-44ba-b8fd-2d7c5df1f0af', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionResponses', 'module', 90, 0),
('026e0d97-f2c0-4f55-8f46-c8422093c8e7', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailTemplates', 'module', 90, 0),
('02d12918-68bc-41d5-9075-30014fd70e31', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Scheduled_Reports', 'module', 90, 0),
('03aecbe6-5716-445f-a65c-687a488399e9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProspectLists', 'module', 90, 0),
('03dc20c0-3ebd-4a87-97c5-b7fba923936b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_Processed', 'module', 90, 0),
('04b8121f-4db6-40bb-9aae-24c97b590008', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Meetings', 'module', 90, 0),
('04e30050-b96a-4d87-913f-f1f0f57360b0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'MediaObjects', 'module', 90, 0),
('0523a6a3-a88e-4543-8dfc-b22b81ebf368', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Surveys', 'module', 90, 0),
('0654f4f6-3fd1-4849-85f3-17a3c81d17ce', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Tasks', 'module', 90, 0),
('065d8db2-d194-4033-952c-59cfef9d80c5', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Users', 'module', 90, 0),
('06a14177-bd49-44c1-b489-a60cbae843a5', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls', 'module', 90, 0),
('0759eca5-73b7-439c-b295-798ab63cd03e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_TaskTemplates', 'module', 89, 0),
('07e251a2-a716-452a-8c5b-bd72587b317a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls', 'module', 90, 0),
('0814d6b2-4d1d-44d9-8721-067c7c4e719d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Emails', 'module', 90, 0),
('090d295a-f248-48b5-bbf1-654cf93190ec', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_TaskTemplates', 'module', 90, 0),
('09e0af83-6c4f-48cb-95f4-8973ebfd4eb9', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Events', 'module', 90, 0),
('09ebd26c-4dea-4988-aa63-eadf135126bd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Reports', 'module', 90, 0),
('0a513126-8f41-4820-a277-024f2f602bc5', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Products', 'module', 90, 0),
('0bb0529d-5e4c-48ef-90c5-d0e9a72a8fa3', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'TemplateSectionLine', 'module', 90, 0),
('0bb18b24-8a7e-40e5-86fa-7b4dc613ad01', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Invoices', 'module', 90, 0),
('0bb510dd-54b2-46da-a3bf-4fa31ba41171', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Cases', 'module', 90, 0),
('0c71495f-cff0-4627-b3cd-831ba4c274c0', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'MediaObjects', 'module', 90, 0),
('0d56badf-0e79-4e76-a64b-f3a38bbc1381', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_Event_Locations', 'module', 89, 0),
('0d748620-9c4d-4c72-90ea-6b9ead5a9038', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Campaigns', 'module', 89, 0),
('0dc5446f-f53b-488a-9926-74831c56092b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Alerts', 'module', 90, 0),
('0e435e10-9727-4f3a-b1b9-7d8cfb463d01', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailTemplates', 'module', 90, 0),
('0eca09c3-37ff-4a79-9cd1-4c0a75a36ca7', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_KnowledgeBase', 'module', 90, 0),
('0f05aaa2-7c1c-4645-9302-7ff2655d12a6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Surveys', 'module', 90, 0),
('0f0e5aca-dfb7-4c26-9568-599dddab163e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Contracts', 'module', 90, 0),
('13fd1a24-6113-4216-af4b-27ad86ce2ef1', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthConnection', 'module', 89, 0),
('146e5873-ae5b-4965-8526-b07095703c8d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_events', 'module', 90, 0),
('14986faa-2200-478e-bcc7-4c48d3dd5e93', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Cases', 'module', 89, 0),
('1558ddd9-50bb-4b2c-a060-029b3f2a9339', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyResponses', 'module', 90, 0),
('16d9e7d5-4cf3-4555-890d-0e4983a8ecf0', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_events', 'module', 90, 0),
('16dffe82-18d5-4ddc-816b-dda3ff563c73', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Meetings', 'module', 90, 0),
('181237ac-1dda-4d78-abd4-5e120efd2c2d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailMarketing', 'module', 90, 0),
('184acbb2-b267-43b2-bdec-ba11d61188b0', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'MediaObjects', 'module', 90, 0),
('18ccec7d-4563-473e-84ac-5898da812c47', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Opportunities', 'module', 90, 0),
('18e8ad54-4dc6-4efd-9491-43dbf9a996b1', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Notes', 'module', 90, 0),
('19597d81-a462-4038-9d1d-e5162d48d8d7', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Bugs', 'module', 90, 0),
('1a0a6db7-d658-4ea5-b591-03698eabffc3', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestions', 'module', 90, 0),
('1a22c97c-44c1-48db-9a9e-e099b06cc11f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EAPM', 'module', 90, 0),
('1af50738-ef98-431c-8faa-a096fa2f4b24', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Meetings', 'module', 90, 0),
('1b5fdcb0-73e2-4de1-b6b8-3c64a85eb1ae', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestions', 'module', 90, 0),
('1cc7d8ef-0f3c-4fe0-ba10-e02ee7219df7', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SecurityGroups', 'module', 89, 0),
('1ddf72d5-0846-4a85-bdeb-9576dc232eac', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Users', 'module', 90, 0),
('1f4df52a-eae4-4f5c-bad0-ce5c271cf763', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Product_Categories', 'module', 89, 0),
('1f764b47-cf06-4b99-8668-bcd4c05cb11d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Products', 'module', 90, 0),
('1fec405d-f54f-482a-b206-b7c5e004135d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Cases', 'module', 90, 0),
('201d262e-1fbd-4815-8202-4dd8249f6d41', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyResponses', 'module', 90, 0),
('20b4e131-28cc-4fd7-a62b-c0ff744bb568', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EAPM', 'module', 90, 0),
('21e8b388-09cc-439a-941d-f2d4acb9849e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Opportunities', 'module', 90, 0),
('226c7334-2687-4607-bf43-7df2d9c30649', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailMarketing', 'module', 90, 0),
('228cbfcb-0fc8-4002-8e9c-5db418551c6a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SecurityGroups', 'module', 90, 0),
('22a873a1-c2f4-41d8-9bd0-0f408bac0f75', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Accounts', 'module', 90, 0),
('231effdb-f547-42cf-8065-48010d10120c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthProvider', 'module', 90, 0),
('233e9025-e53f-4c9b-83aa-5dfeb3397483', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_WorkFlow', 'module', 90, 0),
('237ce12c-059e-4a48-8b95-4b74f0873ce3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Leads', 'module', 90, 0),
('237db4e5-bf0f-4184-84fc-9519108e8010', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionOptions', 'module', 90, 0),
('2568ab39-fc1e-445c-b254-9afb8b7556b3', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_ProjectTemplates', 'module', 90, 0),
('2659b9f6-9256-4ebf-b83d-65fc560801b9', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Prospects', 'module', 90, 0),
('27d7faaf-6b62-4c26-96d1-9d840c134509', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Notes', 'module', 90, 0),
('2895f3a9-c0a8-4ddd-bf01-9524893397c8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProjectTask', 'module', 90, 0),
('28c6549f-9448-4495-843f-b152d2e42aa5', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('28f0d3d2-e5de-4691-9f34-1c670c0ddfe2', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'OutboundEmailAccounts', 'module', 89, 0),
('2931f141-95ca-46d6-b5c8-817c5ecc55f3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Tasks', 'module', 90, 0),
('2a209819-abea-4dae-b7bc-25769f976bc5', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Contracts', 'module', 90, 0),
('2afa5994-cc69-4408-98dc-59a64d3bc40f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'TemplateSectionLine', 'module', 90, 0),
('2b37fd71-b5f0-476a-bc43-b4c7b4824523', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Reports', 'module', 90, 0),
('2cc35e1f-2ca2-408f-8380-f4b125bffecb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_Event_Locations', 'module', 90, 0),
('2dd309ec-ef33-4680-9dee-395bcb76e51b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProspectLists', 'module', 90, 0),
('2e415e8b-ec50-4464-9f95-1e5a1fc414c1', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'TemplateSectionLine', 'module', 90, 0),
('2e4903ca-5f6c-4043-af52-348f155b2514', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_ProjectTemplates', 'module', 90, 0),
('3000abfc-106c-48c1-adab-8840200652ea', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Markers', 'module', 89, 0),
('30544e31-62a7-4608-ba0f-9951d301dab0', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_TaskTemplates', 'module', 90, 0),
('31141b8a-4ea7-4b9c-889f-1f41ce1b4551', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Contacts', 'module', 90, 0),
('315f812e-0f60-49ee-ba57-3af7cc89752a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Contacts', 'module', 89, 0),
('31f1e217-ff50-4f1e-bf95-15f2df34e9dd', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Invoices', 'module', 90, 0),
('3220cda3-d3d3-4a48-91ea-ca08a9ffc711', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EAPM', 'module', 90, 0),
('32353795-9ac4-4d83-acd4-7193250d5dbd', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyResponses', 'module', 90, 0),
('327a4328-c0c6-4d73-ac11-caa1c0d38aae', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailMarketing', 'module', 90, 0),
('33186dd6-5a9a-4439-9983-b8dd3f0b51aa', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'InboundEmail', 'module', 90, 0),
('332fd201-d114-4a74-b975-520ff7b3ae3c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Meetings', 'module', 90, 0),
('3358f4ef-8244-41ed-bb43-29194173de23', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Documents', 'module', 90, 0),
('33652069-6f90-4f0c-b028-3e89360f46a9', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Accounts', 'module', 90, 0),
('33a80cc7-5c1a-46e7-872b-490d8f5d284d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyResponses', 'module', 90, 0),
('33e58640-a4c6-4c15-a5f0-f9a3f3e903b9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthConnection', 'module', 90, 0),
('34422b94-4a32-4aa9-aea4-045d23ba5e39', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthConnection', 'module', 90, 0),
('34c39f08-bf17-4270-98e3-bc2daa55a65d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Quotes', 'module', 90, 0),
('35e5f677-80d1-491b-9490-7a76aca6ede2', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('3682975c-88b7-4288-bd5d-8a8f2de6e55c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_ProjectTemplates', 'module', 90, 0),
('370c1be0-c9bc-461d-a096-7b36d70952d9', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Contacts', 'module', 90, 0),
('375b1548-c693-48bb-b5f0-b7f991467f09', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Campaigns', 'module', 90, 0),
('37d14414-9645-4804-8d49-ab812e9990ab', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Accounts', 'module', 90, 0),
('37d8514e-e93f-4743-baa8-3d0698c6f3c0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'TemplateSectionLine', 'module', 90, 0),
('37e39c15-ae94-46a3-833d-3f8f8f8974d9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Alerts', 'module', 90, 0),
('3bc27371-98d0-4df6-bbcf-60d8aff9a68a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Product_Categories', 'module', 90, 0),
('3ce0ad24-fa53-469a-abf7-6a0ce64754ff', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_Event_Locations', 'module', 90, 0),
('3d0ab0ee-42aa-45bc-96cc-a714079eea25', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Project', 'module', 90, 0),
('3d6f1c2f-74df-468d-8414-bb4df13b7581', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Leads', 'module', 90, 0),
('3f24d1a5-4afc-40d9-ac9f-2c7383cbc9f9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Documents', 'module', 90, 0),
('3fadda06-58cd-4076-95db-bf0e5764a457', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Emails', 'module', 90, 0),
('40a7a9a2-63ee-4a51-bc4f-f5f1e3f4ac4c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Opportunities', 'module', 90, 0),
('4340ce5e-1045-4a81-bf03-59401e5ccc48', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Campaigns', 'module', 90, 0),
('435f5ae8-24be-46e0-8951-f30dd913b7a5', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Project', 'module', 90, 0),
('43763f4b-c2d3-4b62-8177-ae3f5287c1d4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthProvider', 'module', 90, 0),
('440de3b1-6ab4-4293-ae64-988d6f6f77c8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Address_Cache', 'module', 90, 0),
('4532e9bb-ec51-4229-a98e-1891785c2bdf', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_WorkFlow', 'module', 89, 0),
('4533591c-a918-4911-a766-eaaab249926a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls_Reschedule', 'module', 90, 0),
('463d1b77-0a21-463a-8b1a-84b22d65debd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionOptions', 'module', 90, 0),
('47e24653-56a1-430e-b187-ee228302c5c7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls', 'module', 90, 0),
('48d1a356-3588-434b-a141-04cc7f8b465c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Markers', 'module', 90, 0),
('48d7016d-0603-4ba5-a78b-dddadaab44de', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EAPM', 'module', 90, 0),
('48f7736a-28ad-4898-bc03-1eb594758be3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_ProjectTemplates', 'module', 90, 0),
('497dda17-7a6a-4dd2-9cf3-d8fe6491b736', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Product_Categories', 'module', 90, 0),
('49e628fd-b5bc-4070-80e6-7ca93281e528', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthConnection', 'module', 90, 0),
('4a2294aa-3f7a-41c9-864c-aedc428fcfe7', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_PDF_Templates', 'module', 89, 0),
('4a8dd729-e703-44d8-ae76-1203cef0ace2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Surveys', 'module', 90, 0),
('4b8dec79-77f4-4028-93be-adb3da4ade88', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_events', 'module', 90, 0),
('4ba234cc-4379-48d1-8c30-13ddce80f867', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Contracts', 'module', 89, 0),
('4c63ca6c-8543-4752-b8ba-c5be6a464aef', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Documents', 'module', 89, 0),
('4c8a5642-81b2-4e66-a102-1ce07998ab49', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls', 'module', 90, 0),
('4ce7922a-ab26-4655-a7b0-668968daaa16', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyResponses', 'module', 90, 0),
('4d035c1e-cbf6-4010-a977-f3d9bb6d6eae', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyResponses', 'module', 90, 0),
('4d33a262-561a-4781-960f-8a4629fc854c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionResponses', 'module', 90, 0),
('4d508da2-721b-419f-825b-1c4796659057', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthConnection', 'module', 90, 0),
('4dcd95b6-3a4a-4cfc-a875-86deb6f6c33a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Opportunities', 'module', 90, 0),
('4e2e2766-7305-450b-8980-620ef0d5fb91', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'InboundEmail', 'module', 90, 0),
('4e692d51-0463-4e0a-800f-bff37301f55e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Reports', 'module', 90, 0),
('4f08be00-37a9-43f1-9bbf-7d26e6c768fa', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EAPM', 'module', 89, 0),
('4f3e2c49-3f25-462f-8e4f-334b05d47327', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'InboundEmail', 'module', 90, 0),
('502d1c86-1fe5-4f8c-ab73-d47e07e219f8', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_WorkFlow', 'module', 90, 0),
('50bde706-b9e7-455c-84bf-e5314b4259d8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProspectLists', 'module', 90, 0),
('50ec7780-21ae-4e23-ae07-d57144f39bd2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_PDF_Templates', 'module', 90, 0),
('51185d30-5bcc-4865-aef6-3276daf41ba2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Updates', 'module', 90, 0),
('5137d5e7-8612-42e3-ade0-ba0bafda196f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Surveys', 'module', 90, 0),
('515d547f-26f7-4ba2-a0d7-96b5203cc42f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls_Reschedule', 'module', 90, 0),
('519bad53-2e7a-4fbe-9fca-9dc7397ebb3d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SecurityGroups', 'module', 90, 0),
('51abe042-74ba-4e42-bac4-6a1220e7a478', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Alerts', 'module', 90, 0),
('51b87a61-37c9-431e-b9fd-199a805c9d53', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionResponses', 'module', 90, 0),
('5248f25b-782b-4653-af68-82338157f083', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_Processed', 'module', 90, 0),
('52fbe95b-4083-4a68-8b7c-edc1120633f9', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Campaigns', 'module', 90, 0),
('53ee600a-2368-4769-a443-94f3f2ff9d92', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyResponses', 'module', 90, 0),
('53ffb281-3efd-414f-828d-252af6482882', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Scheduled_Reports', 'module', 90, 0),
('5409bbc1-c49b-4634-9e99-95213d8e321c', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Opportunities', 'module', 90, 0),
('5421b0bc-0c4c-4656-b0ad-0e675b9d34fe', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls', 'module', 89, 0),
('54d18c7a-e7c9-48da-b39d-fd49ba3d04cc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_events', 'module', 89, 0),
('5685dab9-d11a-4b40-952a-2cc0df67bba9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionResponses', 'module', 90, 0),
('56cff286-9c7c-4e52-8554-6101d50e4cc7', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Emails', 'module', 90, 0),
('57a904b2-43a7-4251-97d2-c05d9c5f16b8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Contracts', 'module', 90, 0),
('593788ca-9d81-4379-93f9-148b053e021c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_events', 'module', 90, 0),
('59fb7ea7-4fbb-46a5-8903-024b770d7d89', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Emails', 'module', 90, 0),
('5a275bfa-f31e-4548-9385-44247289ade4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls_Reschedule', 'module', 89, 0),
('5a7bc332-5a36-4b33-ae09-c62d62ab57a1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Project', 'module', 90, 0),
('5b6a33f8-be32-4e1a-867b-1ac4bbc2274a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Cases', 'module', 90, 0),
('5c15fd06-920f-46a2-a5d6-53316f533090', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Users', 'module', 90, 0),
('5e326dc9-7531-4cc0-b35f-86b77cbc6c67', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Updates', 'module', 90, 0),
('5e425bd9-f79b-4508-9cda-a1fe94139c66', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Meetings', 'module', 90, 0),
('5f016c3b-6121-420d-aacb-d0818433cfc8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_WorkFlow', 'module', 90, 0),
('5f519cd3-4c17-4771-9df3-39eb42d5ec3f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Areas', 'module', 90, 0),
('634a2e2b-c329-41c0-87ff-365d9cc7c7fe', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Notes', 'module', 90, 0),
('640ad66e-cfe2-4e33-b8f6-bb57e72eb1a9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Surveys', 'module', 90, 0),
('641b559f-334d-4f90-b64c-90aef3fb81af', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Users', 'module', 90, 0),
('642c7f4a-8c8a-4837-bd7f-c78c7697c6dc', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Quotes', 'module', 90, 0),
('65167806-f0cf-4d48-ad1a-ce2bcba70a3f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls_Reschedule', 'module', 90, 0),
('669a4bf8-8fa5-4171-bd1d-ed90f571fc30', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Quotes', 'module', 90, 0),
('669bf7a1-df5a-4058-aae8-8b13831c3f89', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Documents', 'module', 90, 0),
('66d09c71-7160-4c35-81a5-3d5c1a55c439', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Markers', 'module', 90, 0),
('6742c19b-0cde-4cf2-9848-7302b169e7fd', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Product_Categories', 'module', 90, 0),
('676d70dc-6d21-4f5d-97a5-ee3470b36376', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Markers', 'module', 90, 0),
('676e743b-ce91-4f60-8d00-a961d8ee5eaf', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Meetings', 'module', 89, 0),
('67a00be2-7d25-4e43-a8e5-802fdbf3dcc3', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Address_Cache', 'module', 90, 0),
('6b064d2c-61ec-4e2b-af4a-154b86442fa8', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Accounts', 'module', 90, 0),
('6bce480a-8d53-4374-9015-ac853b442356', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'TemplateSectionLine', 'module', 90, 0),
('6bec0130-97b0-4558-8ec8-b8f286bd9cdd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SecurityGroups', 'module', 90, 0),
('6c31aa33-ef39-435d-b053-9c4f20441873', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Quotes', 'module', 90, 0),
('6c32ec89-bcaa-4e69-b9f1-17a5a02894c3', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Areas', 'module', 90, 0),
('6d457ccc-c2c1-4ba9-8a2d-dddf673c680d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionResponses', 'module', 90, 0),
('6d91275a-0cdd-41f9-b243-48c4fd4182d2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_KnowledgeBase', 'module', 90, 0),
('6dba41ae-389c-4b2e-8212-7566c8e23755', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'MediaObjects', 'module', 90, 0),
('6e06b831-c311-4236-ac95-43135fa09c49', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_PDF_Templates', 'module', 90, 0),
('6eac2b9c-8a8a-44cf-a932-6d60a4b24cf5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailMarketing', 'module', 89, 0),
('6f75dd36-fff7-4fe5-bfd5-5b6fb8d14a2a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Cases', 'module', 90, 0),
('6ff73dee-af21-427c-8342-81f795f50b83', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Prospects', 'module', 90, 0),
('70364278-cd51-4969-8cbe-2758f931a78e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'MediaObjects', 'module', 89, 0),
('70727c10-c0f6-4b13-9551-a9e6d4f2de68', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Prospects', 'module', 89, 0),
('7185e274-7269-4527-af72-924ae7aeb2b7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Address_Cache', 'module', 90, 0),
('71d1db2a-28e6-4cff-8cb4-c399254659a0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Opportunities', 'module', 89, 0),
('72bb473f-1da4-4c77-bfb9-6ba3979cecde', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionResponses', 'module', 90, 0),
('72f00c8d-4747-4a91-83da-a16e8ffb345e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailTemplates', 'module', 90, 0),
('7311c0fc-0d04-4cbb-8e2e-7478279ea4ee', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls_Reschedule', 'module', 90, 0),
('73182784-616c-4e29-bb17-5560ea6297af', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls', 'module', 90, 0),
('7483c82b-0154-4c0e-bb06-ee696a9e3d07', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Events', 'module', 90, 0),
('75d36f04-7ea8-44f1-bcce-8194e897cfae', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Maps', 'module', 90, 0),
('76251b7b-149b-4738-83dc-5ad89f736af6', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Updates', 'module', 90, 0),
('7626f6b6-f25e-40fb-a915-dd61b650377d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Products', 'module', 90, 0),
('77356838-ca30-4428-a2c2-f1b24754045c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Accounts', 'module', 90, 0),
('77b3d4f9-12e9-4312-be83-5fbc091e0f72', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Project', 'module', 90, 0),
('77dfe7fe-10ca-4ee0-9d29-bcc85130ec62', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProjectTask', 'module', 90, 0),
('77eb5800-a66f-429a-8e4a-ba4dc68da8e4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Tasks', 'module', 90, 0),
('786ee4a2-8a29-41c6-9fd3-6de145d685d2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Tasks', 'module', 90, 0),
('7951c98d-6220-4640-b3f8-77eb06059f05', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestions', 'module', 90, 0),
('79972983-53f7-454b-b7e4-ce9c71d3394a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_events', 'module', 90, 0),
('7a27dae3-4858-4fd4-9a19-5563f7c60c00', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProjectTask', 'module', 89, 0),
('7a56a4fd-9bff-4b72-a917-bb1b57a6a9c7', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Areas', 'module', 90, 0),
('7a7e26bf-bd46-438b-b3ed-e5a0f6384d9b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_Event_Locations', 'module', 90, 0),
('7aa04d6b-a681-46a2-9153-ccd29b76e04a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Bugs', 'module', 90, 0),
('7b49d590-56c3-4085-8a6b-56300cf5c8f1', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Alerts', 'module', 90, 0),
('7b7bc76d-824b-4642-9ad8-cf60b12d6699', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EAPM', 'module', 90, 0),
('7bac0ade-dbff-44a5-b671-4b6e841be806', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionOptions', 'module', 90, 0),
('7c44e76e-c120-4faf-96ae-c82745990ae2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthProvider', 'module', 90, 0),
('7c9bb152-d466-4615-ad21-a0dace997688', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailMarketing', 'module', 90, 0),
('8036b013-fb8a-4e57-b78e-5cb9dd0f7ad6', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Alerts', 'module', 89, 0),
('804f144b-4b4e-4116-96e1-442d99be9a44', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProjectTask', 'module', 90, 0),
('82079628-e137-4058-96a8-46cb322c3d07', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SecurityGroups', 'module', 90, 0),
('825796a0-3574-4030-a880-a32cc0872c20', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('834ba76e-4cdf-44ab-becf-5aff78f88f6b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProspectLists', 'module', 90, 0),
('834dded7-2ed2-495a-8092-bdce1ffe1dd6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_Processed', 'module', 90, 0),
('83b9f5ff-906a-4b7d-9d97-59242a036136', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Product_Categories', 'module', 90, 0),
('85857ac9-fb25-4f72-ac56-d2b9a97c371a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Address_Cache', 'module', 89, 0),
('859dc0b8-6439-4c51-818e-b3a34014c0e7', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_ProjectTemplates', 'module', 89, 0),
('868e01a4-2666-4178-ae5c-3a3d759732c5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Products', 'module', 90, 0),
('8714c1ac-34fc-4ea9-a449-cb587fddd19c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Prospects', 'module', 90, 0),
('87321727-3127-4ae8-908a-ddf8850944d3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'InboundEmail', 'module', 90, 0),
('873d9f94-82a7-4b4b-8275-7acecce60894', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Leads', 'module', 90, 0),
('87a799ae-df6b-4c6c-84c4-eb46ddc7e254', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Reports', 'module', 90, 0),
('88243cd1-1507-4cb7-88ac-b27b538a0130', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'MediaObjects', 'module', 90, 0),
('8a51eece-c986-4abd-89d3-2112a105f7d4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_KnowledgeBase', 'module', 90, 0),
('8a5b7371-2828-42b7-a539-94fe43e67608', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_KnowledgeBase', 'module', 90, 0),
('8a7c8183-804b-4216-a3af-8ead3eefe520', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Leads', 'module', 90, 0),
('8b916b07-da40-42d1-b29f-c48990aa6797', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Updates', 'module', 90, 0),
('8bc6103c-fec0-4baf-90f2-96b8636f2cba', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_KnowledgeBase', 'module', 89, 0),
('8bcaf0e1-1661-41f5-b977-f2272b9d3821', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Documents', 'module', 90, 0),
('8cdd88b8-62f7-4b27-9309-bcaa3af3a04d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Notes', 'module', 90, 0),
('8d08e9de-7da3-4659-9c9d-5b1d8ec52979', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_TaskTemplates', 'module', 90, 0),
('8da4d008-0e59-4d0d-a74b-884e0aef8add', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_PDF_Templates', 'module', 90, 0),
('8e06f02c-1ea9-4e72-b59f-dfc2237edc45', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_Processed', 'module', 89, 0),
('8e76c058-0691-4914-83e9-c09d27c5bb6c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Maps', 'module', 90, 0),
('8e7f87a7-04c1-4650-80d0-f2a7d4acf3cf', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_events', 'module', 90, 0),
('8f041f2e-26a6-4c77-a20b-9d81ccdcb52c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Address_Cache', 'module', 90, 0),
('8f367929-6020-44fb-b31a-ed4dd1e1a510', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Events', 'module', 90, 0),
('904189a3-34f6-4c2e-a3a2-79d5c13122bc', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Product_Categories', 'module', 90, 0),
('912b8716-76da-4f36-951e-ec79a1d27f92', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Maps', 'module', 90, 0),
('91ea64eb-c161-470a-a858-491aff8262d0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Meetings', 'module', 90, 0),
('920d8538-cc9a-45ba-8d9c-ec59c34bff7d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthProvider', 'module', 90, 0),
('921e951c-569c-4f14-9169-bef5110e5331', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_PDF_Templates', 'module', 90, 0),
('9260e2ff-a0c9-4236-adf9-2a524927de79', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_events', 'module', 90, 0),
('9371ca1e-88d4-42a9-94b1-23e3400f552c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Maps', 'module', 90, 0),
('9517cf3c-f8af-4e5d-a3a3-005d43ddc5ec', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Prospects', 'module', 90, 0),
('959961f9-e24b-4f95-8417-0aac78149ca0', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthConnection', 'module', 90, 0),
('95b61efc-a695-4100-a97f-9225fe506e0d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Contacts', 'module', 90, 0),
('95e4c4db-4f45-4110-8f62-b5114b347045', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Reports', 'module', 90, 0),
('960bf940-ae53-4be4-b0d6-04c107ff1bc4', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_KnowledgeBase', 'module', 90, 0),
('96408d2b-1fa4-4106-b745-5758ebcccf03', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'OutboundEmailAccounts', 'module', 90, 0),
('9673cfcc-8ac8-420c-8eb6-9a539dc6de77', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Product_Categories', 'module', 90, 0),
('96b8e8b2-5624-4c22-b98f-226a9b5e5254', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Leads', 'module', 89, 0),
('9742eb60-e7a7-4405-966c-ad4d60be25fb', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Bugs', 'module', 89, 0),
('98387b42-62c8-4eed-b12b-eaf2c6468367', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Quotes', 'module', 90, 0),
('985c79b6-767e-4469-9ae9-2fa4ff6d231a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestions', 'module', 90, 0),
('997e799f-f276-4957-b89e-277e4751b29b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Events', 'module', 90, 0),
('9a004130-88a6-4fba-a166-7e1a473156af', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Quotes', 'module', 89, 0),
('9a307368-213c-4fa5-a4dc-3a4bc372f533', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionResponses', 'module', 89, 0),
('9af4ab57-b628-4106-8232-1478c723d269', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Areas', 'module', 90, 0),
('9b24c1d1-c5d0-4841-aa28-2e13555a740e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Documents', 'module', 90, 0),
('9c439bb7-de91-495d-80d9-6da1eb168ac4', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Bugs', 'module', 90, 0),
('9ce8877a-3e5b-44db-ac68-875b7d48df78', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Product_Categories', 'module', 90, 0),
('9ce9e77a-8b7a-422c-9e06-2eab5f030bd4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Users', 'module', 90, 0),
('9d26dee3-93fd-4ccf-908a-550e37f18e4d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Reports', 'module', 90, 0),
('9d3494af-9486-41e2-b968-3b472b6c3cdb', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Markers', 'module', 90, 0),
('9db97e19-65bb-4c99-bdce-c5f94fd822ae', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_Event_Locations', 'module', 90, 0),
('9dd6878d-f330-42e5-b4f6-8c203e12093f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Invoices', 'module', 90, 0),
('9ddedc3e-8e3a-459c-87a7-125df580deb9', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Project', 'module', 89, 0),
('9e703e56-0efc-4473-b334-6fc430159de0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Contacts', 'module', 90, 0),
('9e78eaae-dd5f-4578-9076-f5c4f5f9cbae', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Updates', 'module', 90, 0),
('9f00715e-ca31-446f-9739-d760ce0134da', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Notes', 'module', 89, 0),
('9f0f4cce-cacc-4d3c-b01e-c3ae60ecf6d2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Bugs', 'module', 90, 0),
('9f81ceca-b563-4706-aa87-61056fb92563', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailTemplates', 'module', 90, 0),
('9f9d5328-f3c4-456f-b1a4-002af9fd88ba', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Notes', 'module', 90, 0),
('9f9deba2-b8f5-4203-bb9f-d3bdec007611', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Opportunities', 'module', 90, 0),
('a091a072-a5f0-4684-9669-5776d271514e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_PDF_Templates', 'module', 90, 0),
('a0ca08fd-bf85-4e8a-b22e-f1ab5a57f574', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestions', 'module', 90, 0),
('a16b5929-23cb-4c31-ac9e-ba3b4120f851', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Invoices', 'module', 90, 0),
('a16ea0ff-97b1-4ed6-8872-ba4bf9b35e64', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailTemplates', 'module', 90, 0),
('a34d01dd-9e6a-4982-a5c7-adc2f917e7c8', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Quotes', 'module', 90, 0),
('a3d45c99-f90b-44b4-ac85-50c35dcf69b3', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Campaigns', 'module', 90, 0),
('a4278fbe-0954-41da-847a-951588859d96', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailTemplates', 'module', 90, 0),
('a524e08a-aefa-47c3-853d-9131dc3b8089', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Invoices', 'module', 90, 0),
('a5a244c1-c489-46df-98f0-a48621875f0f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Contracts', 'module', 90, 0),
('a5ec738e-fdb4-439b-8d06-a429d7b5ec9f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_ProjectTemplates', 'module', 90, 0),
('a65ff6a5-3011-4783-bd94-6b75a109942b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_KnowledgeBase', 'module', 90, 0),
('a665cdd6-ca70-418d-a0ac-a1b917566613', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Products', 'module', 90, 0),
('a7975103-8485-4ff8-b1d4-1ca0f3e3fc68', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Scheduled_Reports', 'module', 90, 0),
('a7bbdefc-35bb-4e4a-b715-01ccfbf1d79f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Areas', 'module', 90, 0),
('a879cc0f-0d53-442a-a233-fb966cdf4c0e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestions', 'module', 89, 0),
('a8d7ba08-2c50-4001-a999-c91a11b61d69', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionResponses', 'module', 90, 0),
('a8e97ec3-b9da-4693-af5a-70296259acf6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionOptions', 'module', 90, 0),
('a8f5e2f4-9146-46f2-9ca9-00d3f8381d2d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Emails', 'module', 90, 0),
('ab982744-a3be-4fa8-a2c5-6883d9686531', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Campaigns', 'module', 90, 0),
('abcda01c-5c41-4950-b570-4f019fb46bac', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EAPM', 'module', 90, 0),
('ad0f87b1-a67e-41ca-abce-6bfbbe06b90c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_WorkFlow', 'module', 90, 0),
('adf8bcbc-3e6b-47f7-b613-37d070405fd8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Bugs', 'module', 90, 0),
('ae3e6fec-99c9-4882-aad9-3087758eb585', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_TaskTemplates', 'module', 90, 0),
('ae85ecd4-119b-4974-a694-9dcac12f6c45', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailMarketing', 'module', 90, 0),
('aee5c90a-1c02-4e5c-8eba-c59ddc168f4a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Cases', 'module', 90, 0),
('aeed04a6-4ed0-4fc5-b7db-212a705d84ef', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_WorkFlow', 'module', 90, 0),
('aef7104d-5901-49df-97ea-d70581106c41', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'OutboundEmailAccounts', 'module', 90, 0),
('aff18ce7-7905-4b33-960a-2943f5f8b9e3', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailMarketing', 'module', 90, 0),
('b006f487-79b0-473c-8322-3400480aead3', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Maps', 'module', 90, 0),
('b0133cb5-4375-46a5-8907-3f9f9fb0a374', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Reports', 'module', 89, 0),
('b0649563-0a30-4ae7-a629-2ce4bf9c9f8e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_Event_Locations', 'module', 90, 0),
('b0a8ffd4-2c69-4558-8e91-669b0a2edee4', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Alerts', 'module', 90, 0),
('b0be4888-f239-4192-a482-c8573cff0195', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Surveys', 'module', 90, 0),
('b212b7bc-15e5-4a04-8151-13def94aa198', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'InboundEmail', 'module', 90, 0),
('b24a1cdb-8c86-4bde-9ff4-ea9960fa16c7', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProspectLists', 'module', 90, 0),
('b2d22581-aec0-4177-ad70-bffe001bf835', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestions', 'module', 90, 0),
('b3c2cf23-1e98-47f6-8c41-951b5f4ac641', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Meetings', 'module', 90, 0),
('b3d58bcf-f892-4e98-ab1d-b803da825778', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'OutboundEmailAccounts', 'module', 90, 0),
('b413ec85-9292-4f22-907c-2ee74b702a06', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Scheduled_Reports', 'module', 90, 0),
('b4f19d8c-d1f0-4137-8dc1-9771043ec214', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Bugs', 'module', 90, 0),
('b5254b90-6e15-4869-9c88-b40c7bc34087', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Products', 'module', 89, 0),
('b5262f18-6986-438a-aaa1-62ec96ce7001', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyResponses', 'module', 89, 0),
('b5626024-c23b-4d3a-b40c-2c3c4135a275', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Opportunities', 'module', 90, 0),
('b56fd4bb-a9c5-455c-a30b-f567514bc980', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_PDF_Templates', 'module', 90, 0),
('b5ced1db-50bd-4cf2-a402-ad3464ffe2df', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Accounts', 'module', 90, 0),
('b74ed734-f20c-428b-944c-bd43482b7659', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_Processed', 'module', 90, 0),
('b7c301ae-36e7-4835-a072-14ef848b06d4', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls', 'module', 90, 0),
('b80484a2-5e62-418f-8ec2-12b397b327dc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Users', 'module', 89, 0),
('b8ced799-1ea6-49b8-9702-2082020bb134', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProjectTask', 'module', 90, 0),
('b8d466a5-75ae-4cf3-900b-75e61f43fcbe', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Emails', 'module', 89, 0),
('b98cb9e7-bb06-407a-8db7-a6d89b4b24bc', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Events', 'module', 90, 0),
('b98f0049-e707-47e5-bf1a-79c579a8dfce', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Alerts', 'module', 90, 0),
('b9dc62b5-0abf-4c58-8f68-476a6bd68e47', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Scheduled_Reports', 'module', 89, 0),
('ba068958-80b1-49bc-bd9a-581eb3fcfd9c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Leads', 'module', 90, 0),
('ba5fe0ae-1b7c-4bc8-97d2-dc0a3e74b18a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Tasks', 'module', 90, 0),
('baa5d53c-d7db-42b9-a5e3-75d15c64b543', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Contacts', 'module', 90, 0),
('bac42abd-5463-4543-8cf5-079fc94389fb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_ProjectTemplates', 'module', 90, 0),
('bae16ecb-70b1-4288-89dd-22424fd48a1a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Products', 'module', 90, 0),
('bbdb0f51-e34a-4a2e-a2ec-da8ec0e0daf6', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_PDF_Templates', 'module', 90, 0),
('bd02d875-acb5-4800-b26e-4a2d2e6eb876', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('bd55fea0-b588-43c9-8e4b-84f46264ef7a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Areas', 'module', 89, 0),
('bd6371b6-3b9a-4a3b-b497-a7333d7373da', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('bd662997-3801-4b76-a55c-aaa9e5e24227', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Scheduled_Reports', 'module', 90, 0),
('be96016a-59b0-4a1e-8b6b-f40b7c61e2ed', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Areas', 'module', 90, 0),
('bf631761-d7b9-478c-9722-c1763e23c55a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Project', 'module', 90, 0),
('bfa10a91-502d-410a-8bd3-3c0ec8f2cf17', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Tasks', 'module', 90, 0),
('c034c9d1-7d96-427e-8232-ab584d278477', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Contracts', 'module', 90, 0),
('c1768e7a-b9b3-4110-8733-717b6957bad1', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Tasks', 'module', 89, 0),
('c194086b-179b-47c3-b1ff-9092fc3cb05e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Events', 'module', 90, 0),
('c19677af-ae54-47f1-837a-f1adc17915d1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Prospects', 'module', 90, 0),
('c1dec55a-942a-4f38-98bc-52382785d8b0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Markers', 'module', 90, 0),
('c2dac3ab-6288-49c3-ae10-d80256c77d4d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthProvider', 'module', 90, 0),
('c32efded-d52a-4acb-ad3e-dacb809b1a1a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Users', 'module', 90, 0),
('c3e44b47-49e2-4b79-92cd-3606a2461f90', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionOptions', 'module', 90, 0),
('c456c7eb-1333-4487-8799-f79c3ac25935', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthConnection', 'module', 90, 0),
('c4907b04-ccbf-4b77-b1c8-eb980e4fa4e8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionOptions', 'module', 90, 0),
('c5add61c-12d9-4afd-824f-e27eb4a014c8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_Processed', 'module', 90, 0),
('c656b852-65b0-4789-a0dd-235c2cc6fd7f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Project', 'module', 90, 0),
('c6de4a0e-4474-4ddf-a1bd-82cd5a5a3ff6', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Contacts', 'module', 90, 0),
('c7b0dc9c-0a42-4bff-a62f-867cf545bead', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionOptions', 'module', 90, 0),
('c7e8fa72-40c2-47c0-9f0a-7236ee437878', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('c9087b07-7eef-499d-98c0-43e0ca5a7ece', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Address_Cache', 'module', 90, 0);
INSERT INTO `acl_actions` VALUES
('c90a4843-2a8d-4eb7-bbf2-f2a2ac0cdc5e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Users', 'module', 90, 0),
('c9269ff6-8e28-4f72-9145-fef7b5f647f0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Accounts', 'module', 89, 0),
('ca6052fd-46c4-4a6e-bc6d-b4070e530bb0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_Knowledge_Base_Categories', 'module', 89, 0),
('cb7fc2c2-a495-4eb2-915a-b32ca4696e98', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Events', 'module', 89, 0),
('cc8122eb-e383-4e61-b0e6-200128a9808f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Emails', 'module', 90, 0),
('cc858d20-d21e-4939-8c18-191f183f7d25', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Areas', 'module', 90, 0),
('cd772ed3-33a7-4f26-b53c-10ec2a7aebfe', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Notes', 'module', 90, 0),
('cd83927b-4f1a-4acf-903d-82706a47566b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Reports', 'module', 90, 0),
('ce9a3e0d-ca40-4a44-abb8-81c5afd6ea79', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'TemplateSectionLine', 'module', 90, 0),
('cef07e93-8bfe-4245-bd04-a57a54450383', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Maps', 'module', 90, 0),
('cf10c844-8b34-4bd2-b7ae-3cb32ae47a2c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Updates', 'module', 90, 0),
('d04bfc7a-993c-486e-9ef9-5e097c6aaff7', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Leads', 'module', 90, 0),
('d08df5ed-c8f0-47ce-8249-67f5d46aba71', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Documents', 'module', 90, 0),
('d1796350-2714-4e62-ab27-3d05981b2f92', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_Event_Locations', 'module', 90, 0),
('d2229429-006e-4329-a781-dfc9141df73c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Updates', 'module', 89, 0),
('d22e9900-5980-4cff-842e-82de9ec1f6c2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Quotes', 'module', 90, 0),
('d2b744a3-954d-48f7-b1c5-52a04e269fbb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Prospects', 'module', 90, 0),
('d2d17fe2-d953-4453-aee7-8327dd3ecbc2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'InboundEmail', 'module', 90, 0),
('d3b5bd9b-7bde-401d-85e6-c5f96c1ccf09', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'OutboundEmailAccounts', 'module', 90, 0),
('d40db094-441a-40e8-baf4-4ee27e1e479c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls', 'module', 90, 0),
('d467a202-7fae-43f9-bb2b-140c51b2ab9f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'InboundEmail', 'module', 90, 0),
('d46f88b0-cbee-4ce9-a6f9-a8db41c871f5', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Products', 'module', 90, 0),
('d492805f-f9f6-46f2-b8fc-9e724a4e65bb', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_TaskTemplates', 'module', 90, 0),
('d5c71e2b-5449-4572-9b52-f9fd27cf2b24', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailTemplates', 'module', 89, 0),
('d75daec2-009f-465a-9178-c5ea6d1dffd9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_KnowledgeBase', 'module', 90, 0),
('d7b38d0e-d56d-475c-92e6-d88fa5b7585f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestions', 'module', 90, 0),
('d9052e17-07e5-4b68-abe7-d6defacff7df', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Invoices', 'module', 89, 0),
('d9571d6c-119c-4c3b-951e-7e39e586fa25', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProjectTask', 'module', 90, 0),
('d9796045-a973-43e2-9f90-d447c004d9de', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_WorkFlow', 'module', 90, 0),
('d9ebcfce-e2e5-4099-997b-ed74723315c8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'OutboundEmailAccounts', 'module', 90, 0),
('da187760-6b00-483a-834a-5b24c4c3216b', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SecurityGroups', 'module', 90, 0),
('dafd4065-016b-4841-ba74-a242cf90c0ba', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_TaskTemplates', 'module', 90, 0),
('dba2db99-53a3-4152-b54b-32a0ce32f4ff', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Documents', 'module', 90, 0),
('dc35e441-45a4-4fe0-b846-3fbddc48fcee', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthProvider', 'module', 90, 0),
('de3b3879-5314-4162-b564-bcacce8a87bf', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Campaigns', 'module', 90, 0),
('de8719f1-68e4-4fbf-a94b-9852093ba833', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Alerts', 'module', 90, 0),
('de9117e0-a87c-4ed2-8ecc-0f415f5cb543', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Updates', 'module', 90, 0),
('de9c1b2a-d8e7-41ff-a13c-84e0b7ec93dd', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Contracts', 'module', 90, 0),
('dea67b03-2e36-4baa-b19b-a2b483124bee', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Maps', 'module', 90, 0),
('e0e21daa-a566-42e6-b0e7-80acf2d656e1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Campaigns', 'module', 90, 0),
('e0e33bd5-a50c-47a4-89ca-b668117c415a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'OutboundEmailAccounts', 'module', 90, 0),
('e1399b9c-4aff-4085-b4f5-3fe396148940', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Address_Cache', 'module', 90, 0),
('e19996ea-6e62-4c30-9b51-d383c883ffa2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Cases', 'module', 90, 0),
('e1f2e14f-65a5-43e1-b053-8f55bc510e9a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Markers', 'module', 90, 0),
('e216846e-70c4-41b5-9325-b49874bc85c1', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Surveys', 'module', 90, 0),
('e2a234cb-c458-4170-8cba-baef72ffd999', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('e2a7f487-832e-4da0-9c7f-41099df607de', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthProvider', 'module', 90, 0),
('e473377d-f445-451d-829d-c5ac1cdfe335', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Accounts', 'module', 90, 0),
('e4a04ee8-7dc1-4de2-9ef1-24a01a619d53', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProspectLists', 'module', 90, 0),
('e4c54b5c-a7fc-4540-89cb-2305e04f3d2f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProjectTask', 'module', 90, 0),
('e4cbb3e0-d719-47fb-be19-f1180002fe42', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_Processed', 'module', 90, 0),
('e4dfb1bd-852d-48c9-a328-7f4342ab097f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Scheduled_Reports', 'module', 90, 0),
('e50b41d5-a1cb-4527-bc96-a00ed2f08a09', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Address_Cache', 'module', 90, 0),
('e66d3271-b9d5-4cec-9b70-1ac8dc8693da', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Project', 'module', 90, 0),
('e7ec981b-a0dd-4ad4-ad49-849fc45040f7', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Contacts', 'module', 90, 0),
('e83f023e-7ab6-4938-9025-8ba832b06298', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_WorkFlow', 'module', 90, 0),
('e844a0f8-24ae-46a7-ad07-d6a3d0ad8fee', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'OutboundEmailAccounts', 'module', 90, 0),
('e991a490-4069-41b4-8123-20f01a61f78b', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Scheduled_Reports', 'module', 90, 0),
('e9f3fbd7-ddc4-4dc5-8760-c2d4bc614180', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'TemplateSectionLine', 'module', 89, 0),
('e9fac4c3-0a0a-4668-a602-d2ce7165284f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'InboundEmail', 'module', 89, 0),
('ea062dc3-ad0f-4397-9929-d5a683d9ce72', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Leads', 'module', 90, 0),
('ea867f3f-eaec-4c2c-9bc5-1423844ec2da', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Prospects', 'module', 90, 0),
('ebb1ba58-3ad9-4d06-9d9c-69a99397b057', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_Event_Locations', 'module', 90, 0),
('ec554c43-0e18-496f-bff4-3d977d201c01', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'MediaObjects', 'module', 90, 0),
('ecf6bad7-14ab-4532-ab3e-0d47a1e1f40b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Tasks', 'module', 90, 0),
('ed22f555-2129-4753-8887-07bc2bef3745', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls_Reschedule', 'module', 90, 0),
('ee79ce94-2303-4375-848f-df163d7262a3', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls_Reschedule', 'module', 90, 0),
('ef425fd6-fb29-4bde-acdc-adc2cc1e3f8d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Bugs', 'module', 90, 0),
('ef5bd6ea-2060-4cfb-a37d-b3648f882139', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Events', 'module', 90, 0),
('efda02e2-d188-407b-8b1f-858728ef9dda', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProjectTask', 'module', 90, 0),
('f17d8765-9fa8-465c-a388-1485585f55eb', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProspectLists', 'module', 90, 0),
('f1d7f8ce-a97f-4cd5-a38b-244a083acb0b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailMarketing', 'module', 90, 0),
('f27a3886-0207-4852-91f8-0844ff62e797', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Invoices', 'module', 90, 0),
('f2f65635-35ba-4daa-8f7f-b760b1044f3c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Contracts', 'module', 90, 0),
('f363a833-94f6-4d20-a43d-70174be418a9', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SecurityGroups', 'module', 90, 0),
('f4d516f3-2624-4734-9a58-93f395350932', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_Processed', 'module', 90, 0),
('f57c0f7e-6e20-41df-a393-aed74a7a52bb', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EAPM', 'module', 90, 0),
('f63d6754-1787-4f03-bf9a-753d439d37de', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_ProjectTemplates', 'module', 90, 0),
('f69b8f3b-04a7-41f6-9b45-9f3ed9e47c97', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Markers', 'module', 90, 0),
('f7b85f78-33ad-4e80-845f-dd5a920e36c9', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthProvider', 'module', 89, 0),
('f8256660-0f52-4a34-acb1-d822b45904e6', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SecurityGroups', 'module', 90, 0),
('f8c73b5a-2f5f-4074-b49a-94e68f28f7eb', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Maps', 'module', 89, 0),
('f8f81855-af9a-4476-8678-a0ce033262d7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Emails', 'module', 90, 0),
('f9d12d4e-7eef-40c5-afea-5fc8df92990c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Cases', 'module', 90, 0),
('f9d49adf-d848-40cc-991a-db9aa6d23d51', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Invoices', 'module', 90, 0),
('fa772338-62fc-4f3a-b28f-d678453ad1c4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProspectLists', 'module', 89, 0),
('fb1eb9f8-6fc8-49e5-8c12-a419185180fa', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls_Reschedule', 'module', 90, 0),
('fbdd61b4-bc62-4857-9a11-a08b3ddb48e9', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthConnection', 'module', 90, 0),
('fccea831-1b29-48e7-a66e-b247d69b3a0d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Notes', 'module', 90, 0),
('fd9c8088-0e7d-4894-93b0-8baee75413fd', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailTemplates', 'module', 90, 0),
('fe10be45-63f0-4442-95cd-2ed727722f5e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'MediaObjects', 'module', 90, 0),
('fe5c6f31-7d76-4373-8b35-5e0f635732d7', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_TaskTemplates', 'module', 90, 0),
('ff3d3ee1-1f74-4a61-ad47-c75e6abe4be5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionOptions', 'module', 89, 0),
('ffdaa19a-fa64-4995-bf73-11d816b3705b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'TemplateSectionLine', 'module', 90, 0),
('ffdbc2d7-59c5-47dc-9fcb-b3ad93c154f0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Surveys', '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,
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` varchar(255) DEFAULT NULL,
`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` varchar(255) DEFAULT NULL,
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 `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` varchar(255) DEFAULT NULL,
`fixed_in_release` varchar(255) 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 `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'),
('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');
-- --------------------------------------------------------
--
-- 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 NULL,
`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,
`filename` varchar(255) 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,
`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`)
) 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',
`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_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
('[[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'),
('[[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'),
('45d82595-35b1-4f88-8e36-4277789ed24a', '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'),
('[[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'),
('[[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'),
('[[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'),
('[[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'),
('[[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'),
('[[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'),
('[[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');
-- --------------------------------------------------------
--
-- 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,
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`)
) 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,
`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,
`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 `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 `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 `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
('ba36cfae-bde3-41ae-8e98-c62e3c929c6f', '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 `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`),
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`),
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`),
KEY `idx_cam_id` (`campaign_id`),
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
('002832a0-ecbb-4da2-8465-01998f3f73d5', 'emails_leads_rel', 'Emails', 'emails', 'id', 'Leads', 'leads', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Leads', 0, 0),
('006c2b67-8249-40bb-b0f5-5708c3bc1f85', 'am_tasktemplates_assigned_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('00a1c5f0-3b7e-4994-afcb-6a0566056980', '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),
('0257a79e-3e19-4f91-92b1-2bb563fbd9f1', '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),
('026e1800-2d04-4d9e-bb13-b2826ad9a7e0', 'prospects_assigned_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0298c44a-4024-4d16-b04b-c857ae1835fe', 'tasks_notes', 'Tasks', 'tasks', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0353df1c-7c77-48b6-aa4b-b4206b08f349', 'campaigns_created_by', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0379f6e1-c051-4ecc-bcba-233f1b2d5cbe', '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),
('051206cd-80b9-4f87-91aa-c7f8cfddf283', 'surveys_created_by', 'Users', 'users', 'id', 'Surveys', 'surveys', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('063f9557-3451-44a4-ae04-2129eee5ccdc', 'externaloauthconnection_modified_user', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('06798c60-7dcb-498d-af43-de08f6668fb9', 'accounts_assigned_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('06befb6f-2726-41e1-a31b-50e43fd23e6a', 'bug_emails', 'Bugs', 'bugs', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('072c0cde-dc03-49e2-9aa6-ee48ab7de0ff', '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),
('073c3015-f1fd-4cdf-81b6-1857162a5e1d', 'aos_contracts_meetings', 'AOS_Contracts', 'aos_contracts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('077025c8-ae6d-41dd-aa47-eb94016aebb4', 'securitygroups_meetings', 'SecurityGroups', 'securitygroups', 'id', 'Meetings', 'meetings', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Meetings', 0, 0),
('07c1ffa3-9a67-4109-bb37-02af254c67e1', 'securitygroups_notes', 'SecurityGroups', 'securitygroups', 'id', 'Notes', 'notes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Notes', 0, 0),
('07cc2bdf-fe7f-491b-a0ce-409cffaa7930', 'securitygroups_projecttask', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('07ea1371-5ae9-444e-9766-bd6753939976', 'aok_knowledgebase_assigned_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('086d8c8c-46d1-4d34-af08-1cf1c510b3e3', 'notes_created_by', 'Users', 'users', 'id', 'Notes', 'notes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('08d49adb-4a80-4a98-969a-3c2559542d7c', '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),
('09b8836c-bf47-4829-825c-d7662f566f5e', '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),
('09e9e4e8-37a9-43b5-ad08-ea7e09b72952', 'roles_users', 'Roles', 'roles', 'id', 'Users', 'users', 'id', 'roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('0aa2e26f-e29f-4aeb-81fb-48f3c8ed1a59', 'bug_calls', 'Bugs', 'bugs', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('0aa3b076-9593-48b1-9d56-28540c24fb52', 'contact_notes', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0abb0bed-dfe3-47a5-b7c9-26ad44e4a8a7', '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),
('0c10e11a-56b2-4b92-89bf-ecd2e570e51c', 'aor_fields_modified_user', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0c25cc2b-8933-4b92-8efe-27ce2e013264', 'projects_tasks', 'Project', 'project', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('0c824681-9a17-4a9c-aa23-18d7d9d6544f', 'contacts_bugs', 'Contacts', 'contacts', 'id', 'Bugs', 'bugs', 'id', 'contacts_bugs', 'contact_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('0d1cc3d0-508c-4ecc-a14b-39fd6e9deb93', 'securitygroups_bugs', 'SecurityGroups', 'securitygroups', 'id', 'Bugs', 'bugs', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Bugs', 0, 0),
('0f331862-903f-4efa-8b5e-994fe6244486', 'tasks_created_by', 'Users', 'users', 'id', 'Tasks', 'tasks', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('10042b08-a048-4c95-9d9b-66ab2d5a2d81', 'securitygroups_externaloauthprovider', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthProvider', 0, 0),
('10577296-4e30-47e3-aa2d-21c1e17d3c40', 'am_tasktemplates_created_by', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('109aff4e-412d-4b0a-9d69-e9a11d2c1406', '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),
('10dea805-0de9-4eee-bc1c-04e074f9c1b4', '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),
('112c8a3b-7306-4aec-b688-f3061a24cca0', 'reminders_invitees_assigned_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('112cf89d-5416-46a6-b1f5-7adb707ad828', 'contact_tasks', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1154f043-6ef2-4873-a138-f3fbd838ed08', 'surveys_surveyresponses', 'Surveys', 'surveys', 'id', 'SurveyResponses', 'surveyresponses', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('151898d5-495d-4bce-9836-6315e6aa9fe2', 'jjwg_Maps_meetings', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Meetings', 'meetings', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('17a1c5db-83ea-40fb-a9b7-696d7c484a0e', '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),
('182d1ae5-6212-4d1a-918e-925ae59877b9', '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),
('187f8a02-4022-4ef9-9dc9-daae595e62fe', 'emails_created_by', 'Users', 'users', 'id', 'Emails', 'emails', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('18cc4ab1-4cd8-4fbb-8737-719b439f4a30', '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),
('18cf59e1-2f5e-401e-9103-dc0dfd65121f', 'contact_aos_contracts', 'Contacts', 'contacts', 'id', 'AOS_Contracts', 'aos_contracts', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('196744d0-21ce-43b1-bd2e-aee59a4c19d9', '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),
('19fa426d-0823-40ea-ba54-af95ece6748e', '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),
('1af519e8-666d-493a-ab79-88f788310603', '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),
('1d0059d0-6c56-4a48-8171-df3f29b9a2ae', '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),
('1e8edfe3-fcd8-4195-8af5-d0ab39f32d8c', 'surveyquestionoptions_modified_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1eb8352f-7025-4920-a739-5092b4042b2f', 'opportunity_aos_quotes', 'Opportunities', 'opportunities', 'id', 'AOS_Quotes', 'aos_quotes', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1f923fad-1256-442d-b9f5-0f26c4bad5fa', 'aos_contracts_tasks', 'AOS_Contracts', 'aos_contracts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('20e0775c-f6eb-4db5-a9f6-8ae3d02ee72c', 'member_accounts', 'Accounts', 'accounts', 'id', 'Accounts', 'accounts', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('211788b5-2b0e-4808-8302-0ee66c0a5917', '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),
('213aa4a1-e0fa-48b0-b9b7-089744bcb6d2', 'campaign_emailman', 'Campaigns', 'campaigns', 'id', 'EmailMan', 'emailman', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('217a2cf4-83e4-458f-a061-5bcb8729493a', 'meetings_notes', 'Meetings', 'meetings', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('21828306-a161-424f-bfdf-eeb50e670a24', 'calls_modified_user', 'Users', 'users', 'id', 'Calls', 'calls', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('21c75473-4eda-4cd6-9ae6-1806762cb282', 'account_aos_contracts', 'Accounts', 'accounts', 'id', 'AOS_Contracts', 'aos_contracts', 'contract_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('22b3dccc-fc7c-44a9-9088-5c2a4b03b38a', 'opportunities_campaign', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('22cb6777-284f-4d00-8ac0-037d4192d875', '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),
('22d64257-c5f9-4bda-a6a5-771ae51a39e2', 'aor_charts_created_by', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('238f4f1c-23c5-4be5-b391-0c31532bd96f', 'am_projecttemplates_modified_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('25038ae1-2f22-49af-9967-486f827b87b6', 'aor_reports_created_by', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2526e92b-eafb-4d0b-898f-28247666f2e4', 'case_tasks', 'Cases', 'cases', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('25795ee4-f814-4a11-b1fc-08f2cd32d369', 'contact_campaign_log', 'Contacts', 'contacts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Contacts', 0, 0),
('259b672f-d320-4a4e-b110-ecc1f4006b28', 'sugarfeed_modified_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('26a9897d-f4ff-491b-9340-dd0b2efc49c0', 'securitygroups_prospects', 'SecurityGroups', 'securitygroups', 'id', 'Prospects', 'prospects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Prospects', 0, 0),
('26ccc312-8a3f-4150-8181-d0fe0c85cd16', 'aow_workflow_assigned_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2798b5a6-9e55-4fbb-a41b-1880daf1b4a6', 'surveyquestions_surveyquestionoptions', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'survey_question_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('280ffa85-a545-4e1d-a284-eebad1406d17', 'emailman_assigned_user', 'Users', 'users', 'id', 'Emailman', 'emailman', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2847c0a3-bc77-45aa-80f0-f49bd43265ae', 'oauth2tokens_modified_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('28b19b12-d919-47e3-8ab3-0bcea52ac219', 'account_aos_invoices', 'Accounts', 'accounts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2923e378-481b-497c-9354-1d0657704187', 'meetings_contacts', 'Meetings', 'meetings', 'id', 'Contacts', 'contacts', 'id', 'meetings_contacts', 'meeting_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('29415e9f-9064-4188-b8af-d0f6c7af13c0', 'securitygroups_contacts', 'SecurityGroups', 'securitygroups', 'id', 'Contacts', 'contacts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Contacts', 0, 0),
('29b186f4-a8b9-49b8-8380-01a1a3191925', 'aos_contracts_assigned_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2a0b461a-5c08-478f-badc-1d4d55279604', '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),
('2a8538e3-1ae7-49b3-80da-37eedff5937e', '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),
('2acf9761-77eb-48f8-8fcb-687b41bcabf0', '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),
('2b1f3498-48b6-4ca4-a198-740656c9d92b', 'account_meetings', 'Accounts', 'accounts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('2b42f10e-d3e7-4094-9ffc-002ea3bd4a2d', 'revisions_created_by', 'Users', 'users', 'id', 'DocumentRevisions', 'document_revisions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2b4651ea-f97d-4d6e-b5d5-2ce4d923c1c9', 'oauth2tokens_created_by', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2c3a3c88-6edf-4775-a054-0ddecd7cfb7c', 'oauthkeys_assigned_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2d49c180-e144-4d22-b92f-890ebae7d905', '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),
('2d819abc-7cb0-468a-9b2e-2014e3b7e4fb', 'project_tasks_meetings', 'ProjectTask', 'project_task', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('2e1a1b46-2dd1-4134-a7b5-b0613e2a6d33', 'eapm_assigned_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2e4c6cf8-27fc-4f70-8981-d40ed4b7e865', 'aos_invoices_assigned_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2e4ec788-8809-431c-bf8e-47c3a52dd994', 'aos_products_modified_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2e51ad07-8ce1-4035-ae1a-402e94cbb91c', '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),
('2e9591f8-95f4-4b75-b5bd-2bd19db974ff', 'prospect_notes', 'Prospects', 'prospects', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('2f248a98-e880-4865-aee4-28ff765fe85c', 'contacts_modified_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2f772b3f-ddaa-409c-b4c2-261f2721e45b', 'accounts_bugs', 'Accounts', 'accounts', 'id', 'Bugs', 'bugs', 'id', 'accounts_bugs', 'account_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('2fa27e83-bdf3-42c8-af32-eb043f092b27', 'lead_notes', 'Leads', 'leads', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('2fdb0950-d9de-46a4-973f-2cb8d3c5696c', 'case_meetings', 'Cases', 'cases', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('3099bb83-973a-4404-86bd-bf0b9ec3699b', 'bug_tasks', 'Bugs', 'bugs', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('30e4c46e-8d1b-441a-905a-4a08375b7eb9', 'emails_assigned_user', 'Users', 'users', 'id', 'Emails', 'emails', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('31772194-1f85-4f1d-a3ee-0270e4614357', 'surveyquestions_created_by', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('31dc662c-d1e5-43c4-b040-f3545d6e3ecb', 'am_tasktemplates_modified_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3213f76e-dabf-4288-98b0-1c1d13a4c913', 'campaign_campaignlog', 'Campaigns', 'campaigns', 'id', 'CampaignLog', 'campaign_log', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('32448dd6-793a-49e0-b22c-a611cc95e9bf', 'opportunity_tasks', 'Opportunities', 'opportunities', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('33319b9c-e35d-46e9-bd38-36d33a5a68f6', 'jjwg_markers_modified_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('334105e2-24f9-4620-8e11-2fc5d16ea062', 'schedulers_jobs_rel', 'Schedulers', 'schedulers', 'id', 'SchedulersJobs', 'job_queue', 'scheduler_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('33b85aad-f8b0-4ec5-95e5-e43d80904f01', 'account_aos_quotes', 'Accounts', 'accounts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3460970f-2082-43aa-9ab8-38d57d9aa8f6', 'case_calls', 'Cases', 'cases', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('35c4fa35-3a8b-4bcb-87ed-9189f542b6ba', 'opportunity_leads', 'Opportunities', 'opportunities', 'id', 'Leads', 'leads', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('35e1b686-57e5-4153-b0f8-d52b89acaba4', 'document_revisions', 'Documents', 'documents', 'id', 'DocumentRevisions', 'document_revisions', 'document_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3654b138-55ed-4e70-a4a3-7c8cc9467926', 'securitygroups_accounts', 'SecurityGroups', 'securitygroups', 'id', 'Accounts', 'accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Accounts', 0, 0),
('36663621-ba7c-497a-9dd1-2c6504c6d53b', 'bugs_created_by', 'Users', 'users', 'id', 'Bugs', 'bugs', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('36e12756-0802-43f0-88de-13028bd8ac7f', 'calls_notes', 'Calls', 'calls', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Calls', 0, 0),
('371e282f-fe9e-494e-a97d-20cbbd311206', 'securitygroups_assigned_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('37f66fae-ffe4-4c46-8b22-f9324f6b29d3', '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),
('3905e52b-0f2c-4449-8170-6b544abd98e2', '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),
('39734c56-e1e1-4f7d-9f39-795d339c4886', 'campaignlog_sent_emails', 'CampaignLog', 'campaign_log', 'related_id', 'Emails', 'emails', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('39888091-9a29-4e2f-9396-31e054887144', '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),
('3a2aba6c-8273-424c-b46e-ac26b8c02a3a', 'bug_notes', 'Bugs', 'bugs', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('3a2c1736-15a3-4418-b5a8-ad3fa7100a4e', 'user_direct_reports', 'Users', 'users', 'id', 'Users', 'users', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3a4a2f38-95f9-4a4b-a7a2-a85c97302877', '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),
('3b3947c6-eb75-4e5f-8a5c-1a6bbaf09f42', 'securitygroups_documents', 'SecurityGroups', 'securitygroups', 'id', 'Documents', 'documents', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Documents', 0, 0),
('3b7276e4-c298-4935-9eb7-36522395be34', 'meetings_leads', 'Meetings', 'meetings', 'id', 'Leads', 'leads', 'id', 'meetings_leads', 'meeting_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('3bf43808-53bc-496c-8bdf-928c3ad3d9d6', '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),
('3c5b10d3-ffb9-4660-8cbf-32cee169532b', '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),
('3dbae0e4-92fd-43e8-a097-2535a0370e11', 'securitygroups_surveyquestionoptions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionOptions', 0, 0),
('3e82a741-6835-4ea0-a6a3-a81671576cd1', 'templatesectionline_modified_user', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3eac1017-9193-4a1b-bf8d-af05765ad6e0', '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),
('3ec1b17e-bb0b-4a67-9fe3-981c7f3bc9c7', 'aos_contracts_created_by', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('419f1864-a75c-4edb-ac1f-48e2557bccf3', 'emails_modified_user', 'Users', 'users', 'id', 'Emails', 'emails', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('41a27ce5-812a-4f5d-98d4-c2f756f27c0d', 'surveyresponses_contacts', 'Contacts', 'contacts', 'id', 'SurveyResponses', 'surveyresponses', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('41d3d826-fdf1-4d11-837b-a2e2f72bcb7b', 'aobh_businesshours_created_by', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('41e64c1a-e980-4e5c-9e35-5ae1c536a738', 'aow_conditions_modified_user', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4217b588-7720-497b-9392-6ec216510e24', 'documents_accounts', 'Documents', 'documents', 'id', 'Accounts', 'accounts', 'id', 'documents_accounts', 'document_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('43231192-edc3-4e07-b8cf-e7dde199dbac', 'surveyquestionoptions_surveyquestionresponses', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'surveyquestionoptions_surveyquestionresponses', 'surveyq72c7options_ida', 'surveyq10d4sponses_idb', 'many-to-many', NULL, NULL, 0, 0),
('434cf818-47b8-42fd-ae8a-03f3fadece86', 'am_projecttemplates_created_by', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('44e20bd5-e9c0-4394-82e9-1e3c018c4be9', '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),
('45dc4c22-ef3f-4ffb-9777-5103da93173a', 'prospect_tasks', 'Prospects', 'prospects', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('4624e9bb-0f00-4144-ae66-0adb9751f5a3', '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),
('46308a38-32c6-4f0f-a855-cab7cce2fff7', '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),
('4631ced2-d352-4131-8192-9a159c487c1b', '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),
('4674ac36-a699-4a97-8c64-64f3a7facb7d', '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),
('46d7a4d1-a3f4-411d-a660-cc1c798d68bd', '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),
('47a2b4f8-4d14-452e-9649-5b76f355d796', 'campaignlog_contact', 'CampaignLog', 'campaign_log', 'related_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('47fd9b12-1a1c-4941-9b3b-72a6307e9b43', 'surveys_modified_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('47fe1386-e4f7-4bfc-8b6c-739d88e955ad', 'case_emails', 'Cases', 'cases', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('482a4d42-7e43-40cd-8f15-91951ec8da76', 'email_marketing_survey', 'Surveys', 'surveys', 'id', 'EmailMarketing', 'email_marketing', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('483c3b3c-569c-44ea-bdd9-55a2d1345aa3', 'documents_modified_user', 'Users', 'users', 'id', 'Documents', 'documents', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('48906446-e961-4057-8a01-859b254b1b04', '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),
('48dfb6c6-c03b-48fc-85e1-ba399d844dd8', '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),
('49bb54c8-818d-405e-ab16-fe23f86634c5', 'securitygroups_emailmarketing', 'SecurityGroups', 'securitygroups', 'id', 'EmailMarketing', 'email_marketing', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailMarketing', 0, 0),
('4a15f7a0-1c4e-4b41-8c4a-89af040cbdb0', 'project_tasks_created_by', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4a1d7234-ef78-4752-a915-5ec20a860f33', 'fp_events_created_by', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4a540037-202b-4766-a451-e09d0d8ca831', '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),
('4a9b2c3a-ae0e-46c5-8349-2fc7a8808517', 'securitygroups_campaigns', 'SecurityGroups', 'securitygroups', 'id', 'Campaigns', 'campaigns', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Campaigns', 0, 0),
('4aff4bf2-ecef-479a-8f36-b6b580168b10', 'projects_calls', 'Project', 'project', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('4b06cd8f-6788-4529-b387-4eb46384ec5e', 'account_leads', 'Accounts', 'accounts', 'id', 'Leads', 'leads', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4b504d4b-a603-4da3-971a-f7c8340f4bf9', '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),
('4ce640bf-1ed2-4b59-9224-aea145cfdf53', '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),
('4dafaa65-c267-451b-b676-a8efcb35dc0a', 'bugs_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'found_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4e1b082c-b0dd-47c0-b154-75bf23120768', 'surveyresponses_assigned_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4e41070a-64e5-406b-8c93-769564e4c700', '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),
('4e4f45b0-ce3f-4351-be80-6c2d9d58efb4', 'meetings_modified_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4e58cb75-bd5e-4349-b699-fdd2c41ad02d', 'lead_tasks', 'Leads', 'leads', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('4fce21bb-c3d3-4611-bce1-5081ae66dc99', '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),
('501c0d0b-a06c-4308-9657-62d38706fe88', '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),
('5081a202-f4cf-4907-8b42-b1ddb87f32ec', '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),
('510ac2e4-e8a6-4457-b6fa-12f3f8cbf15f', 'emails_bugs_rel', 'Emails', 'emails', 'id', 'Bugs', 'bugs', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Bugs', 0, 0),
('514cbe24-8f64-40f9-9334-6aee99a9a4ca', 'reminders_created_by', 'Users', 'users', 'id', 'Reminders', 'reminders', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('517f44be-dc8f-4e1c-9320-aaa573a1b34c', 'projects_meetings', 'Project', 'project', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('5240430e-c96c-4507-9e27-186ed082e785', 'emailtemplates_assigned_user', 'Users', 'users', 'id', 'EmailTemplates', 'email_templates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('52bd0bcb-3fce-46cf-aaba-7e3e68545305', 'cases_bugs', 'Cases', 'cases', 'id', 'Bugs', 'bugs', 'id', 'cases_bugs', 'case_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('52c99824-4508-4533-a707-afdbc82da20d', 'projects_assigned_user', 'Users', 'users', 'id', 'Project', 'project', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('52ca6e82-1663-47b6-ade1-723918080887', 'sugarfeed_assigned_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('54442e8e-f76d-4cf1-9a6d-b6163e495d29', 'emails_cases_rel', 'Emails', 'emails', 'id', 'Cases', 'cases', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Cases', 0, 0),
('54b7cfa0-8663-42c4-8ebf-1a320258e3b2', 'projects_cases', 'Project', 'project', 'id', 'Cases', 'cases', 'id', 'projects_cases', 'project_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('55839242-5614-4f99-a672-a4b30b77516a', '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),
('559ccbef-0862-4a52-a5c6-e681fdefd364', '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),
('56c20984-e9f2-4540-ab22-16a9ddbc37fe', 'prospect_emails', 'Prospects', 'prospects', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('57269b2d-9be5-4c85-bab9-3d8fb82086bf', '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),
('5729b447-651d-46ad-a5df-a680de034108', 'securitygroups_surveys', 'SecurityGroups', 'securitygroups', 'id', 'Surveys', 'surveys', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Surveys', 0, 0),
('57df7878-db35-4f28-8532-a641c1aa1b70', 'securitygroups_modified_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('588d4aaf-1c2b-4443-9f61-c2aee02bd2a6', 'securitygroups_users', 'SecurityGroups', 'securitygroups', 'id', 'Users', 'users', 'id', 'securitygroups_users', 'securitygroup_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('58991b24-3d61-445f-af4d-980ccf631a70', '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),
('58e480cd-2714-4560-8f72-a4efa5524540', 'project_tasks_emails', 'ProjectTask', 'project_task', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('592e6b32-acd1-4f66-ac96-64d0ef060136', 'surveys_surveyquestions', 'Surveys', 'surveys', 'id', 'SurveyQuestions', 'surveyquestions', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5977e0c4-8996-4fc0-b30b-74118adb97c6', 'surveyresponses_modified_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('598a3a7b-d048-497c-96d1-4eec2ddb4e80', 'aos_contracts_calls', 'AOS_Contracts', 'aos_contracts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('59dce057-066f-4e43-b552-489bcce3364a', 'cases_modified_user', 'Users', 'users', 'id', 'Cases', 'cases', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5bc4be2b-a05a-4d55-b757-203f999fc495', 'securitygroups_surveyquestionresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionResponses', 0, 0),
('5ca28754-c855-4aaf-b784-d76742705127', 'aor_conditions_modified_user', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5d0efa08-a2e3-40ea-8db1-517cdaa463fc', 'email_template_email_marketings', 'EmailTemplates', 'email_templates', 'id', 'EmailMarketing', 'email_marketing', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5def17d5-7231-4bf5-9e3d-3e812d0f70e6', 'cases_created_by', 'Users', 'users', 'id', 'Cases', 'cases', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5e0ecc90-a637-47dd-b819-c84193400615', '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),
('5f85bf4c-32bf-461a-99e9-5a1e0c17dc61', 'aow_conditions_created_by', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5f916988-310d-42b6-a15d-f71ff981ee8d', 'lead_campaign_log', 'Leads', 'leads', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Leads', 0, 0),
('600aff29-0ab1-42b3-aa29-607069f2f64f', 'mediaobjects_created_by', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('60b9ac54-e84e-4c95-97d7-6281eb317d75', '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),
('60db216b-4cc7-4e86-b65d-9dd0f1220655', 'aow_workflow_created_by', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('61eb89b2-c984-4f82-bac0-924873a8e3a6', 'aos_contracts_notes', 'AOS_Contracts', 'aos_contracts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('638b1493-188f-4bb8-a64c-118ab9f57c84', 'campaigns_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('63b95af4-46e1-440a-99e7-5bbf47fa5427', 'reminders_modified_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('64587a0d-420d-4b03-ac86-ab28266156aa', 'calls_reschedule_assigned_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6483309a-fc28-4925-b2ca-406e66cc5ea3', 'aow_processed_created_by', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('659deced-e0cd-4a45-b023-0e6278ec5fe4', 'surveyquestions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('65b3ed5b-f1d3-49d7-94a8-6a504a0045b7', 'securitygroups_leads', 'SecurityGroups', 'securitygroups', 'id', 'Leads', 'leads', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Leads', 0, 0),
('660638fc-75e3-4274-8455-3e651664df06', 'securitygroups_externaloauthconnection', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthConnection', 0, 0),
('6641da80-0178-4cf4-87a8-f2beb6a87ad2', 'fp_events_assigned_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('66f42580-0be1-4c2a-8a88-0ac6c8211cd7', '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),
('67ba4467-a689-439a-9890-246ad6d89a41', 'aor_reports_assigned_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('68fb9c6c-77bb-45b6-84ca-0575129bf9cb', 'jjwg_Maps_projects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Project', 'project', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('693b3139-3b14-4782-8706-bb69876bfc64', 'projects_accounts', 'Project', 'project', 'id', 'Accounts', 'accounts', 'id', 'projects_accounts', 'project_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('693ea7e8-2cf3-4224-a338-9d389b321814', 'aos_products_assigned_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6952c03c-7384-49eb-afd9-c85f54f21fd6', 'project_tasks_notes', 'ProjectTask', 'project_task', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('69fec2e5-a763-4a2f-b17c-bdbc751cd4ed', '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),
('6a1146ae-9ea8-482e-9dc4-6fa06f585ae9', 'bugs_fixed_in_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'fixed_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6b679885-f097-45da-928b-76ada991aa07', 'securitygroups_calls', 'SecurityGroups', 'securitygroups', 'id', 'Calls', 'calls', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Calls', 0, 0),
('6b967fb4-46c9-4360-89dd-99a5ff903129', '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),
('6bed91de-a249-45df-9eae-71602a87c2d8', '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),
('6d68cdba-7ddd-46f0-8436-ff7aa1a3afd7', 'favorites_assigned_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6ec7c887-a9ce-4880-a13e-48e6e23bc882', 'mediaobjects_assigned_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6f018d10-09dc-4eab-87e2-a98f19b7bde9', 'calls_reschedule_created_by', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6f349ab0-6190-49c8-a5ef-3eb48f3bcf32', 'account_calls', 'Accounts', 'accounts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('6f7041d7-413f-4954-97b1-202b44876458', 'opportunities_modified_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6fa3ce28-f592-41b9-8c58-18dce87ab259', 'campaign_prospects', 'Campaigns', 'campaigns', 'id', 'Prospects', 'prospects', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7006e5a9-717c-4f88-994c-1e4a229e2657', 'alerts_modified_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('72136402-b166-4f2f-8b90-244dc68b1d8d', '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),
('730fe616-7efa-496f-afe6-3db42721bf6f', 'oauth2clients_modified_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('738ef71f-5566-45ef-9ba0-6af962b5ff2e', 'opportunities_created_by', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('73bc2820-cd87-4fbe-8972-761236e33280', '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),
('74219190-af15-4235-bb45-d359e2bcf70e', '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),
('74572715-2f2f-4603-913a-53642b80ab6e', '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),
('74d9803a-54a9-4ba8-98aa-bab1279e4b96', 'meetings_assigned_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('75d53adf-9a02-4817-9ed5-41a27ec04968', 'account_tasks', 'Accounts', 'accounts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('781fb1dd-b283-4352-b78b-c0e9e15686cc', '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),
('7a1c64a6-0535-406c-911c-a9141c3eccec', 'schedulersjobs_assigned_user', 'Users', 'users', 'id', 'SchedulersJobs', 'job_queue', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7a516c94-dbac-4096-82c5-63fda846783e', 'opportunity_notes', 'Opportunities', 'opportunities', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('7a95b692-b017-4741-9dfd-b8b7c1868ebe', 'securitygroups_acl_roles', 'SecurityGroups', 'securitygroups', 'id', 'ACLRoles', 'acl_roles', 'id', 'securitygroups_acl_roles', 'securitygroup_id', 'role_id', 'many-to-many', NULL, NULL, 0, 0),
('7af99076-a6bc-42e9-b19d-4d5d1bad2237', 'prospects_modified_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7b1d2c0f-9978-46d7-b37e-f58baab21a83', 'inbound_email_created_by', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('7c10ead7-91aa-4d83-8f34-8a7ff512f7d9', 'account_campaign_log', 'Accounts', 'accounts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Accounts', 0, 0),
('7cf218d6-7ab2-47cf-b3f0-80992fb5065b', 'alerts_assigned_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7d85e0f3-44bf-42de-938a-a9ddcae15bbc', 'campaign_accounts', 'Campaigns', 'campaigns', 'id', 'Accounts', 'accounts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7d947839-3da5-4c7a-88a3-12a3aa1d456d', 'accounts_opportunities', 'Accounts', 'accounts', 'id', 'Opportunities', 'opportunities', 'id', 'accounts_opportunities', 'account_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('7db1f2c1-eb90-43a6-bccc-d5be24a2a1f1', 'emails_opportunities_rel', 'Emails', 'emails', 'id', 'Opportunities', 'opportunities', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Opportunities', 0, 0);
INSERT INTO `relationships` VALUES
('7ddb831b-d7e9-4ef0-80fa-112aa22e35f9', 'securitygroups_outboundemailaccounts', 'SecurityGroups', 'securitygroups', 'id', 'OutboundEmailAccounts', 'outbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'OutboundEmailAccounts', 0, 0),
('7ee0b09d-05fa-4ea6-8a58-8f808948c4d9', 'aos_invoices_created_by', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7f105448-6eff-4381-8614-ba9c0aef0931', '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),
('7f10f00e-cb5f-49db-ba06-5ab09f047d6d', 'notes_assigned_user', 'Users', 'users', 'id', 'Notes', 'notes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7f4108bd-fbde-44b6-8900-2d5a38676ba4', 'projects_modified_user', 'Users', 'users', 'id', 'Project', 'project', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8016586a-5e30-4e46-9e6d-6e1332b5bd47', 'calls_contacts', 'Calls', 'calls', 'id', 'Contacts', 'contacts', 'id', 'calls_contacts', 'call_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('8024aeff-e23d-435d-b57a-5b5f5114485f', '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),
('8045cc1f-bca9-4386-a2ec-13b7ee3c6b06', 'project_tasks_modified_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('80681662-7d19-4d65-85b3-810ef29eb387', 'outbound_email_owner_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('80b9c9a0-c0c4-44a3-84f4-eab45e3a95e5', 'contact_aos_quotes', 'Contacts', 'contacts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('80eed82d-1382-4830-a3e1-a2e3a3d397ff', 'accounts_modified_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('814552fb-65f8-486f-bdad-5b7978f4d4ab', 'reminders_invitees_created_by', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('81795a6d-164c-480b-b9de-aea96f9f8b69', 'contacts_users', 'Contacts', 'contacts', 'id', 'Users', 'users', 'id', 'contacts_users', 'contact_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('81a4c706-34df-4b5a-9e50-90bf176878df', '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),
('82030622-6f88-4fc9-9318-f21f879940e6', 'calls_assigned_user', 'Users', 'users', 'id', 'Calls', 'calls', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8314d28b-b50c-456e-a250-f6fae51d2a9b', 'account_notes', 'Accounts', 'accounts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('8392cfb7-5610-4eb3-ae08-dffaa63d99fd', 'aos_contracts_modified_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('85792a59-683d-4451-8e01-f3e1573a7426', '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),
('859399bf-6e57-4f20-a91e-8594ca058b09', 'securitygroups_tasks', 'SecurityGroups', 'securitygroups', 'id', 'Tasks', 'tasks', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Tasks', 0, 0),
('85ce7af3-298a-45bc-9a1f-621752b1f15c', '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),
('865c7388-422d-40e5-a626-22bca215503d', 'am_projecttemplates_assigned_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('868fc4a1-7438-4c53-8439-96a933a65885', 'inbound_emails_distribution_user', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'distribution_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('86c202b7-ce3c-46bd-82b0-ab6f8b0e92f9', 'opportunity_currencies', 'Opportunities', 'opportunities', 'currency_id', 'Currencies', 'currencies', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('87a04b15-80d7-45db-a619-430ae5b695e2', 'inbound_emails_autoreply_email_templates', 'EmailTemplates', 'email_templates', 'id', 'InboundEmail', 'inbound_email', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8817b67f-334e-449b-80ac-15e7f6e10be7', 'bugs_modified_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('89005d48-a39c-4451-9110-7a7e0a1bb9ae', 'aos_quotes_modified_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('89a3f6f9-a067-43fc-83aa-c77bb9882380', 'aor_conditions_created_by', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8a8af595-5886-4934-9396-0e225dd36ba0', 'aos_invoices_modified_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8ae1cdc6-e49b-4392-b7af-c4a599143106', 'tasks_assigned_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8aef5436-13a7-429f-93e3-a8576100977d', 'externaloauthprovider_created_by', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8b3071a8-ce4e-4cb0-8678-3c40106525e0', 'oauth2clients_created_by', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8b6f29a4-ea82-4232-af85-c988a0c5111e', 'securitygroups_prospect_lists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('8b7e538e-23f8-4a47-99d1-5e4313213538', 'calls_leads', 'Calls', 'calls', 'id', 'Leads', 'leads', 'id', 'calls_leads', 'call_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('8c11272d-736c-4209-b07b-03e70329827e', 'schedulers_modified_user_id_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8d03d5ef-aefe-48c5-9fdd-06ad5a5bd342', '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),
('8db26257-06e8-4344-9861-558abc2863e8', 'inbound_email_modified_user_id', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('8dccb4dc-5e8b-45d5-a264-e7037ff8b63e', '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),
('8e502b12-0dfe-40cf-91b1-ed3ca30e86c9', 'optimistic_locking', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('8ea96b5d-ee6d-400c-affc-4b516b294220', '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),
('8f8a7954-7e87-4e80-a5e5-8e4475318e70', '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),
('90bf7932-bf9a-4ef2-abe2-71b47c322a32', 'campaign_contacts', 'Campaigns', 'campaigns', 'id', 'Contacts', 'contacts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('91adac6d-6a10-4b05-a34c-c71d2216b735', 'consumer_tokens', 'OAuthKeys', 'oauth_consumer', 'id', 'OAuthTokens', 'oauth_tokens', 'consumer', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('926e0c32-e263-411c-925c-d320f2bae4e5', 'campaign_email_marketing', 'Campaigns', 'campaigns', 'id', 'EmailMarketing', 'email_marketing', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('92b77bed-7919-46b9-80e0-2860bb609313', '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),
('92fb2a64-4dc6-4905-917b-ce3f0162538e', 'jjwg_Maps_opportunities', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('9308eff1-553a-40d2-a7d3-33486f66eca0', '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),
('93446de9-6ac9-4ad0-8bd3-9ccd362a3118', 'jjwg_maps_assigned_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9359a893-14bb-444b-9f7d-00f82e9ab246', '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),
('94207c60-e3a1-4e80-8e13-946b5691d3fb', 'oauth2tokens_assigned_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('94682b12-7411-421f-98ba-f0ce51b8ad56', 'accounts_created_by', 'Users', 'users', 'id', 'Accounts', 'accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('94e9abce-8154-43cc-8767-899273411cda', '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),
('95697b8d-06f0-45cb-925a-ad022d13ece9', 'aow_actions_modified_user', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('95a328c2-c9cf-4939-9dbb-3004d6ad1810', 'aow_actions_created_by', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9641d648-dadb-44a9-ae6f-7771fa73819a', 'surveyquestions_surveyquestionresponses', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyquestion_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9697a312-a742-4fe4-8b9e-2e69e195e469', 'sugarfeed_created_by', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('96fbf70b-b15e-4cb4-8d81-f3aa8e1207b9', 'reminders_assigned_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('97a931a2-6a51-4224-8245-8530ed3af9ba', 'aos_quotes_created_by', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('98009712-7b79-4d41-b7fd-ea0f2d0c3245', 'documents_created_by', 'Users', 'users', 'id', 'Documents', 'documents', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9835ab1d-4aed-429b-ac17-9b1948cdfe50', 'opportunity_aos_contracts', 'Opportunities', 'opportunities', 'id', 'AOS_Contracts', 'aos_contracts', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9863663e-ba65-4c07-a072-b812986122a3', 'campaign_campaigntrakers', 'Campaigns', 'campaigns', 'id', 'CampaignTrackers', 'campaign_trkrs', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9950a47b-1e74-4543-96ad-2177cce129a9', 'jjwg_markers_assigned_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9a5307bc-acef-4925-b0de-188a22010287', '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),
('9aeb573f-2dfb-4e11-a42b-e83f9bf7f5fe', 'surveyresponses_campaigns', 'Campaigns', 'campaigns', 'id', 'SurveyResponses', 'surveyresponses', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9b439d36-760c-4645-8e73-63294dc51647', 'meetings_users', 'Meetings', 'meetings', 'id', 'Users', 'users', 'id', 'meetings_users', 'meeting_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('9ba59768-9d22-468b-9470-22d6138ad4e1', 'emails_tasks_rel', 'Emails', 'emails', 'id', 'Tasks', 'tasks', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Tasks', 0, 0),
('9be0df72-d585-4526-a1b6-2c90f6c238a9', 'contact_notes_parent', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('9c21f5b7-569a-44a8-8364-785126fe5ef6', '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),
('9c4af4c2-baa6-41a2-9ed6-4c8520af5321', 'account_cases', 'Accounts', 'accounts', 'id', 'Cases', 'cases', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9c822158-64a4-4de1-b9de-356d51a2b001', 'users_users_password_link', 'Users', 'users', 'id', NULL, 'users_signatures', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9c875862-a9af-4a89-8d59-cc926ebc3eb3', '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),
('9d9f7a7a-10e8-49f5-acf1-515153f0c415', 'campaignlog_targeted_users', 'CampaignLog', 'campaign_log', 'target_id', 'Users', 'users', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9eee0794-2272-4962-8b09-007573f0baaa', 'leads_assigned_user', 'Users', 'users', 'id', 'Leads', 'leads', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9fbd40fc-ee7e-40f1-964c-a06550c59488', 'securitygroups_created_by', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9fc21105-3915-4852-a08d-7b666fee7b4e', '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),
('a08b1a0a-feb7-4e5d-9d85-2939a6a57ddc', 'securitygroups_opportunities', 'SecurityGroups', 'securitygroups', 'id', 'Opportunities', 'opportunities', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Opportunities', 0, 0),
('a275019f-9167-4c04-b670-2cb7c9c9cb44', 'lead_calls', 'Leads', 'leads', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('a34cae38-a9db-4d58-8761-cf569566af30', 'unified_search', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('a42fdcd4-2b49-4276-8dc1-6d8e7ffcc4a9', 'emails_contacts_rel', 'Emails', 'emails', 'id', 'Contacts', 'contacts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Contacts', 0, 0),
('a59071bf-40a3-4847-8b9f-8b9957d4d645', '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),
('a6321083-860a-4dfa-a890-9fe62cd1a929', 'jjwg_maps_modified_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a64c6fd8-80be-40ba-ab29-aa175cfedc41', '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),
('a6566527-d9bd-4a79-bc99-75d5eaf730de', 'notes_modified_user', 'Users', 'users', 'id', 'Notes', 'notes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a6722fed-5cc1-4944-a73a-a2d12a0d6e86', '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),
('a6f1801a-a497-4632-90ae-d0a968e26a0c', '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),
('a80f3e6b-ab6d-42a5-90c0-be4092686cdd', 'securitygroups_surveyresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyResponses', 'surveyresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyResponses', 0, 0),
('a9619a51-cf26-42dc-a4e0-674e56c0d4c2', 'fp_events_modified_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a9c036a5-beae-4211-9864-a1ccea30c318', 'meetings_created_by', 'Users', 'users', 'id', 'Meetings', 'meetings', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a9f076a7-ab46-47f9-8836-e62511fb24b2', 'contacts_assigned_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('aad897d0-76db-4618-88b9-f5589fdea6d5', 'favorites_modified_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('aaf75d8c-5428-46b9-bfeb-a3e9275e19b2', 'securitygroups_project', 'SecurityGroups', 'securitygroups', 'id', 'Project', 'project', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Project', 0, 0),
('abcde870-36b9-477b-af98-510c3c6a3594', 'inbound_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'InboundEmail', 'inbound_email', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ac247c83-1a31-4aee-be21-0b83f7b2052b', 'projects_opportunities', 'Project', 'project', 'id', 'Opportunities', 'opportunities', 'id', 'projects_opportunities', 'project_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('ad25d880-755e-4d87-843a-7378a0399b8b', 'saved_search_assigned_user', 'Users', 'users', 'id', 'SavedSearch', 'saved_search', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ad311f60-db13-42ef-8ac3-71007fb66f28', '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),
('ada60faf-d6b3-4718-9dfe-5d61e2160450', 'emails_prospects_rel', 'Emails', 'emails', 'id', 'Prospects', 'prospects', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Prospects', 0, 0),
('aea4a148-14d2-48d5-bf73-a334f9bcddd4', 'outbound_email_created_by', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('aeadd07e-f34d-4c83-ba23-9000ac5f13c1', 'prospect_meetings', 'Prospects', 'prospects', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('b0d4c107-c023-49b9-8cf3-718345a3dd80', '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),
('b12dabe2-63b6-4ab1-85df-e9da1115034f', 'email_marketing_campaignlog', 'EmailMarketing', 'email_marketing', 'id', 'CampaignLog', 'campaign_log', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b270ce35-1693-42e7-843d-9cae9ebde2ec', 'externaloauthconnection_created_by', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b272e466-a816-4827-b4e4-23a81d39495d', 'eapm_modified_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b3c6e57e-1dbf-45b1-93bb-d61cfbf3dec8', 'contacts_created_by', 'Users', 'users', 'id', 'Contacts', 'contacts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b488a9b2-a17f-4baf-9dd8-6b09bba8ef5e', 'surveyresponses_accounts', 'Accounts', 'accounts', 'id', 'SurveyResponses', 'surveyresponses', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b4df29e3-7a6e-46d7-a41c-30904119299f', 'securitygroups_surveyquestions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestions', 'surveyquestions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestions', 0, 0),
('b4e5879d-7ee6-484e-8801-953185364ac6', 'campaign_notes', 'Campaigns', 'campaigns', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Campaigns', 0, 0),
('b4fc8eda-ad43-4e12-a646-9b529b1082bf', 'projects_created_by', 'Users', 'users', 'id', 'Project', 'project', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b500907a-15c7-45f2-8c57-23aacf559fd6', 'jjwg_Maps_cases', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Cases', 'cases', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('b507a6a9-6a32-4ea5-947a-9fc6dd0dfc01', 'aok_knowledgebase_created_by', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b53b1666-54ce-4774-90cf-177819782f8c', 'leads_documents', 'Leads', 'leads', 'id', 'Documents', 'documents', 'id', 'linked_documents', 'parent_id', 'document_id', 'many-to-many', 'parent_type', 'Leads', 0, 0),
('b57c4bd1-1232-4f94-9614-e4bb1a10be30', 'project_tasks_assigned_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b6b670f0-149d-46aa-9fbd-e9770c6eb0ce', 'outbound_email_assigned_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b7d1bf68-cbb1-4994-8393-7ce82b0c2d64', 'securitygroups_emails', 'SecurityGroups', 'securitygroups', 'id', 'Emails', 'emails', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Emails', 0, 0),
('b7e986a7-2ddf-4cc6-b266-d0611da44a10', 'aos_products_created_by', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b9b43a21-a8a1-439a-915a-9f5d934dece4', 'lead_meetings', 'Leads', 'leads', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('ba22268f-440f-4be5-aa26-e79b7a48f953', 'outbound_email_modified_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ba43270e-3a06-4534-954b-92d5d5e7280f', 'cases_assigned_user', 'Users', 'users', 'id', 'Cases', 'cases', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ba433a33-3d4e-4c89-8deb-62c44aeffbf5', '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),
('bc06c9c3-ad12-4a9c-a76c-b779aee85825', 'documents_bugs', 'Documents', 'documents', 'id', 'Bugs', 'bugs', 'id', 'documents_bugs', 'document_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('bd97168b-c12f-4569-9338-4e480cf5131a', 'opportunities_assigned_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bd9cccf4-42f7-4a20-ba43-4cdc25f0a0fb', 'acl_roles_users', 'ACLRoles', 'acl_roles', 'id', 'Users', 'users', 'id', 'acl_roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('bf1c7b4a-b823-4ba8-83a3-6880ce1f0920', 'jjwg_Maps_prospects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Prospects', 'prospects', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('bf2196aa-fcfe-4bb0-ab3c-2ad0349cbca4', 'projects_project_tasks', 'Project', 'project', 'id', 'ProjectTask', 'project_task', 'project_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bf40415a-1b92-4669-b2ca-63ecf4e22afe', 'contact_tasks_parent', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('bf7ba5b9-3bce-4dca-a428-7d6958fea786', 'surveyquestionresponses_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bf9cf6d6-ca2b-4d99-b0ea-2df39db03130', '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),
('bfdcb917-73dd-4463-840c-112eb2c4bede', 'mediaobjects_modified_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bfea6843-d7d1-4cfe-9639-2f6f71ddcfed', 'eapm_created_by', 'Users', 'users', 'id', 'EAPM', 'eapm', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c03c3b6e-fc3d-4199-9821-10cc9b58c61e', 'bugs_assigned_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c08919f8-1b16-48d4-b03c-3b751716aacc', 'projects_bugs', 'Project', 'project', 'id', 'Bugs', 'bugs', 'id', 'projects_bugs', 'project_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('c1926ab6-d362-4925-b9da-74330a077843', 'emails_projects_rel', 'Emails', 'emails', 'id', 'Project', 'project', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Project', 0, 0),
('c2048231-75e3-429e-84a4-c4c28abc2f7f', 'email_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'Emails', 'emails', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c28b7d36-bb3b-48a8-92ca-a73d1d7374ad', 'aobh_businesshours_modified_user', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c3b2ccb9-02c5-4f84-a2d5-d12c644cf2ee', '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),
('c40b7385-0438-4def-b963-02471d6857a3', '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),
('c4622956-bc96-47e3-a6a0-078b4a129949', 'securitygroups_prospectlists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('c57d8e19-569a-4f95-acef-9e996745f0fa', 'leads_created_by', 'Users', 'users', 'id', 'Leads', 'leads', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c60077fe-5fc6-4803-aee5-0a25ffb74a52', 'aow_workflow_modified_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c653770a-c400-4f4d-acb7-9be72a52bd6a', 'surveyquestions_modified_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c66d0994-048b-46d4-91fe-d45229b4e9ec', '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),
('c683ed9d-5b7e-4d0c-bed2-9133773da7ba', '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),
('c694b5c8-5eae-4b5e-a246-f49aa5770be9', '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),
('c6b0253c-69c2-4712-b363-5ff311e24ff4', 'prospect_calls', 'Prospects', 'prospects', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('c7f285d5-c44d-4670-8369-4db22da8aaef', 'jjwg_areas_assigned_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c81e78d1-d0ac-408e-b6a1-7a3763d68abc', 'accounts_contacts', 'Accounts', 'accounts', 'id', 'Contacts', 'contacts', 'id', 'accounts_contacts', 'account_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('c88b4054-b77e-405c-af56-dd35b5f9f65c', 'securitygroups_emailtemplates', 'SecurityGroups', 'securitygroups', 'id', 'EmailTemplates', 'email_templates', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailTemplates', 0, 0),
('c92f556d-2a5a-462d-b06d-9a0c8312a066', 'externaloauthprovider_modified_user', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ca41ec48-beef-482c-9535-24e9020fffd5', '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),
('caaf7018-655f-45c7-8424-33c669a56f71', 'surveyquestionoptions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cba0fda9-8492-4e99-b2e3-4c384f391393', 'oauthkeys_modified_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cce40142-7cf8-466b-b4d3-210c6e6af91c', '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),
('ccfd495d-66d5-417c-ad82-cfbd4b9df625', '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),
('cd4cbe66-7168-4e2d-9b95-fa0536272af9', 'aok_knowledgebase_modified_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cfa413d1-18aa-48fc-b3cf-ae7f1d8cf77f', '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),
('d0cff081-76b4-4e3a-9e73-46553c990268', 'documents_assigned_user', 'Users', 'users', 'id', 'Documents', 'documents', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d1b9ad99-48b6-4c7c-8e36-4b3dd555f2d4', 'projects_contacts', 'Project', 'project', 'id', 'Contacts', 'contacts', 'id', 'projects_contacts', 'project_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('d220c1c9-e843-4830-bb1d-17111bca4466', 'email_marketing_emailman', 'EmailMarketing', 'email_marketing', 'id', 'EmailMan', 'emailman', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d2c347d8-e1f8-4f47-8a6a-c5dc27d7874e', 'jjwg_areas_modified_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d2c3895c-ff55-4f27-b7a1-31266428c40c', 'tasks_modified_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d33bf228-c81c-4a3b-bc11-5a16253455d1', 'contact_leads', 'Contacts', 'contacts', 'id', 'Leads', 'leads', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d39b9c5c-1949-4607-8850-1225171a8410', 'calls_created_by', 'Users', 'users', 'id', 'Calls', 'calls', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d475c058-0b96-428f-bc39-dcfc9ae291dc', 'campaigns_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d56d2e7e-b569-4a00-8629-95c81dd6fdab', 'contact_aos_invoices', 'Contacts', 'contacts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d629ee05-8f7a-45b5-8e0f-2ede912e49b8', 'campaign_opportunities', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d67e41d8-7bc2-4522-a994-9f999b4cbda8', 'surveyquestionresponses_modified_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d6a05603-77c4-4485-b851-38fb5c52d4c9', '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),
('d6e50d2a-0125-4ad8-8666-98f645f0cd4c', 'surveys_assigned_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d87f6953-afdc-4ed5-868b-65814ebcc41b', 'project_tasks_calls', 'ProjectTask', 'project_task', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('d8b43580-2324-4f70-81a2-9201b23bb816', 'alerts_created_by', 'Users', 'users', 'id', 'Alerts', 'alerts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d9319ece-f8a6-4556-aa57-3ff678711fcd', 'aor_charts_modified_user', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d94bdd9e-f163-44d0-8833-e11ca4e94fad', 'securitygroups_mediaobjects', 'SecurityGroups', 'securitygroups', 'id', 'MediaObjects', 'archived_documents_media_objects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'MediaObjects', 0, 0),
('d9803f40-7666-4019-ac47-9f080f53c769', 'aos_quotes_assigned_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d9c1a415-c573-4b70-8a9f-2c04c6d0af41', '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),
('da32c4b6-ea09-4e18-bbb3-36400305c924', 'campaignlog_lead', 'CampaignLog', 'campaign_log', 'related_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dae4b164-31a8-4d75-b6c2-42bbf63fcbb0', 'surveyquestionresponses_created_by', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('db265a79-c9c3-4f3d-a6e6-230ea42630db', '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),
('db2d00b1-7e5c-4ab1-b247-850bb49583f2', 'opportunity_emails', 'Opportunities', 'opportunities', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('dc4ec928-4563-4768-9a1e-7358ce7fb85f', 'campaign_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dc9c4853-8f5f-473e-92f4-0cba842fbe48', 'lead_emails', 'Leads', 'leads', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('de74ea4b-c9a1-4151-a3d7-7d8e5c105713', 'opportunities_contacts', 'Opportunities', 'opportunities', 'id', 'Contacts', 'contacts', 'id', 'opportunities_contacts', 'opportunity_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('dfb6f94d-a159-44a1-a0b6-cc1e5555a16d', 'reminders_invitees_modified_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e035b89d-3829-4912-b5b6-90e8bb6b567d', 'calls_reschedule_modified_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e04c1683-fea1-4ee5-a477-a2938d6a2b98', 'oauthtokens_assigned_user', 'Users', 'users', 'id', 'OAuthTokens', 'oauth_tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e0b76e07-efb7-4f6b-abe0-a8f6a4510dfa', 'prospects_created_by', 'Users', 'users', 'id', 'Prospects', 'prospects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e118a7f9-9591-4190-a0ff-2804640d72c2', 'securitygroups_cases', 'SecurityGroups', 'securitygroups', 'id', 'Cases', 'cases', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Cases', 0, 0),
('e1e45291-52d8-419a-a38f-c9635f7ef5e5', 'favorites_created_by', 'Users', 'users', 'id', 'Favorites', 'favorites', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e1e6c088-7a1e-4725-baab-b62b324ba6ea', 'prospectlists_assigned_user', 'Users', 'users', 'id', 'ProspectLists', 'prospect_lists', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e22a5121-2589-444f-a31d-7cfa3092c489', 'emails_notes_rel', 'Emails', 'emails', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e23d74d0-6b6c-4a55-ae0a-563f0299fbe0', 'calls_reschedule', 'Calls', 'calls', 'id', 'Calls_Reschedule', 'calls_reschedule', 'call_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e26a326b-fb01-42f5-b242-1c74a41c1957', '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),
('e2b27f3e-f64d-4458-a038-1f2ea951eb2b', '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),
('e314a989-4afa-4bb0-b60b-e48e28aa3ca7', 'calls_users', 'Calls', 'calls', 'id', 'Users', 'users', 'id', 'calls_users', 'call_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('e4fd46a1-3e0c-4659-84ba-05a722a9aed3', '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),
('e57eb45b-21a1-4f89-8d3d-227ad92a9ed4', '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),
('e59f7da8-3c1d-43b3-a61b-6b14aa59852a', 'campaignlog_created_opportunities', 'CampaignLog', 'campaign_log', 'related_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e5ae3724-aafa-4e7c-8a9f-4f3660aaec97', 'jjwg_Maps_accounts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Accounts', 'accounts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('e62d037b-042b-4106-894d-327124742ffb', '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),
('e687d6fa-4423-4bf0-94af-bc2838638d11', '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),
('e693703d-8f15-4bd2-a1c9-a42c7ed1498b', 'campaign_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e6a6457a-de9f-47e0-bf74-712747c5bc16', 'jjwg_Maps_leads', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('e702220d-ad0e-4e3b-ae60-307e437e8df8', 'lead_direct_reports', 'Leads', 'leads', 'id', 'Leads', 'leads', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e7103469-85ab-4eae-b59e-50889166cab5', 'opportunity_meetings', 'Opportunities', 'opportunities', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('e7148b5c-b1db-4f73-acae-4069db83609d', 'oauth2clients_assigned_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e727edac-e439-4aff-a02b-7914669c001f', '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),
('e79beecc-83bd-4253-bc09-de2b9671f5c7', 'documents_opportunities', 'Documents', 'documents', 'id', 'Opportunities', 'opportunities', 'id', 'documents_opportunities', 'document_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('e7df63d1-4099-486c-ac4b-ed693134c4b5', 'cases_created_contact', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'contact_created_by_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e98b7761-bd14-4be1-8a2b-0627dd62aac9', 'bug_meetings', 'Bugs', 'bugs', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('eacb57bc-47c8-4b31-952c-e65f84a81212', 'aor_fields_created_by', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('eb3fb334-88ec-432b-a0f9-0264a3c5e1bc', 'schedulers_created_by_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('eb74c52a-45b3-4313-9b47-dccaff665850', 'project_tasks_tasks', 'ProjectTask', 'project_task', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('eb8ccf6f-3d5c-4cec-9320-25c269ee3366', 'securitygroups_inboundemail', 'SecurityGroups', 'securitygroups', 'id', 'InboundEmail', 'inbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'InboundEmail', 0, 0),
('ec34dcd4-8507-4992-a8b2-1ca7824eaba4', 'oauth2clients_oauth2tokens', 'OAuth2Clients', 'oauth2clients', 'id', 'OAuth2Tokens', 'oauth2tokens', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ec377fbd-9413-4d21-bb6b-623a0cf945f0', 'projects_emails', 'Project', 'project', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('ecfaa399-18ee-4e45-832e-b2b3126b60bc', '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),
('ed36bb3f-e5a6-4c60-9d8a-90f96aa995c8', 'oauthkeys_created_by', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('eee2587f-d611-42c1-8b32-b38fb1cc8ca7', 'opportunity_calls', 'Opportunities', 'opportunities', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('ef5675a1-a298-4624-b48a-ccdcd476fe22', 'surveyquestionoptions_created_by', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f001e0a0-5b0f-4195-b580-f3c51f25b714', 'contact_direct_reports', 'Contacts', 'contacts', 'id', 'Contacts', 'contacts', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f05325a5-0c3e-4db7-9126-ca9f60b1f45d', 'projects_notes', 'Project', 'project', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('f05efb0a-e6cd-4630-b7d1-9ff2c1a08557', '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),
('f06cfcd4-8e51-4a49-a9ea-a6f8f9ebeea2', 'leads_modified_user', 'Users', 'users', 'id', 'Leads', 'leads', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f0abef7e-4d01-42f8-95bd-6d5d545a09b5', 'jjwg_markers_created_by', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f1517f1e-32f1-46e2-abc9-cbe1b86e997c', 'securitygroups_project_task', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('f1ce7e30-bbf3-44de-8d20-b989c2db2cb0', 'emails_meetings_rel', 'Emails', 'emails', 'id', 'Meetings', 'meetings', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Meetings', 0, 0),
('f27bed13-eac4-4f88-b177-bfe9a0f6a500', 'aor_reports_modified_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f2a08aa9-7682-4446-9d13-896f43d86024', 'jjwg_areas_created_by', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f2bd4470-1184-41a3-a909-d66edbcf1a80', 'surveyresponses_surveyquestionresponses', 'SurveyResponses', 'surveyresponses', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyresponse_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f30a1bbd-2cd6-4cfa-bee9-b78370a3be26', 'jjwg_Maps_contacts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('f35997fc-539a-41cf-b016-f00de43cae5e', 'emails_accounts_rel', 'Emails', 'emails', 'id', 'Accounts', 'accounts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Accounts', 0, 0),
('f3f5f5a1-714d-4133-a254-92e74028109c', 'contacts_cases', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'id', 'contacts_cases', 'contact_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('f41b3f0f-b5ea-4410-8f7d-c12143d209b7', '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),
('f458b333-722c-4a00-8837-0d47d556a43b', 'aow_processed_modified_user', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f505d91f-9e62-4d49-9f28-48af6a1ac92f', 'documents_cases', 'Documents', 'documents', 'id', 'Cases', 'cases', 'id', 'documents_cases', 'document_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('f60c8631-406e-424c-9b44-62e38f7e676f', '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),
('f634b449-ecdf-4144-ba85-374a32eaa57e', 'documents_contacts', 'Documents', 'documents', 'id', 'Contacts', 'contacts', 'id', 'documents_contacts', 'document_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('f6698872-bd80-4b59-952b-ffc560694d56', 'surveyresponses_created_by', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f7c964e8-20f9-4c76-a634-6c4b8cb7ffd3', 'surveys_campaigns', 'Surveys', 'surveys', 'id', 'Campaigns', 'campaigns', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f8ae87dd-dc41-435e-b88d-781a0a5a304a', 'account_emails', 'Accounts', 'accounts', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('f9203c2b-1986-44e4-a33b-957b051260cf', '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),
('f9eaa905-ef05-47a1-8d5b-9270b841914c', 'jjwg_maps_created_by', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fad7d632-acef-4e87-a771-449ff0a25199', 'prospect_campaign_log', 'Prospects', 'prospects', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Prospects', 0, 0),
('fbd0f4e6-9b92-4254-b482-964354de9f00', 'templatesectionline_created_by', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0);
INSERT INTO `relationships` VALUES
('fc439429-d025-4c73-b300-620734b27cb3', 'campaign_leads', 'Campaigns', 'campaigns', 'id', 'Leads', 'leads', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fc55009b-da27-4a91-858c-31b8ea241cc2', '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),
('fc6e0ce4-23ef-449b-8a20-82312db2728e', 'case_notes', 'Cases', 'cases', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('fdf46ef2-abec-4a08-a641-65f0865b0ce4', 'emails_users_rel', 'Emails', 'emails', 'id', 'Users', 'users', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Users', 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
('04e42b5b-f4db-450d-bab8-034c4dedbf8b', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune SuiteCRM Feed Tables', 'function::trimSugarFeeds', '2015-01-01 13:45:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('07ce9841-fa71-4af0-bb4b-1d4ff49cac52', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Report Generation Scheduled Tasks', 'function::aorRunScheduledReports', '2015-01-01 13:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1),
('2b6235f6-df62-480c-a3c7-699f022c9629', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Database on 1st of Month', 'scheduler::prune-database', '2015-01-01 09:45:01', NULL, '0::4::1::*::*', NULL, NULL, NULL, 'Inactive', 0),
('2c7461df-ee80-416e-bb25-d8d83753e503', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Removal of documents from filesystem', 'function::removeDocumentsFromFS', '2015-01-01 16:15:01', NULL, '0::3::1::*::*', NULL, NULL, NULL, 'Active', 0),
('477fc694-9c18-4af5-af55-3b3919af9f61', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Up Temporary Files', 'scheduler::clean-up-temporary-files', '2015-01-01 15:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('4952f4ef-3c6b-4a24-99cb-5bf868668b1b', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Process Bounced Campaign Emails', 'function::pollMonitoredInboxesForBouncedCampaignEmails', '2015-01-01 15:45:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1),
('9e1f3ce1-14af-4ada-aa60-c61a46d0d2f9', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Check Inbound Mailboxes', 'function::pollMonitoredInboxesAOP', '2015-01-01 14:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('cdcf4a59-7c33-4070-8c2b-cb91f41a4375', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Tracker Tables', 'function::trimTracker', '2015-01-01 16:00:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('d85830a9-639e-4313-9b3d-0e13ad9abd38', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Mass Email Campaigns', 'function::runMassEmailCampaign', '2015-01-01 10:30:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Inactive', 1),
('da675418-609b-4497-b7a8-7316d8e51ff8', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Google Calendar Sync', 'function::syncGoogleCalendar', '2015-01-01 11:15:01', NULL, '*/15::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('db94db21-6bd8-49ca-bc8f-8a72c6e8d136', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Email Reminder Notifications', 'function::sendEmailReminders', '2015-01-01 18:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('e18da771-ed9c-44e7-bbb4-6ed76b7dac26', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Jobs Queue', 'function::cleanJobQueue', '2015-01-01 07:15:01', NULL, '0::5::*::*::*', NULL, NULL, NULL, 'Active', 0),
('e21fed1f-0c28-43b4-a7f7-76bd27a87c28', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Elasticsearch Index', 'function::runElasticSearchIndexerScheduler', '2015-01-01 17:00:01', NULL, '30::4::*::*::*', NULL, NULL, NULL, 'Active', 0),
('e656832a-030d-4ebb-b3c9-18a407f7b10f', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Process Workflow Tasks', 'function::processAOW_Workflow', '2015-01-01 12:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1),
('eabd5e83-6b74-440e-84d8-0354b1220d7b', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Send Campaign Emails', 'scheduler::send-from-queue', '2015-01-01 16:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('f82c2961-3c88-4393-91f6-f91a84761dbe', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Queue Campaign Emails', 'scheduler::email-to-queue', '2015-01-01 11:45: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
('721e9d49-c5d8-4d11-8a5b-afe2d69bf56d', 'global', 0, '[[regtime]]', '[[regtime]]', '1', 'YTo0NTp7czoyMDoiY2FsZW5kYXJfcHVibGlzaF9rZXkiO3M6MzY6IjkyOWM1ZTM4LWIwNTAtNGEzZi1hOGIyLTAxZTMwZDY3MGEyMCI7czoxMjoibWFpbG1lcmdlX29uIjtzOjM6Im9mZiI7czoyNDoic3VicGFuZWxfcGFnaW5hdGlvbl90eXBlIjtzOjEwOiJwYWdpbmF0aW9uIjtzOjI0OiJsaXN0dmlld19wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6Mjg6InJlY29yZF9tb2RhbF9wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6MTg6InNub296ZV9hbGVydF90aW1lciI7aTo2MDA7czoxNjoic3dhcF9sYXN0X3ZpZXdlZCI7YjowO3M6MTQ6InN3YXBfc2hvcnRjdXRzIjtiOjA7czoxOToibmF2aWdhdGlvbl9wYXJhZGlnbSI7czoxOiJtIjtzOjIwOiJzb3J0X21vZHVsZXNfYnlfbmFtZSI7czowOiIiO3M6MTM6InN1YnBhbmVsX3RhYnMiO2I6MTtzOjI1OiJjb3VudF9jb2xsYXBzZWRfc3VicGFuZWxzIjtzOjA6IiI7czoxMDoidXNlcl90aGVtZSI7czo2OiJzdWl0ZTgiO3M6MTQ6Im1vZHVsZV9mYXZpY29uIjtiOjA7czo5OiJoaWRlX3RhYnMiO2E6MDp7fXM6MTE6InJlbW92ZV90YWJzIjthOjA6e31zOjc6Im5vX29wcHMiO3M6Mzoib2ZmIjtzOjEzOiJyZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE5OiJlbWFpbF9yZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE2OiJyZW1pbmRlcl9jaGVja2VkIjtzOjE6IjAiO3M6MjI6ImVtYWlsX3JlbWluZGVyX2NoZWNrZWQiO3M6MToiMCI7czo4OiJ0aW1lem9uZSI7TjtzOjI6InV0IjtzOjE6IjEiO3M6ODoiY3VycmVuY3kiO047czozNToiZGVmYXVsdF9jdXJyZW5jeV9zaWduaWZpY2FudF9kaWdpdHMiO3M6MToiMiI7czoxMToibnVtX2dycF9zZXAiO047czo3OiJkZWNfc2VwIjtzOjE6Ii4iO3M6NDoiZmRvdyI7TjtzOjU6ImRhdGVmIjtzOjU6Im0vZC9ZIjtzOjU6InRpbWVmIjtzOjM6Ikg6aSI7czo4OiJsYW5ndWFnZSI7czo1OiJlbl91cyI7czoyNjoiZGVmYXVsdF9sb2NhbGVfbmFtZV9mb3JtYXQiO3M6NToicyBmIGwiO3M6MTY6ImV4cG9ydF9kZWxpbWl0ZXIiO3M6MToiLCI7czoyMjoiZGVmYXVsdF9leHBvcnRfY2hhcnNldCI7czo1OiJVVEYtOCI7czoxNDoidXNlX3JlYWxfbmFtZXMiO2I6MTtzOjE3OiJtYWlsX3NtdHBhdXRoX3JlcSI7czowOiIiO3M6MTI6Im1haWxfc210cHNzbCI7aTowO3M6MTc6InNpZ25hdHVyZV9kZWZhdWx0IjtzOjA6IiI7czoxNzoic2lnbmF0dXJlX3ByZXBlbmQiO3M6MDoiIjtzOjE1OiJlbWFpbF9saW5rX3R5cGUiO3M6NToic3VnYXIiO3M6MTE6ImVkaXRvcl90eXBlIjtzOjc6InRpbnltY2UiO3M6MTc6ImVtYWlsX3Nob3dfY291bnRzIjtpOjA7czoxOToiZW1haWxfZWRpdG9yX29wdGlvbiI7czo3OiJ0aW55bWNlIjtzOjIxOiJkZWZhdWx0X2VtYWlsX2NoYXJzZXQiO3M6NToiVVRGLTgiO3M6ODoic3VidGhlbWUiO3M6MDoiIjt9'),
('9360fcbd-e39a-4d5f-a387-886e7c9c2fda', 'GoogleSync', 0, '[[regtime]]', '[[regtime]]', '1', 'YToxOntzOjg6InN5bmNHQ2FsIjtpOjA7fQ==');
-- --------------------------------------------------------
--
-- 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 */;