← Back
Editing: suitecrm7.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: `suitecrm7152` -- -- -------------------------------------------------------- -- -- Table structure for table `accounts` -- CREATE TABLE `accounts` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `industry` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `annual_revenue` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `rating` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_office` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_alternate` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `website` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ownership` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `employees` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL, `ticker_symbol` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `sic_code` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `accounts_audit` -- CREATE TABLE `accounts_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_accounts_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `accounts_bugs` -- CREATE TABLE `accounts_bugs` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `account_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bug_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `accounts_cases` -- CREATE TABLE `accounts_cases` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `account_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `case_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `accounts_contacts` -- CREATE TABLE `accounts_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `accounts_cstm` -- CREATE TABLE `accounts_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `accounts_opportunities` -- CREATE TABLE `accounts_opportunities` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `opportunity_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `acl_actions` -- CREATE TABLE `acl_actions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `category` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `acltype` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `acl_actions` -- INSERT INTO `acl_actions` VALUES ('0034c056-f0a4-4dd1-9bae-78ec6e842fd9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Invoices', 'module', 90, 0), ('003e0836-ab23-44aa-af2f-00168d1d364e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthConnection', 'module', 90, 0), ('00564e92-34b2-4524-86f8-5ba3bc7e670c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_WorkFlow', 'module', 90, 0), ('01a70673-52ba-4f63-acd7-38ffd3ed6783', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Surveys', 'module', 90, 0), ('02472eb7-6baa-443c-92e1-9d4455267c66', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Products', 'module', 90, 0), ('0303a13b-68a7-4351-944b-a8ceeb2eb0d6', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Surveys', 'module', 90, 0), ('038ae927-173b-4e64-ab8f-cd09d32475f5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SecurityGroups', 'module', 89, 0), ('04052678-f2f7-41ad-bbec-ba696c9225d3', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Spots', 'module', 90, 0), ('052269e4-b395-4cf6-9ac9-adbdc1376af2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Accounts', 'module', 90, 0), ('05ddbd6a-4444-42dc-aaa4-e6fef7b81010', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionResponses', 'module', 90, 0), ('060ddd79-765f-44a3-8d92-e5ae25d93b9d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_KnowledgeBase', 'module', 90, 0), ('0651d27d-59fa-4038-a212-8b5ddc07c1c0', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls_Reschedule', 'module', 90, 0), ('06ce5092-6b6e-4ba6-9813-c183cd943091', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls_Reschedule', 'module', 90, 0), ('0708c67a-d2d3-4fff-bd8b-f367142e6ec9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyResponses', 'module', 90, 0), ('0852dbb8-c754-485c-8bbb-afbb33e193b0', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Tasks', 'module', 90, 0), ('095da6e3-9274-4b55-a09a-91b052904127', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Tasks', 'module', 90, 0), ('0990af62-45ef-4a25-8b97-158541817ed2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'OutboundEmailAccounts', 'module', 90, 0), ('09a70326-2a48-417f-a1a7-70633883ee49', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'InboundEmail', 'module', 90, 0), ('0a094212-f1ba-432c-86bc-25dd93267d3e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Product_Categories', 'module', 90, 0), ('0a2461f2-d41b-4bc7-9342-1be8b7574df8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProspectLists', 'module', 90, 0), ('0a3326d8-0aee-4ef9-ba1f-4e15b0a82d33', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Notes', 'module', 90, 0), ('0ad0d175-dab6-4025-a568-0c97fd4eeae5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Contacts', 'module', 90, 0), ('0b54d241-af79-45c6-b094-befbfc012dba', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Tasks', 'module', 90, 0), ('0bc7aa9b-362d-4514-85e7-cb1415e3e67f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyResponses', 'module', 90, 0), ('0c270ca3-3477-4c41-8561-55786c5d6260', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SecurityGroups', 'module', 90, 0), ('0c99b5f5-175a-47e5-a3cb-df87ef54b217', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Cases', 'module', 90, 0), ('0d02d754-8b78-4cea-bcca-2077ec9c543c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailTemplates', 'module', 90, 0), ('0d892ca8-21ac-424a-b2a0-0f84ee64baab', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_KnowledgeBase', 'module', 90, 0), ('0dab1cfd-e22b-4b6c-8f4d-62addcd59de7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionOptions', 'module', 90, 0), ('0ded2ae1-c2fe-4782-a9b0-60db324325a9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Users', 'module', 90, 0), ('0f1c447a-46b8-4536-b8e4-a9fc9b00a45b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Prospects', 'module', 90, 0), ('0f77c0fc-3f15-48e3-8044-89624228492c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionOptions', 'module', 90, 0), ('0fc7e450-cb05-4c44-8269-26dab9d39bde', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'InboundEmail', 'module', 89, 0), ('11dfde1d-26f5-48fb-b82b-ef4f108ebd1b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_Knowledge_Base_Categories', 'module', 90, 0), ('12cac548-86f6-4c2a-858d-50a31478d5ca', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionOptions', 'module', 90, 0), ('12d77e10-d41c-4647-b91a-a10bccd148fc', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProspectLists', 'module', 90, 0), ('1309b050-9343-4a4c-b076-65b6d88cd83e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Scheduled_Reports', 'module', 90, 0), ('1354ec1e-0e68-4865-8b9b-6764789ba25d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Accounts', 'module', 90, 0), ('13989e8e-2598-41e6-8c20-c6e7097ca159', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_TaskTemplates', 'module', 90, 0), ('13e5fb43-9f59-4b19-be98-a0aabdaca9de', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Alerts', 'module', 90, 0), ('146a4412-4b07-4685-832d-6f2188d1d3f9', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'TemplateSectionLine', 'module', 90, 0), ('14e89795-7bd1-4141-8b81-a37c934ee52d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Meetings', 'module', 90, 0), ('172a7a92-d585-4240-8e3b-0acce45cdf1e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Documents', 'module', 89, 0), ('17b58ee7-1774-442d-a8bb-8e0e6801f07d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'CalendarAccount', 'module', 90, 0), ('17febca8-ae28-4806-b406-57eab70ea754', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Campaigns', 'module', 90, 0), ('18c48060-513b-4105-98f4-9d623788ded4', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionOptions', 'module', 90, 0), ('19045c6a-f69f-4476-bff5-fc743c04de94', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionResponses', 'module', 90, 0), ('1b627821-3f22-4ae5-b1d0-703958686b97', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Emails', 'module', 90, 0), ('1b7fa2ed-580f-401b-a463-9e9af94b7ba2', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Notes', 'module', 90, 0), ('1b93c6a0-8975-461f-9ca0-ae80ee86fc68', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Reports', 'module', 90, 0), ('1cf08478-bc8f-46d1-9bd4-ab884d8fa893', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Campaigns', 'module', 90, 0), ('1d0264e0-e634-4668-9f6a-54bb77c2577c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Project', 'module', 90, 0), ('1d55e78b-e841-4376-a132-679b7bad6bea', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Emails', 'module', 90, 0), ('1d757eee-5c86-4c68-a04a-9c3dd904dc74', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_Knowledge_Base_Categories', 'module', 90, 0), ('1d99eb1f-2720-4d7b-982f-46effe8c8564', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Address_Cache', 'module', 90, 0), ('1dcf6105-6e09-4f0b-ad11-e9de42c85e84', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Emails', 'module', 90, 0), ('1e49eec3-2cee-492a-b8b4-1d88adcc9549', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestions', 'module', 90, 0), ('1ef372e2-0de0-4985-a24f-acb796f73378', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Bugs', 'module', 90, 0), ('1f32dde9-e663-4fbf-9270-52289e3d09e4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Product_Categories', 'module', 90, 0), ('20d6d2fc-3469-4ee9-a101-26e2ae7392d8', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Quotes', 'module', 90, 0), ('217be4bd-1651-47d5-800f-e25e45628047', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOD_Index', 'module', 90, 0), ('21c3a73d-5d20-4adb-a484-2f9fe4d5be1b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Opportunities', 'module', 90, 0), ('223e459b-c374-4d00-b28b-cfc516db49b8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Accounts', 'module', 90, 0), ('23599d6b-9aa8-4ccd-9e50-6164a71cadf6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Contacts', 'module', 90, 0), ('23d1909e-3ed0-409f-b4ad-8f80ec84f803', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls', 'module', 90, 0), ('23d6b702-ce88-4173-9a1a-770d72958e36', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionOptions', 'module', 89, 0), ('242f84cf-9c43-423a-948a-160ef5e552a6', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_PDF_Templates', 'module', 90, 0), ('2446dd28-695a-48da-8c2b-0e2852347962', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Contacts', 'module', 89, 0), ('250cfcc8-4f7d-4f41-8259-0f634ac4edb2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Events', 'module', 90, 0), ('25d73d2a-effa-4e1a-8049-c6d0f4427d04', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_TaskTemplates', 'module', 90, 0), ('2602ed49-7179-4275-b834-b44c4d747941', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'OutboundEmailAccounts', 'module', 89, 0), ('2653ced0-9df1-4622-b63e-54f0106691f4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'OutboundEmailAccounts', 'module', 90, 0), ('272a8faf-d165-44e8-9f3c-9930dc6d5bf1', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_PDF_Templates', 'module', 90, 0), ('27c0834b-8409-4870-a9fd-2d983c740252', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthConnection', 'module', 90, 0), ('2845601c-39f7-4f55-809d-e325c43a58df', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_Event_Locations', 'module', 90, 0), ('29216d3d-383b-47ef-be61-a2b9c3ddc0e3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Contacts', 'module', 90, 0), ('29a9193c-0354-4e7e-b253-42ea5aa23328', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_PDF_Templates', 'module', 90, 0), ('2a244ecc-ef6a-4714-8710-eb3fc46c65cb', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyResponses', 'module', 90, 0), ('2b02864e-cb6d-4986-9f7d-dbf67025b085', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Markers', 'module', 89, 0), ('2b5d22a3-95e4-45fd-b64c-2cba20828843', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Alerts', 'module', 90, 0), ('2bd3b549-e298-4776-8459-6ebfddfaba47', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailMarketing', 'module', 90, 0), ('2c0b79c8-f097-4c5d-84a0-eea932d5c122', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'InboundEmail', 'module', 90, 0), ('2c4e0bb0-78ad-485a-aad1-3f74c4a54560', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Cases', 'module', 90, 0), ('2cd2decd-7337-460d-b542-448ff2d24e44', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Leads', 'module', 90, 0), ('2d58602a-62a3-4c57-9826-0692a06a200c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_Knowledge_Base_Categories', 'module', 90, 0), ('2d6929cd-ae14-4606-a163-54f649f23ad6', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Product_Categories', 'module', 90, 0), ('2dae884c-d692-45b3-9b29-549f08181d2c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Scheduled_Reports', 'module', 90, 0), ('2ddf10d8-6c49-4970-80a7-f9477d031598', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOD_IndexEvent', 'module', 90, 0), ('2ecd06c0-32ef-494e-9b71-185d55618596', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailMarketing', 'module', 90, 0), ('2efd24b5-233b-4599-b23c-d9da67dca723', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_Processed', 'module', 90, 0), ('2f4c348c-ee46-4123-ab31-cdf113a41292', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Project', 'module', 90, 0), ('2f72f0a0-0a84-44fc-ac02-cd19876f338b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthProvider', 'module', 90, 0), ('2f99380a-d533-45e9-b389-15d995c0b911', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls_Reschedule', 'module', 90, 0), ('308aa842-8ccd-491d-9bc4-dffcd6c1e5ca', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailTemplates', 'module', 89, 0), ('30f74a7f-ba48-4ffa-8b94-e04a5c504ce4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Maps', 'module', 90, 0), ('311d801e-eb41-444c-a759-c29f4f5c6aff', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'OutboundEmailAccounts', 'module', 90, 0), ('321b1a4e-cc45-4300-b411-5df342b4c6e8', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_TaskTemplates', 'module', 90, 0), ('32448bfc-be89-4e09-9f79-e33736c3ae40', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_WorkFlow', 'module', 90, 0), ('326f60b8-1d55-4209-a071-728efc4db303', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EAPM', 'module', 90, 0), ('32962252-b45a-4337-a206-4d2b88ba597a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Markers', 'module', 90, 0), ('32b625c1-af37-4c72-b4bf-e261ed1e7fe2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Cases', 'module', 90, 0), ('32d21a10-6ff5-4425-b12e-0e66237cc3db', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Tasks', 'module', 89, 0), ('32d68cf0-9a8f-4d33-a979-09ffd37c59d8', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Project', 'module', 90, 0), ('340cdd73-fabb-46a2-b786-1a565b9e5b71', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Emails', 'module', 89, 0), ('34e0ce41-154a-4d89-9469-7b6012ec5931', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Markers', 'module', 90, 0), ('35019c19-6fb9-4b2d-9f87-09fe88b81cac', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Tasks', 'module', 90, 0), ('36fb4029-a8f2-4c74-818c-ec5a36ee8617', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Areas', 'module', 90, 0), ('374fa957-c913-4de7-8c38-cd7c3486714f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'InboundEmail', 'module', 90, 0), ('37ae01b0-d7b6-40c4-871d-effef9128e17', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Users', 'module', 90, 0), ('382a1720-32fa-4c62-94ff-d77018d7f4aa', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Contracts', 'module', 90, 0), ('38877be1-8d88-446b-b1ea-c4938bbe731a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_Knowledge_Base_Categories', 'module', 89, 0), ('38af8c3d-9a89-4d3a-b61b-c334b244a5ea', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Leads', 'module', 90, 0), ('38fb6825-b84b-430b-b320-6ac2a22584f9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Contracts', 'module', 90, 0), ('395db4c2-37b8-4cec-af18-e7d99e78cdb4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Project', 'module', 89, 0), ('3a537d79-6c7e-4f56-aebe-4edcbe628e55', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Events', 'module', 90, 0), ('3aaf890f-5955-4308-8222-f7ac2b5ac255', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_Event_Locations', 'module', 90, 0), ('3ac26233-af19-470f-991a-f912dc4ea953', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Quotes', 'module', 89, 0), ('3aca93a3-482c-4e67-be04-322a9346a84f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Maps', 'module', 90, 0), ('3be267d4-7158-4429-bacb-2aab53cadcfd', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'CalendarAccount', 'module', 90, 0), ('3c05f74b-3c08-4394-b592-edd63d7f9e60', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_Event_Locations', 'module', 90, 0), ('3c67a47d-6194-4cc5-b4f1-e8819cfcbccc', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_Knowledge_Base_Categories', 'module', 90, 0), ('3d042fdc-e4ac-4e1c-aeda-32a4db7559bd', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_ProjectTemplates', 'module', 90, 0), ('3d304cd7-fb47-42f3-a8d4-cb995e050960', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestions', 'module', 90, 0), ('3d903ad9-3ee5-4756-9b66-d6c55f4b7336', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Emails', 'module', 90, 0), ('3f102674-337c-4644-902f-e4c84419d050', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailTemplates', 'module', 90, 0), ('3f8be339-e55a-4caf-a276-7a6ba6b69363', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Spots', 'module', 89, 0), ('402fded9-6a4c-4835-94b1-4c45c307e0ba', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Opportunities', 'module', 90, 0), ('4082a3a5-b46f-40df-820a-2d568728c4c1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Scheduled_Reports', 'module', 90, 0), ('40d36d92-e2c3-4c83-b405-3c3eec743d3c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Areas', 'module', 90, 0), ('4268a5ac-38b1-4009-a5d3-d339ffcc801e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'CalendarAccount', 'module', 90, 0), ('42a7f191-1837-439b-bb59-a5a31d1e4413', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Tasks', 'module', 90, 0), ('43882b04-0380-4517-bf45-6f7c11ce8812', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'InboundEmail', 'module', 90, 0), ('43caf225-cb89-4179-a40f-da820dfc4c85', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_KnowledgeBase', 'module', 90, 0), ('449d05dd-3438-479e-90e7-83abc5f685af', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Markers', 'module', 90, 0), ('450261c2-1b0d-4c1c-bc9e-7ffd1173bfdb', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_KnowledgeBase', 'module', 90, 0), ('45200c89-e715-472d-8d51-7730b7d51711', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Campaigns', 'module', 90, 0), ('45b2b6dd-76bd-4f76-8ac0-7fc69266bf72', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EAPM', 'module', 90, 0), ('4633c5cd-dc95-4660-b6df-9663bef76bb2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailMarketing', 'module', 90, 0), ('4642331a-6cca-4085-9409-a98f01424460', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_events', 'module', 90, 0), ('46930e6a-a747-4ffd-825e-0fbcb548bc97', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Updates', 'module', 90, 0), ('478eb238-333c-4b76-b178-1a207ae2e7bc', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthConnection', 'module', 90, 0), ('47e6ee12-2b33-476f-bcc0-2d10649254dc', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestions', 'module', 90, 0), ('480a914e-9bfa-48b1-aa17-d56502b144e5', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthProvider', 'module', 90, 0), ('4832a3ce-9dbc-43df-89bb-1d2338d575f9', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Quotes', 'module', 90, 0), ('4853161e-87f1-418b-acb7-467af93346b0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Products', 'module', 90, 0), ('4872bab6-392b-4775-bda6-26b4f1bfd4aa', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionOptions', 'module', 90, 0), ('48a2517a-c593-4237-86f3-6b428668d28d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestions', 'module', 90, 0), ('4909bd46-8b41-4997-b363-7018587daa04', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Maps', 'module', 90, 0), ('49d84363-6ba1-4380-9c43-11b0147c5c5b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Documents', 'module', 90, 0), ('4b51698e-8355-4dee-b0db-cc8d77e420ea', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Prospects', 'module', 89, 0), ('4ca9f80a-d9be-4830-b7f4-64661ab9852f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Opportunities', 'module', 90, 0), ('4ccb7c8b-96da-4b10-9578-8e0ef5ed5d4a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_Processed', 'module', 90, 0), ('4d9962de-29d2-49f5-9006-f25b655ffa3b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Surveys', 'module', 89, 0), ('4d9b46b7-a15d-40de-91e6-cc643d5d5f9e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthProvider', 'module', 90, 0), ('4e773847-2144-4194-bf32-6dc3b6e72064', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Campaigns', 'module', 90, 0), ('4f54b24d-f082-4035-824c-7f56d85b96b5', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_Event_Locations', 'module', 90, 0), ('4f76ca70-948e-4efc-aec7-248135b8db7b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthConnection', 'module', 89, 0), ('4fd0d178-e073-4455-b8b3-18e4aa4b5674', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_PDF_Templates', 'module', 90, 0), ('4fd9cce6-cf26-4db6-80c4-0269ea3742b0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Alerts', 'module', 90, 0), ('502446ca-bcaa-422c-9052-e4fb20f83872', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls_Reschedule', 'module', 90, 0), ('503dda67-84ea-4435-b737-c827aafd529b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Events', 'module', 89, 0), ('5042669c-9467-45c6-92fe-1997a3f0faa1', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Accounts', 'module', 90, 0), ('504715d1-da12-48dd-98b4-545be6d65773', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Users', 'module', 90, 0), ('505a8106-eaf7-4a7d-aa4d-d8c2de320b51', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionResponses', 'module', 90, 0), ('5077b0b5-f949-4ab9-8c24-bb9af8e4fa0a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Tasks', 'module', 90, 0), ('50f29d26-90ad-4bbe-9ee1-36c50d3a8bb0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Opportunities', 'module', 90, 0), ('512e6420-224a-4f15-8e18-f1a949cf7e49', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_Processed', 'module', 89, 0), ('518fe59e-0217-4683-bc5c-a38932d1f12d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'InboundEmail', 'module', 90, 0), ('51a1353b-1553-4374-8a9d-330fe1c65cb0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_Processed', 'module', 90, 0), ('536062c9-b666-468a-989d-4516a5f624b0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_KnowledgeBase', 'module', 90, 0), ('537b53f4-862d-4b0d-889a-cb7264f6b54a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProjectTask', 'module', 90, 0), ('53b5dc7f-3f06-42f8-a732-cd465564ab54', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_Event_Locations', 'module', 90, 0), ('5472744c-8e40-4c34-9088-d73b155f39ce', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_Knowledge_Base_Categories', 'module', 90, 0), ('56053525-e4c3-4983-aa73-8aadd0fbdf7e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthProvider', 'module', 90, 0), ('565f787c-1631-4acb-847d-84bb5623169f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Alerts', 'module', 90, 0), ('56a9a8fc-6795-49f7-81f0-8c2c7e3d3677', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Prospects', 'module', 90, 0), ('57048c07-6023-47c2-b40e-65e8e531fe7d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_events', 'module', 90, 0), ('573a4341-11ce-4dee-ba4f-aab5a04f370f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Bugs', 'module', 90, 0), ('5887472c-a0ca-4fe9-a692-3fbc7f62b7cb', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Spots', 'module', 90, 0), ('588b86dd-c618-4eb7-86c4-71b39963392e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'TemplateSectionLine', 'module', 90, 0), ('59cea8d6-8062-4af9-a801-a313af7ef139', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Address_Cache', 'module', 90, 0), ('5a6f2553-ec75-4a08-b9a7-9d2d2bf80c6e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EAPM', 'module', 90, 0), ('5ae1f8d6-04cb-44b2-94db-fad47a8b3491', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Surveys', 'module', 90, 0), ('5ba5c11d-bb39-40d5-b8a2-a6e5261b6b42', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Maps', 'module', 90, 0), ('5d290388-af54-469a-8dd9-a0e741397d12', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Campaigns', 'module', 90, 0), ('5e067df9-a368-421c-a41a-7768429f734d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_ProjectTemplates', 'module', 90, 0), ('5fb367af-6bec-4592-8331-fdfc1baae405', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Areas', 'module', 90, 0), ('5fcf7716-a710-45d1-a180-084d6353a8b5', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Meetings', 'module', 90, 0), ('601baa33-f200-445a-bd67-1b8572a5238d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionOptions', 'module', 90, 0), ('60751b01-ff8f-474d-8e4f-688092055f11', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Bugs', 'module', 90, 0), ('6079c04b-7f98-4bf7-8b66-08e003ce32ad', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Spots', 'module', 90, 0), ('60f14d11-3b35-4fdd-8495-37db143e8af6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_TaskTemplates', 'module', 90, 0), ('6142fb04-935c-49f2-bf6c-880804475c45', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_WorkFlow', 'module', 90, 0), ('61c93350-7619-4eb1-87be-bddfc302ce80', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'CalendarAccount', 'module', 90, 0), ('62105b13-792c-4596-ab54-26565c6dae14', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Address_Cache', 'module', 90, 0), ('62a32ac4-cd89-4c4c-9668-8d7a0a23f888', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_PDF_Templates', 'module', 90, 0), ('6323abbc-5baf-45ce-9c0f-cb417aeb2b62', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailTemplates', 'module', 90, 0), ('63388ba2-0600-4342-9553-90df63545b43', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_events', 'module', 90, 0), ('63a3842e-9af7-4570-af81-d7ad7f76854f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Opportunities', 'module', 90, 0), ('63da30f5-24b8-4154-bf2f-43fc22708899', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls', 'module', 90, 0), ('643d583b-0890-4e9e-9b23-26c9bff07b76', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Invoices', 'module', 90, 0), ('643de54b-651b-4665-aad9-5dba5bc936ac', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EAPM', 'module', 90, 0), ('645316c0-1f43-4ebb-90c3-6604f5694176', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SecurityGroups', 'module', 90, 0), ('652047a8-9cd3-4d4b-9db1-2e801f3d29c8', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Meetings', 'module', 90, 0), ('6665fbb6-f73f-4f3f-8611-0423c956acad', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOD_Index', 'module', 90, 0), ('66dded5d-170f-4d1e-83cd-b200c17a8237', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Reports', 'module', 90, 0), ('66ec2418-1d1d-4de2-bbeb-561f8ce0fe38', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionResponses', 'module', 90, 0), ('66f83f83-776c-4e18-ad43-783803069095', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Campaigns', 'module', 90, 0), ('67e9df87-1242-4625-a838-0c91d73f89b9', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Leads', 'module', 90, 0), ('6918cce1-059b-43dc-8c15-5c2213eaa3c7', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EAPM', 'module', 89, 0), ('69f24d87-0e52-4017-ba61-c0f8bfe32feb', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Updates', 'module', 90, 0), ('6a51e4da-0f20-4c78-bd18-772abbe2c22b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Updates', 'module', 89, 0), ('6a8b7ef1-8cce-4e25-9e93-66bd88633d24', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Prospects', 'module', 90, 0), ('6b05bd22-b3d2-49f7-bc8a-5f30716b96a4', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_TaskTemplates', 'module', 90, 0), ('6cc5ef9d-1a4c-42c0-8c1b-c4c366ee6533', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Products', 'module', 89, 0), ('6d706043-c103-4e21-8021-a83467bc7fad', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Markers', 'module', 90, 0), ('6d9ff6e2-2dda-4c14-b5e0-de99be1d7c0b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Reports', 'module', 90, 0), ('6ec9700e-d3f6-4dea-aa70-1d70c1906685', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyResponses', 'module', 90, 0), ('6f05feca-dd7f-4080-97d9-aa95dc86aff2', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_ProjectTemplates', 'module', 89, 0), ('6f1af960-42d5-4af0-9a9e-88eb25f24e6c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Spots', 'module', 90, 0), ('7052bc30-fbc4-4978-b9db-952ba4d35e5a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailTemplates', 'module', 90, 0), ('705649de-860e-4496-99c1-c58bad7dae51', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls', 'module', 90, 0), ('7173752f-5b81-452c-8037-c5c5854bb9c7', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Reports', 'module', 90, 0), ('718d7099-b76d-450e-91c4-e6849340646c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOD_IndexEvent', 'module', 90, 0), ('719e18be-78c8-4432-ac01-ba3a31a0da01', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Events', 'module', 90, 0), ('721fed08-be2a-4e63-b32f-1e669d57c44a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailTemplates', 'module', 90, 0), ('72d3a722-c06e-464f-8f02-bb8352be0c1b', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Scheduled_Reports', 'module', 90, 0), ('72e9f143-b7ed-432a-b93e-228187466748', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Updates', 'module', 90, 0), ('72f8a8f3-a7b6-4dc1-9b1b-4640b678e501', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Leads', 'module', 90, 0), ('7365be39-f903-4235-82a4-8cc8cab9034b', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Tasks', 'module', 90, 0), ('7388243a-8599-4a08-81e0-bdacdb663b73', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EAPM', 'module', 90, 0), ('7391bfa6-e3dc-44df-8459-954cd8aa8d5d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Project', 'module', 90, 0), ('75d6b2bc-20ad-4f3a-9afc-1570f940c53b', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Reports', 'module', 90, 0), ('7650ea85-0eb6-4769-beb9-d27e86703fad', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Leads', 'module', 89, 0), ('7671b591-11de-4467-a667-6be967222c97', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_WorkFlow', 'module', 90, 0), ('7739bf0e-3a17-492d-aa0d-4814fd63c3bf', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_Event_Locations', 'module', 89, 0), ('784f4536-5fb9-4513-95b6-b8b3bad19d5a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Maps', 'module', 90, 0), ('78933df1-8b1a-4e70-befb-d500739453c5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Meetings', 'module', 90, 0), ('78bf8b95-a653-434d-a12c-03143c99d894', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Meetings', 'module', 90, 0), ('7ad94832-b034-4665-8471-119fc7ff7f36', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Spots', 'module', 90, 0), ('7b1b141b-5f92-4d7b-857b-bde0459616be', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_Processed', 'module', 90, 0), ('7b7e1c63-1fed-477a-92b7-e88ab7784c12', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_TaskTemplates', 'module', 89, 0), ('7bae3284-b287-4cb0-b71c-97c0a4cad645', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Products', 'module', 90, 0), ('7dc36acd-3ed6-45e4-a96a-24f94371367f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthConnection', 'module', 90, 0), ('7e07ecde-b478-4f9e-9064-2aea94335814', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Address_Cache', 'module', 90, 0), ('7e0d7e6b-6d56-41af-a45d-b791781828a7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'OutboundEmailAccounts', 'module', 90, 0), ('7e126686-71aa-406b-ad79-47a803bedbde', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_Processed', 'module', 90, 0), ('7e28d0a8-80bc-4535-86dd-a7ec2f638453', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Reports', 'module', 90, 0), ('7efc1a16-2df3-4d7d-a04b-eb0bb0f83a71', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProspectLists', 'module', 90, 0), ('7f3ba083-955d-447e-9b90-1d21047606b0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_Processed', 'module', 90, 0), ('808bd087-648d-4004-9cca-1cb68db4a6f8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Address_Cache', 'module', 90, 0), ('8113531c-0a62-469c-a57e-ebb1291db129', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOD_Index', 'module', 90, 0), ('8232fc7d-625a-49a8-9ffe-b89325fb17f1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SecurityGroups', 'module', 90, 0), ('824b7c01-decb-4de4-881a-9c598854b37a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Markers', 'module', 90, 0), ('832bbca0-bd0f-486f-b9c9-567ee6f0c743', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Areas', 'module', 90, 0), ('8495a4b3-e314-4765-be94-e93cd104071a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Project', 'module', 90, 0), ('8505c10c-aa22-4fd9-9b6f-a63bd0d2056b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestions', 'module', 89, 0), ('851c1196-3f52-42a8-a063-4318805aaefd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionResponses', 'module', 90, 0), ('853f4cf9-5813-4417-a2b8-22469961d3fe', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Users', 'module', 90, 0), ('85d14b7e-647f-440b-bea8-962af26986c3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_events', 'module', 90, 0), ('86418d8b-d6e3-4871-a5b9-bac78968d0cf', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Prospects', 'module', 90, 0), ('86d44660-6f8d-47c4-8454-4586cf445fcc', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_ProjectTemplates', 'module', 90, 0), ('870c330c-d38e-41d5-b30b-aab70fce9e4d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Markers', 'module', 90, 0), ('8713ed29-777a-468a-ae97-9af60fc1070b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Cases', 'module', 89, 0), ('8775e14d-1d2c-42e1-b8de-1d5268be5e97', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProjectTask', 'module', 89, 0), ('8806a4ab-bb85-49ab-a3c7-0c2c4a25beba', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionResponses', 'module', 90, 0), ('8824f394-7d68-435e-a42c-6eb8317595dc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailMarketing', 'module', 89, 0), ('885750f7-f747-422f-971f-1cb63cfdc09d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Areas', 'module', 90, 0), ('88f60e31-a728-4bef-bf41-dd4a05d12630', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'InboundEmail', 'module', 90, 0), ('8907f405-e5a2-4adf-ad67-e592205fed2c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Leads', 'module', 90, 0), ('8a0e5412-80ad-43bc-9b43-96f17321f6b9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_KnowledgeBase', 'module', 90, 0), ('8a43a886-2aa7-41bd-b475-2b263d12fc71', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_Processed', 'module', 90, 0), ('8ae279d6-4f51-4f90-8f12-6950b18ac517', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Product_Categories', 'module', 90, 0), ('8b0bffb9-6b10-4ae6-a112-4a7e1605da7c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailMarketing', 'module', 90, 0), ('8ca4b1b5-e20a-4ca3-b1c4-8924db728920', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_PDF_Templates', 'module', 89, 0), ('8cc09448-bf1f-4d75-b5ce-6eab0e770be0', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Invoices', 'module', 90, 0), ('8cca9afb-e76a-440e-b68c-3efe1fb410b4', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'TemplateSectionLine', 'module', 90, 0), ('8ceeffa4-62dc-4d95-8898-44294140b911', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Reports', 'module', 90, 0), ('8d3a6361-fef0-4048-9c33-2815a48e691f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOD_Index', 'module', 90, 0), ('8d7c6dbb-dcf1-4732-8d3f-ba79e10a754c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Maps', 'module', 90, 0), ('8ebcdc67-c410-452d-ad94-181605f97f0a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'CalendarAccount', 'module', 90, 0), ('8eeed4eb-1eb0-4cb3-a767-8bd1f250a5a0', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Alerts', 'module', 90, 0), ('8f3bf758-d780-46a9-9d90-d2b3f8ba3732', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'TemplateSectionLine', 'module', 90, 0), ('8f616db6-58ac-4401-99c5-da714bcb436e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Documents', 'module', 90, 0), ('90275ee5-b8bc-420d-8699-3313b2398702', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Campaigns', 'module', 90, 0), ('912b4914-30e2-41e7-9de0-a03a86074dca', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Accounts', 'module', 89, 0), ('938d332e-a54a-4dcb-9723-142434e8e14c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'CalendarAccount', 'module', 89, 0), ('93b9a126-bd35-4e56-999a-c4bbe167addb', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Surveys', 'module', 90, 0), ('94f44d74-e136-4201-b2cb-e68630e1367f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_ProjectTemplates', 'module', 90, 0), ('951bcf42-df28-4606-827b-9e81a8da403a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Accounts', 'module', 90, 0), ('954923d5-fa26-4fe0-8d0d-7a21703c97b3', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Documents', 'module', 90, 0), ('95af52de-762c-40a2-9fe8-03f7c21a1d31', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProjectTask', 'module', 90, 0), ('95bfc5db-5f49-4a7b-a963-cdf9737c99e5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'OutboundEmailAccounts', 'module', 90, 0), ('96055fc6-eb98-4c88-b6e9-ba0ae669a8b0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_KnowledgeBase', 'module', 89, 0), ('96482d0c-962e-4303-b2b8-5852f224eeb3', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOD_IndexEvent', 'module', 89, 0), ('964f6ea8-ff02-498e-a6a9-e4926a5a6d0e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Maps', 'module', 90, 0), ('969d0b6c-10ce-47fd-b30a-a7e24776c384', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Products', 'module', 90, 0), ('96b74ba8-d369-4f4b-9e65-65c73c909fcb', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Cases', 'module', 90, 0), ('96db26bd-cde5-4042-a789-fd20be24e16f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Surveys', 'module', 90, 0), ('977700e7-8aa7-469a-9cff-db97d2d3eaf2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProspectLists', 'module', 90, 0), ('9923f16e-90ed-4326-baac-c68d71d033e2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Meetings', 'module', 90, 0), ('99c11c37-5f13-4469-8cb0-fac9ba3db024', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailMarketing', 'module', 90, 0), ('99db4b8d-6cbc-48ad-b5d9-57d8d90b4ee9', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Prospects', 'module', 90, 0), ('9a0c8500-a0f2-427c-8c28-1bbc6d54e40b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls', 'module', 90, 0), ('9b7e30ff-b338-44a4-99c6-acd0d9785c87', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOD_IndexEvent', 'module', 90, 0), ('9bb97c24-84f2-4647-8b37-4b691e7ecc65', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthProvider', 'module', 90, 0), ('9bcec9fe-a928-40ec-a437-001d82b35368', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls_Reschedule', 'module', 89, 0), ('9bd18fe1-5a7b-44e6-967d-9cb44dd9103b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyResponses', 'module', 90, 0), ('9bd8b85c-98bf-45df-bca3-b1fd86f36033', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Scheduled_Reports', 'module', 90, 0), ('9c30108c-2432-4a84-8bb0-43162b597a7f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_WorkFlow', 'module', 90, 0), ('9c6a79ee-c330-4c17-9583-408734525766', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Users', 'module', 90, 0), ('9ca87d47-723b-4318-b6f7-a576886cd5a7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Emails', 'module', 90, 0), ('9cebdfe5-d58e-4303-bb13-5520aebe398e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProspectLists', 'module', 90, 0), ('9d69bca8-0152-4b74-814b-5ba1fe371580', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProjectTask', 'module', 90, 0), ('9e956cf1-23a9-48ea-b758-84f00a9d7afc', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SecurityGroups', 'module', 90, 0), ('9ea49475-ecc2-4403-bba3-5b26666f0679', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProspectLists', 'module', 90, 0), ('9f226124-90a1-43ee-87de-b57fab34fbfb', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Campaigns', 'module', 89, 0), ('9f3d3396-4df2-4dc6-aaae-f2a19a35198d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Notes', 'module', 90, 0), ('9fdc7993-2d97-4d34-8260-cce319cf539f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestions', 'module', 90, 0), ('a11e9953-f6e8-4ff5-a8da-80f8b3d55143', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProjectTask', 'module', 90, 0), ('a19c3f89-ce91-4a41-9375-a031d1b9d8ef', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Documents', 'module', 90, 0), ('a1bb5292-421e-47cb-a93b-68588ddf5115', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_events', 'module', 90, 0), ('a2bc4fe6-69a7-4e98-98d0-7cfb25aff53f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Invoices', 'module', 90, 0), ('a4d83511-f327-4488-af48-15327440d4a9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Cases', 'module', 90, 0), ('a5c2462c-f984-48e1-a545-468f012c32d4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Contacts', 'module', 90, 0), ('a621874c-a71f-4fa2-9834-535b534d4e89', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Accounts', 'module', 90, 0), ('a636a5a8-335c-412c-9caa-6b446a4947d8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_PDF_Templates', 'module', 90, 0), ('a7189a71-6449-41ae-aefc-598c4248f6df', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOD_IndexEvent', 'module', 90, 0), ('a8731f89-fcc7-42d3-8051-6ad6aa31ef96', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthProvider', 'module', 90, 0), ('a8734bba-9e12-45fc-afbb-c055fed6a77a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Notes', 'module', 90, 0), ('a8b3860b-1223-4619-941d-6e8196f0c909', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Bugs', 'module', 90, 0), ('a990fda5-12dc-4ca6-b19e-ce5acce59ae9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Contracts', 'module', 90, 0), ('aa092e49-ab05-4d40-8073-84adf7df1943', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyResponses', 'module', 89, 0), ('ab48bba9-483f-42ed-938d-016188d26b3f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Areas', 'module', 89, 0), ('ab8fab54-27ee-41c6-855c-142855beb10d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Product_Categories', 'module', 90, 0), ('abe0a934-82f8-47e6-9539-86a652bfd00b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Alerts', 'module', 89, 0), ('ac43580f-c04b-401e-b6f6-40612c9b320c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Invoices', 'module', 90, 0), ('ad21d882-5b12-424c-8f5d-7a4d773f74aa', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Events', 'module', 90, 0), ('ad7dcd54-8fc5-474f-887f-fea0714405a9', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Areas', 'module', 90, 0), ('ae6878e4-23d2-4ed1-a5d4-075407d1d8cf', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_Event_Locations', 'module', 90, 0), ('aefe5678-657d-435a-94b7-4b758b09bd82', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'InboundEmail', 'module', 90, 0), ('af2efcaf-c8c4-4adb-a1d4-f7f6cd2e5f6c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Scheduled_Reports', 'module', 90, 0), ('af9cdf7d-7647-4843-a7d2-29004090ec97', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Users', 'module', 90, 0), ('afea592a-7f09-42a9-80be-0daafd6b79f6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyResponses', 'module', 90, 0), ('b09e899a-4c09-424a-81a2-b43386bfe0ed', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Contracts', 'module', 90, 0), ('b0bd0635-2990-4fa2-ad2e-fb38dc9b15ee', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailMarketing', 'module', 90, 0), ('b0f1a40e-73d4-4e5b-9b81-57d130d62565', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_TaskTemplates', 'module', 90, 0), ('b1a0ef21-190e-437a-b562-b63568470714', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_Knowledge_Base_Categories', 'module', 90, 0), ('b1e249eb-5d1b-4817-914d-53b0e3b264ff', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Scheduled_Reports', 'module', 89, 0), ('b2cb9dea-c64c-4246-981b-d8a28f6cdfa1', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProjectTask', 'module', 90, 0), ('b4ed636c-6414-4eb5-905f-2ddab97372ab', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'TemplateSectionLine', 'module', 90, 0), ('b577f2c6-b594-49f3-9d23-cf58af80d31a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthConnection', 'module', 90, 0), ('b59790a7-0f65-4800-85c4-89e01b9cbd23', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Product_Categories', 'module', 89, 0), ('b65e40e2-1b4d-4838-84a2-4323972537bf', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'CalendarAccount', 'module', 90, 0), ('b7e8d256-d420-4213-9259-39d93806b575', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOD_IndexEvent', 'module', 90, 0), ('b7fc1d19-de23-4cc3-b4bd-4059cf4f429f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailTemplates', 'module', 90, 0), ('b80a8762-08ab-47eb-a6fa-e68f55729efc', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SecurityGroups', 'module', 90, 0), ('b859ae6c-392b-4423-a5e2-bb6b620e062f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProspectLists', 'module', 89, 0), ('b8a0b51c-d18b-43b5-bb27-666e58922360', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Project', 'module', 90, 0), ('b978070c-dfd2-4a9c-9da7-0d8f521655bf', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Product_Categories', 'module', 90, 0); INSERT INTO `acl_actions` VALUES ('ba278ab1-d8a0-42ce-a907-c2609d0c424d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthProvider', 'module', 90, 0), ('ba397beb-e7b4-44d0-b899-8a25df4d5835', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Notes', 'module', 90, 0), ('bb658157-49c3-4215-ad6b-edbea3c7a21f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Meetings', 'module', 90, 0), ('bb981c2c-cc4f-47b9-9351-bc4dc5e511b2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EAPM', 'module', 90, 0), ('bbcb924f-6405-4a4d-8b86-fc8ab714d58c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Contracts', 'module', 90, 0), ('bcd7b1e5-16c5-4fe0-bce8-da767a6bd5b3', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Areas', 'module', 90, 0), ('bd7fab48-aaa5-46c3-9e9c-36cb8fb5412f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOD_Index', 'module', 89, 0), ('bdbfac56-4d8b-4a88-84d6-3f93692ba7a0', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_Event_Locations', 'module', 90, 0), ('bdc5ebb8-57c6-45f7-a23e-997b0c081ec3', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionResponses', 'module', 89, 0), ('c05643d9-8504-422c-abd5-ef0e2d8ba5a5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionResponses', 'module', 90, 0), ('c097b094-0e0e-4919-a723-3854d7bc4541', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Opportunities', 'module', 90, 0), ('c171cc65-549d-4f06-8b50-385911180f2d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Prospects', 'module', 90, 0), ('c1817d25-c1de-4850-a715-2241f5a9208c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Opportunities', 'module', 90, 0), ('c19951de-3754-4e81-b2c0-6edbc5a3eb73', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProjectTask', 'module', 90, 0), ('c1ba9c3a-b13a-410c-ab7b-6d415b266205', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls_Reschedule', 'module', 90, 0), ('c279187b-4a2d-4b4d-9beb-367e2e17cf82', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Reports', 'module', 89, 0), ('c2907742-03ca-4136-bd2b-8512f0099733', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Products', 'module', 90, 0), ('c2b03e93-4015-44a2-873c-2b72adff1b60', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_WorkFlow', 'module', 90, 0), ('c316616b-bbf8-45a6-8ccb-fc04a4529b5b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Alerts', 'module', 90, 0), ('c34dc699-347b-4d9f-9e88-f6fe638a4d03', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Invoices', 'module', 89, 0), ('c5164d12-bc12-4698-a443-f852e1640e94', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Markers', 'module', 90, 0), ('c5f6eeae-2f4e-49ac-b125-3de59cf576e7', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Contacts', 'module', 90, 0), ('c604fa0c-1596-49f4-a1d1-5df04e93359f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Quotes', 'module', 90, 0), ('c704cd55-6303-4f16-8b33-b6dfb893a8f4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Meetings', 'module', 89, 0), ('c8ae5b58-8c65-43b0-80ff-d722842a54fe', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Updates', 'module', 90, 0), ('c90c7490-00a4-4448-8781-1f13067a7091', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SecurityGroups', 'module', 90, 0), ('c9b90625-d5a3-4ec6-9847-cba4e3a02bb8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls_Reschedule', 'module', 90, 0), ('cabf42dc-782e-4b9a-88f0-a849b3f93424', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Quotes', 'module', 90, 0), ('cacf2dd7-e95c-45d2-9626-ef670f064249', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Bugs', 'module', 90, 0), ('cadefe3e-9bfd-4e67-8eb0-f5ff84613cf2', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOD_Index', 'module', 90, 0), ('cbe6b8d3-3756-4bd4-b734-24957cf48f49', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'TemplateSectionLine', 'module', 90, 0), ('cdc9bfe6-4614-4f55-aad2-ffde9de12c27', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Spots', 'module', 90, 0), ('cde9a334-9415-4f93-9715-4d70a0fbdb99', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Documents', 'module', 90, 0), ('cec0a3a1-caaf-4cec-a778-05920e37dc6c', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOD_IndexEvent', 'module', 90, 0), ('d1fceeef-c59d-4006-8ece-2da79b147c81', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'TemplateSectionLine', 'module', 89, 0), ('d29d7b9e-6915-4a17-b36b-45bfbc7fb3ff', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthConnection', 'module', 90, 0), ('d313862d-1947-4e41-8c75-b26beb374033', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_WorkFlow', 'module', 89, 0), ('d41293b3-104d-4459-b146-10c24c5e3ffa', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_events', 'module', 90, 0), ('d4554388-39b3-4111-8559-b769efbf93a6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Contracts', 'module', 90, 0), ('d4ee05d1-b376-4ba1-8cbc-ee040bd86c96', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailTemplates', 'module', 90, 0), ('d6b39da0-1da7-4662-9b95-aba454ab37ae', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Events', 'module', 90, 0), ('d794c1fd-7170-42ca-bed9-a3fbd1c62b40', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'TemplateSectionLine', 'module', 90, 0), ('d812c5bb-6850-48fb-95f5-47c766885229', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Contacts', 'module', 90, 0), ('d84c9fc7-6dd8-4e83-a16b-6e2826550216', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Contracts', 'module', 89, 0), ('d913c29e-5395-4d60-b3ec-a6047d103285', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Quotes', 'module', 90, 0), ('d99a97e5-d595-4161-b15b-f920e8950f21', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthProvider', 'module', 89, 0), ('d9bf2396-278e-4686-a91a-9700e3e87237', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EAPM', 'module', 90, 0), ('da73268b-7a27-4575-afde-519b15681b94', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOD_Index', 'module', 90, 0), ('daf23933-8816-4ab1-9d8e-bcab7c35653e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Quotes', 'module', 90, 0), ('db2d4174-0923-4d0c-8245-73aaa903f75d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Cases', 'module', 90, 0), ('db7942d6-5a2e-487f-954a-0bae18ce0872', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_events', 'module', 89, 0), ('dc0782b6-f273-444e-8d39-b908eeed283b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Project', 'module', 90, 0), ('dc3de1fd-c8ab-4993-b182-c62ad3443010', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Contracts', 'module', 90, 0), ('dcb4a201-f32f-4d79-b4a3-579ea04437a8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Bugs', 'module', 90, 0), ('dcfef9dd-87e0-4fe2-9200-f5c4fab5d941', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_ProjectTemplates', 'module', 90, 0), ('dd2d5c29-8e7d-43d9-8389-5d3c0d61440c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Address_Cache', 'module', 89, 0), ('dddfaa07-3e13-4fa4-8ea8-7b2f1c44a85a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Accounts', 'module', 90, 0), ('de24042f-43f8-44f2-9370-08f72d13e479', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SecurityGroups', 'module', 90, 0), ('de653e08-ba9c-457e-a5be-224263745caf', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls', 'module', 90, 0), ('e023f17a-6b78-456f-aacb-7843727c54bf', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Quotes', 'module', 90, 0), ('e02a2368-e7ce-4e08-88b2-07134888b1c7', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Invoices', 'module', 90, 0), ('e10d7895-edb2-4b42-b343-cb27769f1102', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Emails', 'module', 90, 0), ('e1353801-c02f-4fb8-83a5-6933410f02cc', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProjectTask', 'module', 90, 0), ('e152e2c3-db09-45b5-8eac-f106a7fc8bb5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Documents', 'module', 90, 0), ('e2731ac2-1ae7-4f84-a040-e9166c71aead', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Leads', 'module', 90, 0), ('e3273735-d29a-454c-bde2-dc7406ae5604', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'CalendarAccount', 'module', 90, 0), ('e3590f65-6115-4127-b3e4-96c57c52e78f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Product_Categories', 'module', 90, 0), ('e444e047-067c-48d5-9b0c-cde00c9cf4d3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Spots', 'module', 90, 0), ('e668c078-10e8-4221-a22e-08cb0cd11f63', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionOptions', 'module', 90, 0), ('e676dc1c-ad3a-44bd-a1b8-119ddfc0730c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_Knowledge_Base_Categories', 'module', 90, 0), ('e8ccc20c-e0f9-4c9f-b633-c258b880da30', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Prospects', 'module', 90, 0), ('e9101fd8-a2e7-4688-b511-7ed248ff8b55', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_ProjectTemplates', 'module', 90, 0), ('ea0d4335-aee0-4fc6-865f-a8a72dffc415', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestions', 'module', 90, 0), ('ea62bef6-ddbc-47a4-822d-691c25343f67', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Users', 'module', 89, 0), ('eb74e6ae-692c-40e9-a325-98e4f4b4af8c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Products', 'module', 90, 0), ('ec2a57b9-9a46-4e30-8bf9-489655719e0b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'OutboundEmailAccounts', 'module', 90, 0), ('ec649701-e3a1-4b8d-bc5c-e7e91cbbbb23', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProspectLists', 'module', 90, 0), ('ed0c865a-39bf-45b7-b4a1-e00a394987dc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Maps', 'module', 89, 0), ('ed4e2cd5-99cf-461f-a298-681cbeb3d98d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Cases', 'module', 90, 0), ('ed5e7ba9-a04b-47c2-aa6b-57216b29e3e4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Bugs', 'module', 89, 0), ('ed8e78e6-d2cc-4160-b2c9-049b4cc9bf84', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Updates', 'module', 90, 0), ('ee5afe40-fe34-4268-abda-719327a02b47', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_events', 'module', 90, 0), ('ee7b6c07-745a-4de4-b92b-6035e0b2ec95', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Events', 'module', 90, 0), ('eebb41f3-22a9-4025-bf9c-94b5e65faa08', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'OutboundEmailAccounts', 'module', 90, 0), ('eed320e6-765c-4a47-aa14-692b04cc4e03', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailMarketing', 'module', 90, 0), ('eef3b020-f13e-4688-a7d5-1485f717b07b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Notes', 'module', 90, 0), ('ef6faa43-94e7-46ec-911f-a02a8d7244cc', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_PDF_Templates', 'module', 90, 0), ('ef8c0f25-d585-4562-baf3-3af920e2d87d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Address_Cache', 'module', 90, 0), ('efd4d12d-2318-4b00-914a-96a443f87569', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls', 'module', 90, 0), ('efd7d4e6-a6f7-4e56-a172-03ecb1fff5d7', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOD_IndexEvent', 'module', 90, 0), ('f0079c97-c1a8-43fd-a3d1-d8390021d89d', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Opportunities', 'module', 89, 0), ('f0276743-27b1-4d60-9c56-dbd8ea29744a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Users', 'module', 90, 0), ('f09d3798-4be2-4921-95af-290cf8c858a6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Alerts', 'module', 90, 0), ('f0a0e45d-128f-4110-ba31-bbd1f77e55af', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Products', 'module', 90, 0), ('f14b0801-dbf5-48ae-ad53-cf7fa3fc4241', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Events', 'module', 90, 0), ('f23453be-4782-4e29-b63a-386c26726127', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Surveys', 'module', 90, 0), ('f2441af1-0990-4143-acc6-671a7fbe0ec2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Address_Cache', 'module', 90, 0), ('f29a0f7a-d64d-4f1a-bd1b-0253e9e29bdd', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Notes', 'module', 89, 0), ('f2eae8a0-0f9b-4b98-a2c5-4968256e1783', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Contacts', 'module', 90, 0), ('f376dfbf-f07a-47e2-9687-a6d026fe394d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyResponses', 'module', 90, 0), ('f4678400-d6bb-4533-83ec-ba90edec4ed3', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Notes', 'module', 90, 0), ('f484cfe1-d5a3-437c-adbd-bcbd7a47ce6d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Updates', 'module', 90, 0), ('f4dfe452-0f9e-4838-8d7b-1811251edf27', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Leads', 'module', 90, 0), ('f5a3287c-8454-4a9d-9432-d1260c9eefc4', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Documents', 'module', 90, 0), ('f5bb97d4-0084-40b1-9bb4-18f9538a7313', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_WorkFlow', 'module', 90, 0), ('f5e61287-fec1-41fd-bda3-c56929293190', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls', 'module', 90, 0), ('f5f552d2-87e3-408d-a4a0-da3d2cca6a08', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_TaskTemplates', 'module', 90, 0), ('f6fca0a6-2bfa-49ba-a5f6-515898da93af', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOD_Index', 'module', 90, 0), ('f73c4104-5bd7-4bab-95aa-e032632e213b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Updates', 'module', 90, 0), ('f754a982-9c6d-4ed8-87bf-e6abfc2ed4b5', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Scheduled_Reports', 'module', 90, 0), ('f8938fb1-b40c-4edb-9f32-457592545f8e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestions', 'module', 90, 0), ('f8cd223c-0d85-46d0-bda4-5dcb7c010184', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_ProjectTemplates', 'module', 90, 0), ('f98652be-1a7e-4df4-a54c-a7cf35e4bc10', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls', 'module', 89, 0), ('f9ea4d92-ec88-4959-aad2-c8a1d1356a25', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Surveys', 'module', 90, 0), ('fb98306a-e3b5-4d91-8ae6-0fc7959467cd', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Invoices', 'module', 90, 0), ('fcdbaf35-7dc9-4bc8-bb0a-77992476e76a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Bugs', 'module', 90, 0), ('feac151e-2bf2-4d56-956b-32112bb2ac8c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Emails', 'module', 90, 0), ('ff249576-bcf7-426f-bb2b-30fd412bb42c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthConnection', 'module', 90, 0), ('ff8306d0-f474-45e4-9a38-799dccb6ba30', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_KnowledgeBase', 'module', 90, 0), ('ffda856d-ca62-4ed5-962c-3390ac90fcdd', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls_Reschedule', 'module', 90, 0); -- -------------------------------------------------------- -- -- Table structure for table `acl_roles` -- CREATE TABLE `acl_roles` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_aclrole_id_del` (`id`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `acl_roles_actions` -- CREATE TABLE `acl_roles_actions` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `role_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `action_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `acl_roles_users` -- CREATE TABLE `acl_roles_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `role_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `address_book` -- CREATE TABLE `address_book` ( `assigned_user_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `bean` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `bean_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, KEY `ab_user_bean_idx` (`assigned_user_id`,`bean`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `alerts` -- CREATE TABLE `alerts` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_read` tinyint(1) DEFAULT NULL, `target_module` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `url_redirect` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `reminder_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_projecttemplates` -- CREATE TABLE `am_projecttemplates` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Draft', `priority` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'High', `override_business_hours` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_projecttemplates_audit` -- CREATE TABLE `am_projecttemplates_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_am_projecttemplates_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_projecttemplates_contacts_1_c` -- CREATE TABLE `am_projecttemplates_contacts_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `am_projecttemplates_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contacts_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `am_projecttemplates_contacts_1_alt` (`am_projecttemplates_ida`,`contacts_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_projecttemplates_project_1_c` -- CREATE TABLE `am_projecttemplates_project_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `am_projecttemplates_project_1am_projecttemplates_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `am_projecttemplates_project_1project_idb` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_projecttemplates_users_1_c` -- CREATE TABLE `am_projecttemplates_users_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `am_projecttemplates_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `users_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `am_projecttemplates_users_1_alt` (`am_projecttemplates_ida`,`users_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_tasktemplates` -- CREATE TABLE `am_tasktemplates` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Not Started', `priority` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'High', `percent_complete` int DEFAULT '0', `predecessors` int DEFAULT NULL, `milestone_flag` tinyint(1) DEFAULT '0', `relationship_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'FS', `task_number` int DEFAULT NULL, `order_number` int DEFAULT NULL, `estimated_effort` int DEFAULT NULL, `utilization` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '0', `duration` int DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_tasktemplates_am_projecttemplates_c` -- CREATE TABLE `am_tasktemplates_am_projecttemplates_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `am_tasktemplates_am_projecttemplatesam_projecttemplates_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `am_tasktemplates_am_projecttemplatesam_tasktemplates_idb` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `am_tasktemplates_audit` -- CREATE TABLE `am_tasktemplates_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_am_tasktemplates_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aobh_businesshours` -- CREATE TABLE `aobh_businesshours` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `opening_hours` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '1', `closing_hours` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '1', `open_status` tinyint(1) DEFAULT NULL, `day` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'monday', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aod_index` -- CREATE TABLE `aod_index` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_optimised` datetime DEFAULT NULL, `location` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aod_indexevent` -- CREATE TABLE `aod_indexevent` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `error` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `success` tinyint(1) DEFAULT '0', `record_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `record_module` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_record_module` (`record_module`), KEY `idx_record_id` (`record_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aod_indexevent_audit` -- CREATE TABLE `aod_indexevent_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aod_indexevent_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aod_index_audit` -- CREATE TABLE `aod_index_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aod_index_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aok_knowledgebase` -- CREATE TABLE `aok_knowledgebase` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Draft', `revision` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `additional_info` text COLLATE utf8mb4_general_ci, `user_id_c` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id1_c` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aok_knowledgebase_audit` -- CREATE TABLE `aok_knowledgebase_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aok_knowledgebase_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aok_knowledgebase_categories` -- CREATE TABLE `aok_knowledgebase_categories` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `aok_knowledgebase_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `aok_knowledge_base_categories_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `aok_knowledgebase_categories_alt` (`aok_knowledgebase_id`,`aok_knowledge_base_categories_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aok_knowledge_base_categories` -- CREATE TABLE `aok_knowledge_base_categories` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aok_knowledge_base_categories_audit` -- CREATE TABLE `aok_knowledge_base_categories_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aok_knowledge_base_categories_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aop_case_events` -- CREATE TABLE `aop_case_events` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `case_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aop_case_events_audit` -- CREATE TABLE `aop_case_events_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aop_case_events_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aop_case_updates` -- CREATE TABLE `aop_case_updates` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `case_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `internal` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aop_case_updates_audit` -- CREATE TABLE `aop_case_updates_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aop_case_updates_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aor_charts` -- CREATE TABLE `aor_charts` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `aor_report_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `x_field` int DEFAULT NULL, `y_field` int DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aor_conditions` -- CREATE TABLE `aor_conditions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `aor_report_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `condition_order` int DEFAULT NULL, `logic_op` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parenthesis` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `module_path` longtext COLLATE utf8mb4_general_ci, `field` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `operator` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `value_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `value` text COLLATE utf8mb4_general_ci, `parameter` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `aor_conditions_index_report_id` (`aor_report_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aor_fields` -- CREATE TABLE `aor_fields` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `aor_report_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_order` int DEFAULT NULL, `module_path` longtext COLLATE utf8mb4_general_ci, `field` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `display` tinyint(1) DEFAULT NULL, `link` tinyint(1) DEFAULT NULL, `label` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_function` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `sort_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `format` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `total` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `sort_order` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `group_by` tinyint(1) DEFAULT NULL, `group_order` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `group_display` int DEFAULT NULL, PRIMARY KEY (`id`), KEY `aor_fields_index_report_id` (`aor_report_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aor_reports` -- CREATE TABLE `aor_reports` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `report_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `graphs_per_row` int DEFAULT '2', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aor_reports_audit` -- CREATE TABLE `aor_reports_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aor_reports_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aor_scheduled_reports` -- CREATE TABLE `aor_scheduled_reports` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `schedule` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_run` datetime DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_recipients` longtext COLLATE utf8mb4_general_ci, `aor_report_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_contracts` -- CREATE TABLE `aos_contracts` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `reference_code` varchar(255) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT 'Type', `contract_account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `call_id` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_contracts_audit` -- CREATE TABLE `aos_contracts_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_contracts_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_contracts_documents` -- CREATE TABLE `aos_contracts_documents` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `aos_contracts_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `documents_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_revision_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `aos_contracts_documents_alt` (`aos_contracts_id`,`documents_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_invoices` -- CREATE TABLE `aos_invoices` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_country` varchar(255) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `template_ddown_c` text COLLATE utf8mb4_general_ci, `subtotal_tax_amount` decimal(26,6) DEFAULT NULL, `subtotal_tax_amount_usdollar` decimal(26,6) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_invoices_audit` -- CREATE TABLE `aos_invoices_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_invoices_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_line_item_groups` -- CREATE TABLE `aos_line_item_groups` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `number` int DEFAULT NULL, `currency_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_line_item_groups_audit` -- CREATE TABLE `aos_line_item_groups_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_line_item_groups_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_pdf_templates` -- CREATE TABLE `aos_pdf_templates` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` longtext COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `active` tinyint(1) DEFAULT '1', `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `pdfheader` longtext COLLATE utf8mb4_general_ci, `pdffooter` longtext COLLATE utf8mb4_general_ci, `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) COLLATE utf8mb4_general_ci DEFAULT NULL, `orientation` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_pdf_templates_audit` -- CREATE TABLE `aos_pdf_templates_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_pdf_templates_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_products` -- CREATE TABLE `aos_products` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `maincode` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'XXXX', `part_number` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `category` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Good', `cost` decimal(26,6) DEFAULT NULL, `cost_usdollar` decimal(26,6) DEFAULT NULL, `currency_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `price` decimal(26,6) DEFAULT NULL, `price_usdollar` decimal(26,6) DEFAULT NULL, `url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `product_image` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `aos_product_category_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_products_audit` -- CREATE TABLE `aos_products_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_products_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_products_quotes` -- CREATE TABLE `aos_products_quotes` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` text COLLATE utf8mb4_general_ci, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `currency_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `part_number` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `item_description` text COLLATE utf8mb4_general_ci, `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) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT '5.0', `parent_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `product_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `group_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_aospq_par_del` (`parent_id`,`parent_type`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_products_quotes_audit` -- CREATE TABLE `aos_products_quotes_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_products_quotes_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_product_categories` -- CREATE TABLE `aos_product_categories` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_parent` tinyint(1) DEFAULT '0', `parent_category_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_product_categories_audit` -- CREATE TABLE `aos_product_categories_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_product_categories_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_quotes` -- CREATE TABLE `aos_quotes` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `approval_issue` text COLLATE utf8mb4_general_ci, `billing_account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `billing_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `shipping_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `expiration` date DEFAULT NULL, `number` int DEFAULT NULL, `opportunity_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `template_ddown_c` text COLLATE utf8mb4_general_ci, `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) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `stage` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Draft', `term` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `terms_c` text COLLATE utf8mb4_general_ci, `approval_status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `invoice_status` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_quotes_aos_invoices_c` -- CREATE TABLE `aos_quotes_aos_invoices_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `aos_quotes77d9_quotes_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `aos_quotes6b83nvoices_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `aos_quotes_aos_invoices_alt` (`aos_quotes77d9_quotes_ida`,`aos_quotes6b83nvoices_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_quotes_audit` -- CREATE TABLE `aos_quotes_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aos_quotes_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_quotes_os_contracts_c` -- CREATE TABLE `aos_quotes_os_contracts_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `aos_quotese81e_quotes_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `aos_quotes4dc0ntracts_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `aos_quotes_aos_contracts_alt` (`aos_quotese81e_quotes_ida`,`aos_quotes4dc0ntracts_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aos_quotes_project_c` -- CREATE TABLE `aos_quotes_project_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `aos_quotes1112_quotes_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `aos_quotes7207project_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `aos_quotes_project_alt` (`aos_quotes1112_quotes_ida`,`aos_quotes7207project_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aow_actions` -- CREATE TABLE `aow_actions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `aow_workflow_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `action_order` int DEFAULT NULL, `action` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `parameters` longtext COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `aow_action_index_workflow_id` (`aow_workflow_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aow_conditions` -- CREATE TABLE `aow_conditions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `aow_workflow_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `condition_order` int DEFAULT NULL, `module_path` longtext COLLATE utf8mb4_general_ci, `field` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `operator` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `value_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `value` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `aow_conditions_index_workflow_id` (`aow_workflow_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aow_processed` -- CREATE TABLE `aow_processed` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `aow_workflow_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aow_processed_aow_actions` -- CREATE TABLE `aow_processed_aow_actions` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `aow_processed_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `aow_action_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aow_workflow` -- CREATE TABLE `aow_workflow` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `flow_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `flow_run_on` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '0', `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Active', `run_when` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `aow_workflow_audit` -- CREATE TABLE `aow_workflow_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_aow_workflow_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `bugs` -- CREATE TABLE `bugs` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bug_number` int NOT NULL AUTO_INCREMENT, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `resolution` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `work_log` text COLLATE utf8mb4_general_ci, `found_in_release` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `fixed_in_release` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `source` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `product_category` varchar(255) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `bugs_audit` -- CREATE TABLE `bugs_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_bugs_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calendar_accounts` -- CREATE TABLE `calendar_accounts` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `source` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'personal', `oauth_connection_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `username` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `server_url` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL, `api_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `api_endpoint` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL, `calendar_user_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `last_connection_status` tinyint(1) DEFAULT '0', `last_connection_test` datetime DEFAULT NULL, `last_sync_attempt_date` datetime DEFAULT NULL, `last_sync_attempt_status` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_sync_attempt_message` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_sync_date` datetime DEFAULT NULL, `external_calendar_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_cal_acct_user_type_status` (`calendar_user_id`,`type`,`last_connection_status`,`deleted`), KEY `idx_cal_acct_external_cal_id` (`external_calendar_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calendar_accounts_audit` -- CREATE TABLE `calendar_accounts_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_calendar_accounts_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calendar_account_meetings` -- CREATE TABLE `calendar_account_meetings` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `calendar_account_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `meeting_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `calendar_account_source` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `external_event_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_sync` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `idx_calendar_account_meeting` (`calendar_account_id`,`meeting_id`), KEY `idx_cal_acc_mtg_cal` (`calendar_account_id`), KEY `idx_cal_acc_mtg_mtg` (`meeting_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calls` -- CREATE TABLE `calls` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Planned', `direction` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `reminder_time` int DEFAULT '-1', `email_reminder_time` int DEFAULT '-1', `email_reminder_sent` tinyint(1) DEFAULT '0', `outlook_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `repeat_type` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `repeat_interval` int DEFAULT '1', `repeat_dow` varchar(7) COLLATE utf8mb4_general_ci DEFAULT NULL, `repeat_until` date DEFAULT NULL, `repeat_count` int DEFAULT NULL, `repeat_parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `recurring_source` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calls_contacts` -- CREATE TABLE `calls_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `call_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calls_leads` -- CREATE TABLE `calls_leads` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `call_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calls_reschedule` -- CREATE TABLE `calls_reschedule` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `reason` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `call_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calls_reschedule_audit` -- CREATE TABLE `calls_reschedule_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_calls_reschedule_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `calls_users` -- CREATE TABLE `calls_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `call_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `campaigns` -- CREATE TABLE `campaigns` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `tracker_key` int NOT NULL AUTO_INCREMENT, `tracker_count` int DEFAULT '0', `refer_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'http://', `tracker_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `start_date` date DEFAULT NULL, `end_date` date DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `impressions` int DEFAULT '0', `currency_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `budget` double DEFAULT NULL, `expected_cost` double DEFAULT NULL, `actual_cost` double DEFAULT NULL, `expected_revenue` double DEFAULT NULL, `campaign_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `objective` text COLLATE utf8mb4_general_ci, `content` text COLLATE utf8mb4_general_ci, `frequency` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `survey_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `campaigns_audit` -- CREATE TABLE `campaigns_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_campaigns_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `campaign_log` -- CREATE TABLE `campaign_log` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `target_tracker_key` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `target_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `target_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `activity_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `activity_date` datetime DEFAULT NULL, `related_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `archived` tinyint(1) DEFAULT '0', `hits` int DEFAULT '0', `list_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `more_information` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `marketing_id` char(36) COLLATE utf8mb4_general_ci 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_target_id_deleted` (`target_id`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `campaign_trkrs` -- CREATE TABLE `campaign_trkrs` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `tracker_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `tracker_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'http://', `tracker_key` int NOT NULL AUTO_INCREMENT, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `cases` -- CREATE TABLE `cases` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `case_number` int NOT NULL AUTO_INCREMENT, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `resolution` text COLLATE utf8mb4_general_ci, `work_log` text COLLATE utf8mb4_general_ci, `account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Open', `contact_created_by_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `cases_audit` -- CREATE TABLE `cases_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_cases_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `cases_bugs` -- CREATE TABLE `cases_bugs` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `case_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bug_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `cases_cstm` -- CREATE TABLE `cases_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `config` -- CREATE TABLE `config` ( `category` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `value` text COLLATE utf8mb4_general_ci, KEY `idx_config_cat` (`category`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- 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', 'YTozMzp7aTowO3M6NDoiSG9tZSI7aToxO3M6ODoiQWNjb3VudHMiO2k6MjtzOjg6IkNvbnRhY3RzIjtpOjM7czoxMzoiT3Bwb3J0dW5pdGllcyI7aTo0O3M6NToiTGVhZHMiO2k6NTtzOjEwOiJBT1NfUXVvdGVzIjtpOjY7czo4OiJDYWxlbmRhciI7aTo3O3M6OToiRG9jdW1lbnRzIjtpOjg7czo2OiJFbWFpbHMiO2k6OTtzOjU6IlNwb3RzIjtpOjEwO3M6OToiQ2FtcGFpZ25zIjtpOjExO3M6NToiQ2FsbHMiO2k6MTI7czo4OiJNZWV0aW5ncyI7aToxMztzOjU6IlRhc2tzIjtpOjE0O3M6NToiTm90ZXMiO2k6MTU7czoxMjoiQU9TX0ludm9pY2VzIjtpOjE2O3M6MTM6IkFPU19Db250cmFjdHMiO2k6MTc7czo1OiJDYXNlcyI7aToxODtzOjk6IlByb3NwZWN0cyI7aToxOTtzOjEzOiJQcm9zcGVjdExpc3RzIjtpOjIwO3M6NzoiUHJvamVjdCI7aToyMTtzOjE5OiJBTV9Qcm9qZWN0VGVtcGxhdGVzIjtpOjIyO3M6MTY6IkFNX1Rhc2tUZW1wbGF0ZXMiO2k6MjM7czo5OiJGUF9ldmVudHMiO2k6MjQ7czoxODoiRlBfRXZlbnRfTG9jYXRpb25zIjtpOjI1O3M6MTI6IkFPU19Qcm9kdWN0cyI7aToyNjtzOjIyOiJBT1NfUHJvZHVjdF9DYXRlZ29yaWVzIjtpOjI3O3M6MTc6IkFPU19QREZfVGVtcGxhdGVzIjtpOjI4O3M6MTE6IkFPUl9SZXBvcnRzIjtpOjI5O3M6MTc6IkFPS19Lbm93bGVkZ2VCYXNlIjtpOjMwO3M6Mjk6IkFPS19Lbm93bGVkZ2VfQmFzZV9DYXRlZ29yaWVzIjtpOjMxO3M6MTQ6IkVtYWlsVGVtcGxhdGVzIjtpOjMyO3M6NzoiU3VydmV5cyI7fQ=='), ('portal', 'on', '0'), ('tracker', 'Tracker', '1'), ('sugarfeed', 'enabled', '1'), ('sugarfeed', 'module_UserFeed', '1'), ('sugarfeed', 'module_Cases', '1'), ('sugarfeed', 'module_Opportunities', '1'), ('sugarfeed', 'module_Contacts', '1'), ('sugarfeed', 'module_Leads', '1'), ('Update', 'CheckUpdates', 'manual'), ('system', 'name', '[[site_name]]'), ('system', 'adminwizard', '1'); -- -------------------------------------------------------- -- -- Table structure for table `contacts` -- CREATE TABLE `contacts` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `salutation` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `first_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `title` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `photo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `department` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `do_not_call` tinyint(1) DEFAULT '0', `phone_home` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_mobile` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_work` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_other` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lawful_basis` text COLLATE utf8mb4_general_ci, `date_reviewed` date DEFAULT NULL, `lawful_basis_source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant` varchar(75) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant_phone` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_source` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `reports_to_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `birthdate` date DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `joomla_account_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `portal_account_disabled` tinyint(1) DEFAULT NULL, `portal_user_type` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `contacts_audit` -- CREATE TABLE `contacts_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_contacts_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `contacts_bugs` -- CREATE TABLE `contacts_bugs` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bug_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_role` varchar(50) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `contacts_cases` -- CREATE TABLE `contacts_cases` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `case_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_role` varchar(50) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `contacts_cstm` -- CREATE TABLE `contacts_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `contacts_users` -- CREATE TABLE `contacts_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `cron_remove_documents` -- CREATE TABLE `cron_remove_documents` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `bean_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `currencies` -- CREATE TABLE `currencies` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `symbol` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `iso4217` varchar(3) COLLATE utf8mb4_general_ci DEFAULT NULL, `conversion_rate` double DEFAULT '0', `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci NOT NULL, PRIMARY KEY (`id`), KEY `idx_currency_name` (`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `custom_fields` -- CREATE TABLE `custom_fields` ( `bean_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `set_num` int DEFAULT '0', `field0` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field3` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field4` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field5` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field6` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field7` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field8` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `field9` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', KEY `idx_beanid_set_num` (`bean_id`,`set_num`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `documents` -- CREATE TABLE `documents` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `doc_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `doc_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Sugar', `doc_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `active_date` date DEFAULT NULL, `exp_date` date DEFAULT NULL, `category_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `subcategory_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `status_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_revision_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_doc_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_doc_rev_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_template` tinyint(1) DEFAULT '0', `template_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_doc_cat` (`category_id`,`subcategory_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `documents_accounts` -- CREATE TABLE `documents_accounts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `documents_bugs` -- CREATE TABLE `documents_bugs` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bug_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `documents_cases` -- CREATE TABLE `documents_cases` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `case_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `documents_contacts` -- CREATE TABLE `documents_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `documents_opportunities` -- CREATE TABLE `documents_opportunities` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `document_revisions` -- CREATE TABLE `document_revisions` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `change_log` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `doc_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `doc_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `doc_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `filename` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `file_ext` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `file_mime_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `revision` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `eapm` -- CREATE TABLE `eapm` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `password` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `application` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'webex', `api_data` text COLLATE utf8mb4_general_ci, `consumer_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `consumer_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `oauth_token` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `oauth_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `validated` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_app_active` (`assigned_user_id`,`application`,`validated`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `emailman` -- CREATE TABLE `emailman` ( `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `id` int NOT NULL AUTO_INCREMENT, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `marketing_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `list_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `send_date_time` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci 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_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_confirm_opt_in` tinyint(1) DEFAULT '0', 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`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `emails` -- CREATE TABLE `emails` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `orphaned` tinyint(1) DEFAULT NULL, `last_synced` datetime DEFAULT NULL, `date_sent_received` datetime DEFAULT NULL, `message_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `flagged` tinyint(1) DEFAULT NULL, `reply_to_status` tinyint(1) DEFAULT NULL, `intent` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'pick', `mailbox_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `uid` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `category_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_email_name` (`name`), KEY `idx_message_id` (`message_id`), KEY `idx_email_parent_id` (`parent_id`), KEY `idx_email_assigned` (`assigned_user_id`,`type`,`status`), KEY `idx_email_cat` (`category_id`), KEY `idx_email_uid` (`uid`), KEY `idx_email_uid_mailbox` (`uid`,`mailbox_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `emails_beans` -- CREATE TABLE `emails_beans` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `email_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bean_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bean_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_data` text COLLATE utf8mb4_general_ci, `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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `emails_email_addr_rel` -- CREATE TABLE `emails_email_addr_rel` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `email_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `address_type` varchar(4) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_address_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `emails_text` -- CREATE TABLE `emails_text` ( `email_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `from_addr` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `reply_to_addr` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `to_addrs` text COLLATE utf8mb4_general_ci, `cc_addrs` text COLLATE utf8mb4_general_ci, `bcc_addrs` text COLLATE utf8mb4_general_ci, `description` longtext COLLATE utf8mb4_general_ci, `description_html` longtext COLLATE utf8mb4_general_ci, `raw_source` longtext COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`email_id`), KEY `emails_textfromaddr` (`from_addr`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_addresses` -- CREATE TABLE `email_addresses` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `email_address` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_address_caps` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `invalid_email` tinyint(1) DEFAULT '0', `opt_out` tinyint(1) DEFAULT '0', `confirm_opt_in` varchar(255) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_addresses_audit` -- CREATE TABLE `email_addresses_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_email_addresses_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_addr_bean_rel` -- CREATE TABLE `email_addr_bean_rel` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `email_address_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `bean_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `bean_module` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_cache` -- CREATE TABLE `email_cache` ( `ie_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `mbox` varchar(60) COLLATE utf8mb4_general_ci DEFAULT NULL, `subject` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `fromaddr` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `toaddr` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `senddate` datetime DEFAULT NULL, `message_id` varchar(255) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_marketing` -- CREATE TABLE `email_marketing` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `from_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `from_addr` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `reply_to_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `reply_to_addr` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `inbound_email_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_start` datetime DEFAULT NULL, `template_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `outbound_email_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `all_prospect_lists` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_emmkt_name` (`name`), KEY `idx_emmkit_del` (`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_marketing_prospect_lists` -- CREATE TABLE `email_marketing_prospect_lists` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `prospect_list_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_marketing_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `email_mp_prospects` (`email_marketing_id`,`prospect_list_id`), KEY `idx_emp_prospect_list_id` (`prospect_list_id`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `email_templates` -- CREATE TABLE `email_templates` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `published` varchar(3) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `subject` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `body` longtext COLLATE utf8mb4_general_ci, `body_html` longtext COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `text_only` tinyint(1) DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_email_template_name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `email_templates` -- INSERT INTO `email_templates` VALUES ('[[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'), ('36f1dc12-f6ed-4e10-bae4-bb492acc5b9a', '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'), ('[[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'), ('[[generatepasswordtmpl]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'System-generated password email', 'This template is used when the System Administrator sends a new password to a user.', 'New account information', '\nHere is your account username and temporary password:\nUsername : $contact_user_user_name\nPassword : $contact_user_user_hash\n\n$config_site_url\n\nAfter you log in using the above password, you may be required to reset the password to one of your own choice.', '<div><table width="550"><tbody><tr><td><p>Here is your account username and temporary password:</p><p>Username : $contact_user_user_name </p><p>Password : $contact_user_user_hash </p><br /><p>$config_site_url</p><br /><p>After you log in using the above password, you may be required to reset the password to one of your own choice.</p> </td> </tr><tr><td></td> </tr> </tbody></table> </div>', 0, NULL, 0, 'system'), ('[[case_creation_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Case Creation', 'Template to send to a contact when a case is received from them.', '$acase_name [CASE:$acase_case_number]', 'Hi $contact_first_name $contact_last_name,\n\n We''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered\n Status: $acase_status\n Reference: $acase_case_number\n Description: $acase_description', '<p> Hi $contact_first_name $contact_last_name,</p>\n <p>We''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered</p>\n <table border="0"><tbody>\n <tr><td>Status</td><td>$acase_status</td></tr>\n <tr><td>Reference</td><td>$acase_case_number</td></tr>\n <tr><td>Description</td><td>$acase_description</td></tr>\n </tbody></table>', 0, NULL, NULL, 'system'), ('[[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'), ('[[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'), ('[[user_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'User Case Update', 'Email template to send to a SuiteCRM user when their case is updated.', '$acase_name (# $acase_case_number) update', 'Hi $user_first_name $user_last_name,\n\n You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:\n $contact_first_name $contact_last_name, said:\n $aop_case_updates_description\n You may review this Case at:\n $sugarurl/index.php?module=Cases&action=DetailView&record=$acase_id;', '<p>Hi $user_first_name $user_last_name,</p>\n <p> </p>\n <p>You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:</p>\n <p><strong>$contact_first_name $contact_last_name, said:</strong></p>\n <p style="padding-left:30px;">$aop_case_updates_description</p>\n <p>You may review this Case at: $sugarurl/index.php?module=Cases&action=DetailView&record=$acase_id;</p>', 0, NULL, NULL, 'system'); -- -------------------------------------------------------- -- -- Table structure for table `external_oauth_connections` -- CREATE TABLE `external_oauth_connections` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `client_id` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `client_secret` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `token_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `expires_in` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `access_token` text COLLATE utf8mb4_general_ci, `refresh_token` text COLLATE utf8mb4_general_ci, `external_oauth_provider_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `external_oauth_providers` -- CREATE TABLE `external_oauth_providers` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `connector` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `redirect_uri_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT 'pretty_url', `client_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `client_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `scope` text COLLATE utf8mb4_general_ci, `url_authorize` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `authorize_url_options` text COLLATE utf8mb4_general_ci, `url_access_token` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `extra_provider_params` text COLLATE utf8mb4_general_ci, `get_token_request_grant` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'authorization_code', `get_token_request_options` text COLLATE utf8mb4_general_ci, `refresh_token_request_grant` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'refresh_token', `refresh_token_request_options` text COLLATE utf8mb4_general_ci, `access_token_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'access_token', `expires_in_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'expires_in', `refresh_token_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'refresh_token', `token_type_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `favorites` -- CREATE TABLE `favorites` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fields_meta_data` -- CREATE TABLE `fields_meta_data` ( `id` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `vname` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `comments` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `help` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `custom_module` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `len` int DEFAULT NULL, `required` tinyint(1) DEFAULT '0', `default_value` varchar(255) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext3` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext4` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_meta_id_del` (`id`,`deleted`), KEY `idx_meta_cm_del` (`custom_module`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- 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) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `folder_type` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_folder` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `has_child` tinyint(1) DEFAULT '0', `is_group` tinyint(1) DEFAULT '0', `is_dynamic` tinyint(1) DEFAULT '0', `dynamic_query` text COLLATE utf8mb4_general_ci, `assign_to_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci NOT NULL, `modified_by` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_parent_folder` (`parent_folder`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `folders_rel` -- CREATE TABLE `folders_rel` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `folder_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `polymorphic_module` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `polymorphic_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `folders_subscriptions` -- CREATE TABLE `folders_subscriptions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `folder_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, PRIMARY KEY (`id`), KEY `idx_folder_id_assigned_user_id` (`folder_id`,`assigned_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events` -- CREATE TABLE `fp_events` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_templates` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `accept_redirect` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `decline_redirect` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `activity_status_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_audit` -- CREATE TABLE `fp_events_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_fp_events_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_contacts_c` -- CREATE TABLE `fp_events_contacts_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_contactsfp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_contactscontacts_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'Not Invited', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_fp_event_delegates_1_c` -- CREATE TABLE `fp_events_fp_event_delegates_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_fp_event_delegates_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_fp_event_delegates_1fp_event_delegates_idb` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_fp_event_locations_1_c` -- CREATE TABLE `fp_events_fp_event_locations_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_fp_event_locations_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_fp_event_locations_1fp_event_locations_idb` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_leads_1_c` -- CREATE TABLE `fp_events_leads_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_leads_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_leads_1leads_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'Not Invited', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_prospects_1_c` -- CREATE TABLE `fp_events_prospects_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_prospects_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_prospects_1prospects_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'Not Invited', `accept_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'No Response', `email_responded` int DEFAULT '0', PRIMARY KEY (`id`), KEY `fp_events_prospects_1_alt` (`fp_events_prospects_1fp_events_ida`,`fp_events_prospects_1prospects_idb`), KEY `idx_events_prospects_prospect_id` (`fp_events_prospects_1prospects_idb`,`deleted`,`fp_events_prospects_1fp_events_ida`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_event_locations` -- CREATE TABLE `fp_event_locations` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `address` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_country` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `capacity` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_event_locations_audit` -- CREATE TABLE `fp_event_locations_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_fp_event_locations_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_event_locations_fp_events_1_c` -- CREATE TABLE `fp_event_locations_fp_events_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_event_locations_fp_events_1fp_event_locations_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_event_locations_fp_events_1fp_events_idb` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `import_maps` -- CREATE TABLE `import_maps` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(254) COLLATE utf8mb4_general_ci DEFAULT NULL, `source` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `enclosure` varchar(1) COLLATE utf8mb4_general_ci DEFAULT ' ', `delimiter` varchar(1) COLLATE utf8mb4_general_ci DEFAULT ',', `module` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `content` text COLLATE utf8mb4_general_ci, `default_values` text COLLATE utf8mb4_general_ci, `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) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_published` varchar(3) COLLATE utf8mb4_general_ci DEFAULT 'no', PRIMARY KEY (`id`), KEY `idx_owner_module_name` (`assigned_user_id`,`module`,`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `inbound_email` -- CREATE TABLE `inbound_email` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `last_import_run_datetime` datetime DEFAULT NULL, `mailbox_last_imported_days` text COLLATE utf8mb4_general_ci, `email_import_per_run_threshold` int DEFAULT NULL, `email_import_timeframe_start` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_import_unread_only` tinyint(1) DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Active', `email_body_filtering` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'multi', `server_url` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `connection_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_user` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_password` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `port` int DEFAULT '143', `service` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `mailbox` text COLLATE utf8mb4_general_ci, `primary_folder` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `sentFolder` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `trashFolder` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `delete_seen` tinyint(1) DEFAULT '0', `move_messages_to_trash_after_import` tinyint(1) DEFAULT '0', `mailbox_type` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL, `template_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `stored_options` text COLLATE utf8mb4_general_ci, `group_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_personal` tinyint(1) DEFAULT '0', `groupfolder_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `auth_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'basic', `protocol` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'imap', `is_ssl` tinyint(1) DEFAULT '0', `distribution_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `outbound_email_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `create_case_template_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `external_oauth_connection_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `inbound_email_autoreply` -- CREATE TABLE `inbound_email_autoreply` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `autoreplied_to` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `ie_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, PRIMARY KEY (`id`), KEY `idx_ie_autoreplied_to` (`autoreplied_to`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `inbound_email_cache_ts` -- CREATE TABLE `inbound_email_cache_ts` ( `id` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, `ie_timestamp` int unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_address_cache` -- CREATE TABLE `jjwg_address_cache` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `lat` float(10,8) DEFAULT NULL, `lng` float(11,8) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_address_cache_audit` -- CREATE TABLE `jjwg_address_cache_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_address_cache_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_areas` -- CREATE TABLE `jjwg_areas` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `state` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `coordinates` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_areas_audit` -- CREATE TABLE `jjwg_areas_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_areas_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps` -- CREATE TABLE `jjwg_maps` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `distance` float(9,4) DEFAULT NULL, `unit_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'mi', `module_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Accounts', `parent_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps_audit` -- CREATE TABLE `jjwg_maps_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_maps_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps_jjwg_areas_c` -- CREATE TABLE `jjwg_maps_jjwg_areas_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `jjwg_maps_5304wg_maps_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_41f2g_areas_idb` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps_jjwg_markers_c` -- CREATE TABLE `jjwg_maps_jjwg_markers_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `jjwg_maps_b229wg_maps_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_2e31markers_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `jjwg_maps_jjwg_markers_alt` (`jjwg_maps_b229wg_maps_ida`,`jjwg_maps_2e31markers_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_markers` -- CREATE TABLE `jjwg_markers` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `state` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_lat` float(10,8) DEFAULT '0.00000000', `jjwg_maps_lng` float(11,8) DEFAULT '0.00000000', `marker_image` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'company', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_markers_audit` -- CREATE TABLE `jjwg_markers_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_markers_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `job_queue` -- CREATE TABLE `job_queue` ( `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `scheduler_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `execute_time` datetime DEFAULT NULL, `status` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `resolution` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `message` text COLLATE utf8mb4_general_ci, `target` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `data` text COLLATE utf8mb4_general_ci, `requeue` tinyint(1) DEFAULT '0', `retry_count` tinyint DEFAULT NULL, `failure_count` tinyint DEFAULT NULL, `job_delay` int DEFAULT NULL, `client` varchar(255) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `leads` -- CREATE TABLE `leads` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `salutation` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `first_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `title` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `photo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `department` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `do_not_call` tinyint(1) DEFAULT '0', `phone_home` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_mobile` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_work` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_other` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lawful_basis` text COLLATE utf8mb4_general_ci, `date_reviewed` date DEFAULT NULL, `lawful_basis_source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant` varchar(75) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant_phone` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `converted` tinyint(1) DEFAULT '0', `refered_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_source_description` text COLLATE utf8mb4_general_ci, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `status_description` text COLLATE utf8mb4_general_ci, `reports_to_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_description` text COLLATE utf8mb4_general_ci, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_amount` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `birthdate` date DEFAULT NULL, `portal_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `portal_app` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `website` varchar(255) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `leads_audit` -- CREATE TABLE `leads_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_leads_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `leads_cstm` -- CREATE TABLE `leads_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `linked_documents` -- CREATE TABLE `linked_documents` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_revision_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings` -- CREATE TABLE `meetings` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `location` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `password` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_url` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL, `host_url` varchar(400) COLLATE utf8mb4_general_ci DEFAULT NULL, `displayed_url` varchar(400) COLLATE utf8mb4_general_ci DEFAULT NULL, `creator` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `external_id` varchar(50) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Planned', `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Sugar', `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `reminder_time` int DEFAULT '-1', `email_reminder_time` int DEFAULT '-1', `email_reminder_sent` tinyint(1) DEFAULT '0', `outlook_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `sequence` int DEFAULT '0', `repeat_type` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `repeat_interval` int DEFAULT '1', `repeat_dow` varchar(7) COLLATE utf8mb4_general_ci DEFAULT NULL, `repeat_until` date DEFAULT NULL, `repeat_count` int DEFAULT NULL, `repeat_parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `recurring_source` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `gsync_id` varchar(1024) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_contacts` -- CREATE TABLE `meetings_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `meeting_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_cstm` -- CREATE TABLE `meetings_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_leads` -- CREATE TABLE `meetings_leads` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `meeting_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_users` -- CREATE TABLE `meetings_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `meeting_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `notes` -- CREATE TABLE `notes` ( `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `file_mime_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `filename` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `portal_flag` tinyint(1) DEFAULT NULL, `embed_flag` tinyint(1) DEFAULT '0', `description` text COLLATE utf8mb4_general_ci, `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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth2authcodes` -- CREATE TABLE `oauth2authcodes` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `auth_code_is_revoked` tinyint(1) DEFAULT NULL, `auto_authorize` tinyint(1) DEFAULT NULL, `auth_code_expires` datetime DEFAULT NULL, `auth_code` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `client` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth2clients` -- CREATE TABLE `oauth2clients` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `secret` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `redirect_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_confidential` tinyint(1) DEFAULT '1', `allowed_grant_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'password', `duration_value` int DEFAULT NULL, `duration_amount` int DEFAULT NULL, `duration_unit` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Duration Unit', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth2tokens` -- CREATE TABLE `oauth2tokens` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `token_is_revoked` tinyint(1) DEFAULT NULL, `token_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `access_token_expires` datetime DEFAULT NULL, `access_token` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `refresh_token` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `refresh_token_expires` datetime DEFAULT NULL, `grant_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `state` varchar(1024) COLLATE utf8mb4_general_ci DEFAULT NULL, `client` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_consumer` -- CREATE TABLE `oauth_consumer` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `c_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `c_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ckey` (`c_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_nonce` -- CREATE TABLE `oauth_nonce` ( `conskey` varchar(32) COLLATE utf8mb4_general_ci NOT NULL, `nonce` varchar(32) COLLATE utf8mb4_general_ci NOT NULL, `nonce_ts` bigint DEFAULT NULL, PRIMARY KEY (`conskey`,`nonce`), KEY `oauth_nonce_keyts` (`conskey`,`nonce_ts`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_tokens` -- CREATE TABLE `oauth_tokens` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `secret` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `tstate` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL, `consumer` char(36) COLLATE utf8mb4_general_ci NOT NULL, `token_ts` bigint DEFAULT NULL, `verify` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) NOT NULL DEFAULT '0', `callback_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`,`deleted`), KEY `oauth_state_ts` (`tstate`,`token_ts`), KEY `constoken_key` (`consumer`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities` -- CREATE TABLE `opportunities` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_source` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `amount` double DEFAULT NULL, `amount_usdollar` double DEFAULT NULL, `currency_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_closed` date DEFAULT NULL, `next_step` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `sales_stage` varchar(255) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities_audit` -- CREATE TABLE `opportunities_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_opportunities_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities_contacts` -- CREATE TABLE `opportunities_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_role` varchar(50) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities_cstm` -- CREATE TABLE `opportunities_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `outbound_email` -- CREATE TABLE `outbound_email` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(15) COLLATE utf8mb4_general_ci DEFAULT 'user', `user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `smtp_from_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `smtp_from_addr` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `reply_to_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `reply_to_addr` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `signature` text COLLATE utf8mb4_general_ci, `mail_sendtype` varchar(8) COLLATE utf8mb4_general_ci DEFAULT 'SMTP', `mail_smtptype` varchar(20) COLLATE utf8mb4_general_ci DEFAULT 'other', `mail_smtpserver` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `mail_smtpport` varchar(5) COLLATE utf8mb4_general_ci DEFAULT '25', `mail_smtpuser` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `mail_smtppass` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `mail_smtpauth_req` tinyint(1) DEFAULT '0', `mail_smtpssl` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `auth_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'no_auth', `external_oauth_connection_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `outbound_email` -- INSERT INTO `outbound_email` VALUES ('0f1f44ed-7fed-4c67-bb97-db70dc3d8982', 'system', 'system', '1', 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) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_outbound_email_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project` -- CREATE TABLE `project` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `estimated_start_date` date DEFAULT NULL, `estimated_end_date` date DEFAULT NULL, `status` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `override_business_hours` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_accounts` -- CREATE TABLE `projects_accounts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `account_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_bugs` -- CREATE TABLE `projects_bugs` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `bug_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_cases` -- CREATE TABLE `projects_cases` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `case_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_contacts` -- CREATE TABLE `projects_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_opportunities` -- CREATE TABLE `projects_opportunities` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `opportunity_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_products` -- CREATE TABLE `projects_products` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `product_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_contacts_1_c` -- CREATE TABLE `project_contacts_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `project_contacts_1project_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_contacts_1contacts_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `project_contacts_1_alt` (`project_contacts_1project_ida`,`project_contacts_1contacts_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_cstm` -- CREATE TABLE `project_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_task` -- CREATE TABLE `project_task` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `project_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `project_task_id` int DEFAULT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `predecessors` text COLLATE utf8mb4_general_ci, `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 COLLATE utf8mb4_general_ci, `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) COLLATE utf8mb4_general_ci DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_task_audit` -- CREATE TABLE `project_task_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_project_task_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_users_1_c` -- CREATE TABLE `project_users_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `project_users_1project_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_users_1users_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `project_users_1_alt` (`project_users_1project_ida`,`project_users_1users_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospects` -- CREATE TABLE `prospects` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `salutation` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `first_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `title` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `photo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `department` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `do_not_call` tinyint(1) DEFAULT '0', `phone_home` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_mobile` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_work` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_other` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lawful_basis` text COLLATE utf8mb4_general_ci, `date_reviewed` date DEFAULT NULL, `lawful_basis_source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant` varchar(75) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant_phone` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `tracker_key` int NOT NULL AUTO_INCREMENT, `birthdate` date DEFAULT NULL, `lead_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospects_cstm` -- CREATE TABLE `prospects_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospect_lists` -- CREATE TABLE `prospect_lists` ( `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `list_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `domain_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_prospect_list_name` (`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospect_lists_prospects` -- CREATE TABLE `prospect_lists_prospects` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `prospect_list_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_type` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_plp_pro_id` (`prospect_list_id`,`deleted`,`related_type`,`related_id`), KEY `idx_plp_rel_id` (`related_id`,`related_type`,`prospect_list_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospect_list_campaigns` -- CREATE TABLE `prospect_list_campaigns` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `prospect_list_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_pro_id` (`prospect_list_id`,`deleted`), KEY `idx_cam_id` (`campaign_id`,`deleted`), KEY `idx_prospect_list_campaigns` (`prospect_list_id`,`campaign_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `relationships` -- CREATE TABLE `relationships` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `relationship_name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `lhs_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lhs_table` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `lhs_key` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `rhs_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `rhs_table` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `rhs_key` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_table` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_key_lhs` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_key_rhs` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_role_column` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_role_column_value` varchar(50) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `relationships` -- INSERT INTO `relationships` VALUES ('0058f226-76f7-4f94-b458-3a2de281aaf1', 'aos_invoices_modified_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0065bd23-8f2f-4b25-a19e-d83d9f8b4e9a', 'surveyresponses_accounts', 'Accounts', 'accounts', 'id', 'SurveyResponses', 'surveyresponses', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('009cf9b4-d90a-46c7-ae75-581f5936c5cf', 'jjwg_areas_assigned_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('015a0e79-a3d7-4d38-af09-b61eb33e6d33', 'emails_created_by', 'Users', 'users', 'id', 'Emails', 'emails', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('02c33168-5552-450f-8ef3-4e29bddcd927', '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), ('0308235c-e10d-44f8-b13b-da1e3128c110', '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), ('034a622c-bc55-4487-b4ed-7b73d591045f', '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), ('042a98eb-a8a3-4e73-b194-cb048e772348', '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), ('045c086f-deff-4088-8100-9afa23bf0c0f', 'aos_invoices_assigned_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('046e6b3b-23af-485f-9a29-8883684b5270', '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), ('05171c94-1745-4136-a3c6-d5ffce2d0dfc', 'externaloauthconnection_modified_user', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0579ed21-f7ab-419b-96b8-9b902af43307', 'reminders_invitees_assigned_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('05ae6aed-543c-4d26-885f-3c4b95e70918', 'accounts_created_by', 'Users', 'users', 'id', 'Accounts', 'accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('066d384e-0f91-43ba-8a18-642d80dea51d', 'campaign_opportunities', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('067a5aa3-c9b0-44a7-a01d-c0d6745d59e1', 'securitygroups_emailmarketing', 'SecurityGroups', 'securitygroups', 'id', 'EmailMarketing', 'email_marketing', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailMarketing', 0, 0), ('06a1bc7d-60dd-4de1-b228-d4e7d535bf2e', 'aos_contracts_created_by', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('071e7d47-0c6c-4f77-895c-d21d5ed5dfc4', 'surveyquestionoptions_modified_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('072bd1f0-18ea-464d-9ae7-2248ae5ca07f', 'projects_calls', 'Project', 'project', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('073f8124-943f-42f7-879f-122559839a51', '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), ('0755614d-2891-4aaf-8fd4-5d41c48ee0c3', '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), ('086dd408-0f57-4a92-aac8-1369947b37b5', 'contact_notes', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('095e50cb-4a59-4ceb-a01c-838f819e07ab', 'inbound_emails_distribution_user', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'distribution_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('099063f6-2e83-4284-a265-365a98421d01', 'outbound_email_owner_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('09afc71a-7cab-46b3-9e52-3b2c18a26e84', 'securitygroups_surveyquestionoptions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionOptions', 0, 0), ('09f94637-44c3-4045-bccb-c19949816b0f', '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), ('0b07408d-486d-4aed-bd5e-8cdbed546500', 'inbound_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'InboundEmail', 'inbound_email', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0b241969-4ae7-4e4d-8b5b-cf390eb52654', 'project_tasks_calls', 'ProjectTask', 'project_task', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('0b79c1af-8c72-4963-a3b3-dd71f140d94a', 'fp_events_assigned_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0cdbe54d-0067-457a-a64c-2b4a6a11ba7a', 'jjwg_Maps_opportunities', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('0cfd54f2-3a93-42cf-8cde-f5995d604223', 'opportunity_leads', 'Opportunities', 'opportunities', 'id', 'Leads', 'leads', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0d88a12d-3b7c-4519-94a0-f70878f57b67', '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), ('0e1ded0c-ff71-4e5d-a66f-fda141cdec7b', 'aos_contracts_calls', 'AOS_Contracts', 'aos_contracts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('1036d965-21ab-4346-8a47-c94253bbc169', 'aor_reports_created_by', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('12287d37-488d-4054-9f71-af080375a593', 'oauth2authcodes_created_by', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('12303615-d081-4685-93a8-7b702beb508c', 'surveyquestionresponses_created_by', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('125dfe80-59ca-42b7-9c6d-ea110f3657b9', '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), ('12a1d4eb-b142-45a9-8230-cc2df1e788f1', 'aok_knowledgebase_created_by', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('136f2a32-62a5-4803-a410-98a75fafaa96', '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), ('14a04ce1-1993-46be-9235-f8d3c621ae3f', '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), ('1524fadb-f5be-4ced-8708-8dee04e8e793', 'aor_reports_modified_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1568f32b-c7d0-4c0d-8d17-55be4b23d2d9', 'projects_accounts', 'Project', 'project', 'id', 'Accounts', 'accounts', 'id', 'projects_accounts', 'project_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0), ('16ede99c-2293-4dd3-a6a9-3ca4a7ad00c1', '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), ('16fcb189-b667-4cf8-a8d1-fe5ce68393fb', 'securitygroups_prospects', 'SecurityGroups', 'securitygroups', 'id', 'Prospects', 'prospects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Prospects', 0, 0), ('175bfc04-5e26-41f0-bc6d-44c5f15ec85f', '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), ('17bea397-5ac2-46c0-87ef-08a70c5f2f17', 'alerts_assigned_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('18ed6731-dcd9-4ac5-93ba-0ba61658aa22', '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), ('1abcc105-c23b-4ef9-9803-9d5b10a23db9', 'meetings_assigned_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1b1a015d-1cc8-403f-a6a0-9935b4edfece', 'securitygroups_prospectlists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0), ('1b3cc556-d6c5-41fc-8a85-d4f22aa2538e', 'aod_index_created_by', 'Users', 'users', 'id', 'AOD_Index', 'aod_index', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1c0a3521-fc8b-4db2-93db-8a4c76e9904b', '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), ('1cc59b6b-8714-47d5-aa48-ab001bede76b', '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), ('1ceb84ee-7940-433f-a3f0-7c2a0cb62477', 'jjwg_markers_created_by', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1ede17f1-50eb-446f-a75a-feb5556c04b3', '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), ('1ee7949c-8727-47fe-8e8f-4872ebbc8dbd', '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), ('1efa12a7-0eb2-4d84-9c1c-cb0d6eeb53f9', 'documents_bugs', 'Documents', 'documents', 'id', 'Bugs', 'bugs', 'id', 'documents_bugs', 'document_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('1f57b500-e0c1-417e-8388-2124ce7dfecb', 'opportunity_emails', 'Opportunities', 'opportunities', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('1fc9309e-d006-48aa-892e-ac2692bd0ede', '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), ('202e0a5a-c333-4c43-96c5-844d164cbae2', '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), ('208d0943-3ef5-4663-923c-f1c4a2726363', 'bugs_created_by', 'Users', 'users', 'id', 'Bugs', 'bugs', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('217908bc-84c6-41dd-b76b-656810873bae', 'securitygroups_emailtemplates', 'SecurityGroups', 'securitygroups', 'id', 'EmailTemplates', 'email_templates', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailTemplates', 0, 0), ('2223bbd6-435c-4b2f-a50d-1324d6b78ab3', 'sugarfeed_created_by', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2253668b-6833-4779-8d41-682c5a15d1ac', 'prospect_meetings', 'Prospects', 'prospects', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('229825dd-0e1d-4ad3-923c-5cc0b7b80773', 'leads_documents', 'Leads', 'leads', 'id', 'Documents', 'documents', 'id', 'linked_documents', 'parent_id', 'document_id', 'many-to-many', 'parent_type', 'Leads', 0, 0), ('22b11ad3-f62d-468d-8252-6f1411227359', '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), ('231a2ce6-42ea-47da-b982-b7d78bc051e3', 'project_tasks_assigned_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2346e0cb-b1f4-44c4-8524-ea439ce6cc9b', 'opportunities_assigned_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('23c5153b-6e1a-4c87-a6bf-214690df6b2d', 'leads_created_by', 'Users', 'users', 'id', 'Leads', 'leads', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('246ec0da-309d-4bc1-9b7c-738cd44a9485', '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), ('24f48bdc-2b68-454a-bbbd-cdd3c2e404fc', 'outbound_email_assigned_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('26b4d572-5060-47f5-afa0-def1ce2969d0', 'contact_direct_reports', 'Contacts', 'contacts', 'id', 'Contacts', 'contacts', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('27409a06-402e-491b-ad8f-edc20b3c51f8', 'projects_notes', 'Project', 'project', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('27ee172a-7f7b-4163-913b-244c56d1fdc3', '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), ('27f1e171-3ec3-4db6-add2-22bf901cd2ae', 'calls_reschedule', 'Calls', 'calls', 'id', 'Calls_Reschedule', 'calls_reschedule', 'call_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('289b4ed6-5d6e-4349-8783-30e1b5cb24ea', 'aor_conditions_modified_user', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('29127574-ae07-4c52-a822-183da81d0285', '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), ('2a7acdee-ffe0-411c-bdbb-f29adb5f3295', 'aod_index_assigned_user', 'Users', 'users', 'id', 'AOD_Index', 'aod_index', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2ac8c77e-7cf7-47b1-a9c6-924d5d6af421', 'schedulers_created_by_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0), ('2b6f2d08-053b-4ff1-a413-d1e1cdaa9f8e', 'leads_modified_user', 'Users', 'users', 'id', 'Leads', 'leads', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2b7a105c-b4d3-49db-a576-6ee158fab90f', 'securitygroups_cases', 'SecurityGroups', 'securitygroups', 'id', 'Cases', 'cases', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Cases', 0, 0), ('2ba468bf-2ddd-4c6c-9395-782af66cb041', '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), ('2c07bf55-4b90-434d-80d4-caa761b41811', 'users_users_password_link', 'Users', 'users', 'id', NULL, 'users_signatures', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2c51f126-ca6c-492b-bf0f-5bc23f7db17b', 'securitygroups_opportunities', 'SecurityGroups', 'securitygroups', 'id', 'Opportunities', 'opportunities', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Opportunities', 0, 0), ('2c6233ec-a360-4e5f-ac98-4a18f0e8f1ea', '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), ('2db2b655-3d5a-4ab8-80e9-9aa2e895bbbd', '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), ('2e4200a3-6fb5-408e-ba9d-f7ffb4d7c061', '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), ('2ecbc757-c72a-420b-87b4-81e068250edd', 'spots_created_by', 'Users', 'users', 'id', 'Spots', 'spots', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2ef05bf8-2657-45b8-9b13-f0319fe3caa1', 'securitygroups_projecttask', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0), ('2f1f574b-4eec-4d97-9c82-2f26d8fbe600', 'aos_quotes_created_by', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2f74dbd9-4909-48b0-bb6d-34b5f08b6556', 'oauth2authcodes_assigned_user', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('302ed13d-18df-4a58-ba5f-e6cc4e3afb80', 'lead_calls', 'Leads', 'leads', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('308581f1-764f-4b45-b00e-68dd1cd59068', 'surveyresponses_assigned_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3089c608-b4d3-4aa3-a940-b4b3d46d022f', 'jjwg_areas_modified_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3257d40c-be9a-4709-ac6c-7ebf47efc136', 'project_tasks_tasks', 'ProjectTask', 'project_task', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('32c84458-73cc-4108-8943-2d20a025c022', 'securitygroups_accounts', 'SecurityGroups', 'securitygroups', 'id', 'Accounts', 'accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Accounts', 0, 0), ('32e34445-c727-4521-85d5-9612f1d3b32b', 'campaigns_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('334096ff-2093-4308-b7f8-563b22754402', 'externaloauthconnection_created_by', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('339d92a0-9148-4071-94b3-9711a1de1e7d', 'lead_meetings', 'Leads', 'leads', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('33f26c9c-5c48-4927-affa-d8fbab20a73a', 'projects_created_by', 'Users', 'users', 'id', 'Project', 'project', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('343db219-aa61-4517-9384-b4370aa8dcf0', 'projects_cases', 'Project', 'project', 'id', 'Cases', 'cases', 'id', 'projects_cases', 'project_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0), ('349c8f6f-a4c4-415c-8e0d-2842cb0a3976', '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), ('34bcf581-be52-407f-9901-af5a18b1f604', 'schedulersjobs_assigned_user', 'Users', 'users', 'id', 'SchedulersJobs', 'job_queue', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('34d32f6a-7d9a-4aa2-b876-57b3ec398c48', 'favorites_created_by', 'Users', 'users', 'id', 'Favorites', 'favorites', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('34ebd7f9-f3bd-4c0a-95ba-ed4a535145c3', 'emails_assigned_user', 'Users', 'users', 'id', 'Emails', 'emails', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('34f50f32-6d07-41ae-af86-a23e8e5d47bd', 'calls_leads', 'Calls', 'calls', 'id', 'Leads', 'leads', 'id', 'calls_leads', 'call_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0), ('3551691c-0456-4821-b93f-fad5ab48c6cc', 'oauthtokens_assigned_user', 'Users', 'users', 'id', 'OAuthTokens', 'oauth_tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3554e6de-5c6d-4f5b-9c03-0647a0c06051', '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), ('3617025a-5426-49fd-ba42-2f8d64fa0dda', '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), ('3642c634-fb65-442d-af0e-2710047b1ede', 'cases_created_by', 'Users', 'users', 'id', 'Cases', 'cases', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('367dc801-c104-441a-a3ff-cd5b0372d24a', '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), ('36e1d460-0fc3-4e6d-a41d-7ae327306766', 'aor_reports_assigned_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('37015f1c-8f00-44e8-b376-056951a5f940', 'calls_modified_user', 'Users', 'users', 'id', 'Calls', 'calls', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('37aa1c1f-5b95-4618-8222-8ba9879375ec', 'lead_direct_reports', 'Leads', 'leads', 'id', 'Leads', 'leads', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('38d6c07d-7487-4a01-ad10-14a6f4d8183b', 'jjwg_Maps_cases', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Cases', 'cases', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('394446e1-9089-4354-bceb-82c91b85e9f0', 'fp_events_created_by', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3996e389-2d4d-492f-881c-3a2b5612d3ee', '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), ('3a168748-8201-4c45-b51d-92796ac6df29', 'aos_products_created_by', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3a49b85b-88c4-482e-9953-bfc22ab1452a', 'notes_created_by', 'Users', 'users', 'id', 'Notes', 'notes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3b88d9b6-50aa-445f-b48a-36bddc625303', 'opportunity_notes', 'Opportunities', 'opportunities', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('3b8b2037-8122-4efe-ace1-a0f434040b4d', '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), ('3bc4f4d8-2b0b-431c-8149-3f4e9667ea15', 'meetings_modified_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3c1aed62-a1cc-468d-9e43-682f3ab4cd68', 'aor_conditions_created_by', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3c200283-1fd8-45dd-82f2-c90ef04f7fc3', 'oauth2clients_modified_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3c38bbaa-52fc-41d0-a6dc-6673b701c0ed', 'alerts_created_by', 'Users', 'users', 'id', 'Alerts', 'alerts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3c7e5520-db1a-4790-8eca-defc2055540c', 'saved_search_assigned_user', 'Users', 'users', 'id', 'SavedSearch', 'saved_search', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3cd3d11c-eb40-4c74-b31f-feb612c1febb', 'aor_charts_modified_user', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3ceb8bad-647e-4664-94de-61b96f2ae5a5', '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), ('3de2dcf7-cab6-4ff9-a5b1-39b162358512', 'meetings_users', 'Meetings', 'meetings', 'id', 'Users', 'users', 'id', 'meetings_users', 'meeting_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('3e040c5a-d01d-4d1e-9559-862da1429ea3', 'opportunities_created_by', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3e682d7d-d097-4c56-9ac6-469da30cdd68', 'inbound_email_modified_user_id', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0), ('3f194b64-2691-4fc1-b494-86268a18757e', 'cases_bugs', 'Cases', 'cases', 'id', 'Bugs', 'bugs', 'id', 'cases_bugs', 'case_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('3f45675f-90b8-4bba-a02b-e7fd9c73980c', 'aos_products_assigned_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('401bc7ca-ffda-42b9-b229-db6638b1fee4', 'revisions_created_by', 'Users', 'users', 'id', 'DocumentRevisions', 'document_revisions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('403ca511-9892-4805-a749-a1e54523b934', '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), ('4099f24f-8ed3-4906-902a-74cd15f70e35', 'aow_actions_created_by', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('41406a1c-f2dc-48ad-a80d-40d585cec39c', 'securitygroups_surveyquestionresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionResponses', 0, 0), ('41b16857-058e-45a5-a17e-9ac2dce774c7', 'account_emails', 'Accounts', 'accounts', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('43c6b6f0-1f88-498a-bcd1-97dcc9df9cd2', 'securitygroups_users', 'SecurityGroups', 'securitygroups', 'id', 'Users', 'users', 'id', 'securitygroups_users', 'securitygroup_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('452a11da-c6f4-4090-9087-230b0e82b3f3', 'jjwg_Maps_prospects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Prospects', 'prospects', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('45412356-93e9-4ae6-9771-1a9d2e2f5164', 'calendar_account_meetings', 'CalendarAccount', 'calendar_accounts', 'id', 'Meetings', 'meetings', 'id', 'calendar_account_meetings', 'calendar_account_id', 'meeting_id', 'one-to-many', NULL, NULL, 0, 0), ('455e8f63-ec8a-47a3-9a3f-dbe241ff4cda', 'eapm_created_by', 'Users', 'users', 'id', 'EAPM', 'eapm', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('456cb418-add5-457d-997a-ddf8e7c4a154', '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), ('45e10259-b4bc-490a-acbd-93cee04adafc', '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), ('46e6443d-c3a3-402f-bbf2-189aab5c6888', 'calls_reschedule_modified_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4776b694-0d3b-445b-9eb6-c9f75c9e5365', 'externaloauthprovider_modified_user', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4777f91c-fac4-4ec6-b7b5-706a1e213e62', 'aos_contracts_tasks', 'AOS_Contracts', 'aos_contracts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('4905185f-ec11-4324-9a9f-7e3cc04df012', '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), ('498c9ba0-b492-4c9d-bcbd-c28e55c60c62', 'account_aos_contracts', 'Accounts', 'accounts', 'id', 'AOS_Contracts', 'aos_contracts', 'contract_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('49f3409f-7a3c-4c6d-a00d-ab9bf896bb03', 'bug_calls', 'Bugs', 'bugs', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('49fc879c-07bc-48cc-9fc7-626f382694af', 'am_tasktemplates_modified_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4a7ebc17-19c8-4357-a9e6-139903766268', 'oauth2clients_assigned_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4b7bba7f-54ee-44b6-a586-7d1800e87ec4', '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), ('4bb927d7-3e19-4105-8da8-2bf99bd09af6', 'case_calls', 'Cases', 'cases', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('4c2ffc4f-635f-4b29-b2f0-1e3f5282d63b', 'securitygroups_leads', 'SecurityGroups', 'securitygroups', 'id', 'Leads', 'leads', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Leads', 0, 0), ('4ce4b71e-4f92-43df-ab9d-cf18d9b562b2', 'consumer_tokens', 'OAuthKeys', 'oauth_consumer', 'id', 'OAuthTokens', 'oauth_tokens', 'consumer', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4cf56c9a-4b81-4539-ad42-b48055102409', '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), ('4f2aee33-1aa3-4703-a829-92e752483da7', 'schedulers_modified_user_id_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4f54c491-bd4b-410a-9381-14e5014f9d59', 'jjwg_maps_modified_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('50b53286-0306-402b-a008-df28e2625018', '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), ('517578f9-7368-4836-9d5f-de3eec06d017', 'surveys_modified_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('52124183-5a98-4a28-a1a3-d30591df6527', 'projects_contacts', 'Project', 'project', 'id', 'Contacts', 'contacts', 'id', 'projects_contacts', 'project_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('5217edab-824f-473d-bca6-fd4d4b1926ae', 'reminders_invitees_created_by', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('529a831c-5d1a-4f05-bfba-99d0154a7722', 'documents_created_by', 'Users', 'users', 'id', 'Documents', 'documents', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5360c2f3-928e-478c-8286-320048b15f8f', 'aos_contracts_meetings', 'AOS_Contracts', 'aos_contracts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('542fdfb1-d442-48ed-890c-8e278785c7fe', 'lead_tasks', 'Leads', 'leads', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('551186e3-2718-412f-925e-b0cd59d439e7', 'documents_opportunities', 'Documents', 'documents', 'id', 'Opportunities', 'opportunities', 'id', 'documents_opportunities', 'document_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0), ('56582c8b-5704-4982-adac-68cdb1d2e8ec', 'tasks_assigned_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('56c05112-e388-4f94-8a89-c86bf65551b3', 'aow_conditions_created_by', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('56dda312-4da3-44bc-81e4-e4c9eaaec4a1', 'emails_projects_rel', 'Emails', 'emails', 'id', 'Project', 'project', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Project', 0, 0), ('5711fb25-61a1-4e3e-9591-57ffb4a9de5a', 'aobh_businesshours_created_by', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5829fbf1-e51a-4b1f-b0ae-f2c2004785e7', 'projects_meetings', 'Project', 'project', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('584cb19e-edd8-4388-8f02-43086d806a16', '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), ('5b1406c6-ea12-4fd0-ab90-2f8d58c01db5', 'eapm_assigned_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5b726d5c-7203-477a-99eb-ed3efd78bd43', 'emails_meetings_rel', 'Emails', 'emails', 'id', 'Meetings', 'meetings', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Meetings', 0, 0), ('5caf351e-ab80-47b4-8d0f-f01740a14555', '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), ('5ce65393-810c-4bd8-896a-11c32dba9065', 'contacts_bugs', 'Contacts', 'contacts', 'id', 'Bugs', 'bugs', 'id', 'contacts_bugs', 'contact_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('5dc4c2c3-1dc3-40d3-9312-38c68cee3af2', 'projects_tasks', 'Project', 'project', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('5e28d2e6-1a67-4c1b-8132-ad4a81824da1', 'surveyquestionresponses_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5e71c039-568c-4b7d-ae9d-a083805af546', 'prospect_notes', 'Prospects', 'prospects', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('5eb07677-e36b-4995-a88f-daa6919b1bc3', 'jjwg_Maps_meetings', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Meetings', 'meetings', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0), ('5f115260-1363-4d18-ab60-25b954331c30', '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), ('5f18d648-c38e-489f-bee8-91e49b745b87', 'surveys_campaigns', 'Surveys', 'surveys', 'id', 'Campaigns', 'campaigns', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5f325a6d-4ebb-410e-b6ca-334ca195407e', '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), ('6082f7de-d1b1-414c-b035-79e462073123', '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), ('60b8c814-247e-43a7-abec-ea82412b41da', 'oauth2authcodes_modified_user', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('60c67221-a53c-456e-94bf-4e2d6ba61a34', 'aow_actions_modified_user', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('619f0f34-10a3-4493-8a8b-9acbef1c3525', 'project_tasks_created_by', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('62a00154-ef9e-494e-bace-c7c49c0eeaf9', '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), ('62e988d9-0862-4215-9e02-f59200e204a2', 'prospectlists_assigned_user', 'Users', 'users', 'id', 'ProspectLists', 'prospect_lists', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6345652d-3e34-4985-af5e-cbd74f366fb2', '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), ('635e0509-7144-4634-ad79-282d92dbf8ae', '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), ('6368d22b-781b-4449-b34b-3fbccd715b83', 'favorites_assigned_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('644b0c9c-db14-448a-b09f-a04c2c0cf090', '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), ('664121c1-ae0b-4144-b03c-604475595c8a', 'case_notes', 'Cases', 'cases', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('6667b4d1-037f-4ccd-98ce-7540ee773563', 'bugs_modified_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('672e8530-6edf-4e2e-a3e8-364ea45e8f59', 'emails_bugs_rel', 'Emails', 'emails', 'id', 'Bugs', 'bugs', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Bugs', 0, 0), ('67c3e1fd-dfbd-438c-b2d9-b326f3324ce4', 'leads_assigned_user', 'Users', 'users', 'id', 'Leads', 'leads', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('68ce4f86-c59d-4ac6-874a-02b9208729d1', 'templatesectionline_modified_user', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6a706e6a-1246-48df-ba04-e26d15254a72', 'aor_fields_modified_user', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6ac67e26-c6d5-4edf-9fba-57e898c2d96a', 'campaigns_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6bacd7c2-fff9-4406-a06b-99e68607094b', 'securitygroups_prospect_lists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0), ('6c69ec23-d1e0-439b-97a2-7560d3d66fda', 'aos_quotes_modified_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6caeb9c6-296d-4633-ace7-14a92264bb70', '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), ('6cb3c705-fd23-459e-9961-f7e349201337', 'account_aos_quotes', 'Accounts', 'accounts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6d425ff6-def7-4109-a888-ec3d52e4dd2f', 'aor_charts_created_by', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6dec3ecc-e2c0-414f-9907-dcaf2c11e057', '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), ('6e0d880a-8ae3-45c3-9d79-d66b3a5829d0', 'documents_contacts', 'Documents', 'documents', 'id', 'Contacts', 'contacts', 'id', 'documents_contacts', 'document_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('6e177354-7188-453e-8278-fd083f855e7f', 'aow_processed_created_by', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6f5f71c5-ac43-4581-83aa-250415ae1228', 'projects_project_tasks', 'Project', 'project', 'id', 'ProjectTask', 'project_task', 'project_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6ff89876-7b2d-41f2-bbac-d21eb91f9e0b', 'aobh_businesshours_modified_user', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7041317b-7454-41c8-a7d3-eae591e9eeb1', 'campaign_email_marketing', 'Campaigns', 'campaigns', 'id', 'EmailMarketing', 'email_marketing', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('70e35f5a-ac8b-4a5b-b634-8eb24000c4e5', 'notes_assigned_user', 'Users', 'users', 'id', 'Notes', 'notes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('727d0cb7-81ad-40b4-adc7-94419682b9dc', 'campaign_leads', 'Campaigns', 'campaigns', 'id', 'Leads', 'leads', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('754b58d0-f556-4f00-b83f-857cbac76ad1', 'securitygroups_project_task', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0), ('75900cd2-07ba-4556-919c-5880e69e05a4', 'notes_modified_user', 'Users', 'users', 'id', 'Notes', 'notes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('75c67739-3388-46d9-9c3a-6e95910b1b9e', 'reminders_assigned_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('773a29bb-4ebe-4e22-ae72-6b7d24e73053', 'spots_modified_user', 'Users', 'users', 'id', 'Spots', 'spots', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7778b029-6313-4ea2-818e-f657b14cf9a8', 'surveyresponses_contacts', 'Contacts', 'contacts', 'id', 'SurveyResponses', 'surveyresponses', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('78af3361-da56-4092-a86c-d5a07b658589', 'oauthkeys_modified_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('796b2e3d-15ff-468f-910b-51e70754775d', 'emails_contacts_rel', 'Emails', 'emails', 'id', 'Contacts', 'contacts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Contacts', 0, 0), ('79d40655-5386-43e4-a808-3b44278a8f75', 'calls_assigned_user', 'Users', 'users', 'id', 'Calls', 'calls', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7a067e29-4515-4af8-a135-bd82936303b3', '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), ('7a545856-c8d5-4930-b235-52bd433828e4', 'aow_processed_modified_user', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7aac37f4-594e-4e64-abe0-9074265cd1a9', 'lead_emails', 'Leads', 'leads', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('7ac13530-f915-46a8-b3f9-f79696d3e2a3', 'accounts_bugs', 'Accounts', 'accounts', 'id', 'Bugs', 'bugs', 'id', 'accounts_bugs', 'account_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('7cf3b280-1402-4def-b1a7-71894d6f79ea', 'campaign_emailman', 'Campaigns', 'campaigns', 'id', 'EmailMan', 'emailman', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7df459a6-d423-46f7-9b05-cb8a6a436b6d', 'aow_workflow_created_by', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7e581d0f-2d2d-454a-ba11-79cc3a7636cc', 'tasks_notes', 'Tasks', 'tasks', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7f466b0e-9c2a-4793-bddd-955d7151787f', '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), ('7fad7cbd-5dd1-4e9e-85e1-6b024a242992', 'aow_workflow_assigned_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('80542d28-575b-4d5b-b108-d6dd6124ae09', 'surveyquestions_surveyquestionresponses', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyquestion_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('80749710-7e36-4c2b-8278-e2fd3a63a872', 'outbound_email_created_by', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('83026802-1b89-468d-a442-def84112a3d1', 'campaignlog_lead', 'CampaignLog', 'campaign_log', 'related_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('83527476-97df-4530-b46f-58442fe3d141', 'prospects_modified_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('83f4dce3-b93c-4781-8959-9457bfedf989', 'calendar_accounts_calendar_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'calendar_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8451919f-56ff-4cdd-b92a-e6e1742f5d36', 'jjwg_Maps_leads', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('855242a4-b98c-49de-a4ec-dfaf3971c698', 'bug_emails', 'Bugs', 'bugs', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('85558cb5-1ed6-4e85-ad5f-07e32ea80967', 'account_campaign_log', 'Accounts', 'accounts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Accounts', 0, 0), ('85ceb7d6-9921-424d-b900-76c07912e9c3', 'aod_indexevent_assigned_user', 'Users', 'users', 'id', 'AOD_IndexEvent', 'aod_indexevent', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8712ff53-4438-4744-8f32-0532c77184c4', 'roles_users', 'Roles', 'roles', 'id', 'Users', 'users', 'id', 'roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('87bcef18-bb02-475f-92ff-77c99adf0b51', '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), ('87c83352-ae72-42d3-8f97-7c262382dd94', 'prospect_campaign_log', 'Prospects', 'prospects', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Prospects', 0, 0); INSERT INTO `relationships` VALUES ('87d75eed-cc3b-4b00-bc9c-5612a2d3fb48', '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), ('881a4011-3af1-4459-bde8-44b606a8ae49', 'bugs_fixed_in_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'fixed_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8963cc40-e857-43d4-861e-d8cfd5623a82', 'contact_notes_parent', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0), ('8993e26e-b069-4689-9bcd-906b150c3912', 'oauth2tokens_modified_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('89c49001-70aa-4880-9e5a-8d4a477f11c9', 'aor_fields_created_by', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8a084ba7-07ed-4ad6-bf6c-30c305f8a4fa', 'unified_search', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0), ('8a557dbd-f55e-426d-8b1e-d64cad61d529', 'prospect_emails', 'Prospects', 'prospects', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('8ac565e7-6cbf-4f4c-a4c3-1c0dd37fb2f0', 'aok_knowledgebase_modified_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8ad79dc1-aebe-442a-939c-04c7b07a62bb', 'opportunity_aos_contracts', 'Opportunities', 'opportunities', 'id', 'AOS_Contracts', 'aos_contracts', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8b115d24-9b67-4996-acbf-ab05730f1c05', 'securitygroups_surveys', 'SecurityGroups', 'securitygroups', 'id', 'Surveys', 'surveys', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Surveys', 0, 0), ('8baa13aa-2231-486c-991e-42f6e7ac2669', '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), ('8d4b3a25-3b91-4d85-9e03-dfdeed1f3ca2', '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), ('8eadbcd9-d35c-4b7e-9ef6-39b2c39fded2', 'opportunities_contacts', 'Opportunities', 'opportunities', 'id', 'Contacts', 'contacts', 'id', 'opportunities_contacts', 'opportunity_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('8ed652fa-dfa5-4131-bddc-e8c3d0e72478', 'surveyquestionoptions_created_by', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8ee0af6b-a191-4b5e-970f-619f583a4d34', 'inbound_emails_autoreply_email_templates', 'EmailTemplates', 'email_templates', 'id', 'InboundEmail', 'inbound_email', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8f1fde9e-02ee-4f58-904f-72587ed6c1d9', 'campaign_campaignlog', 'Campaigns', 'campaigns', 'id', 'CampaignLog', 'campaign_log', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8f6c01ce-2bb8-4d69-9fb3-37f665669d2c', 'project_tasks_notes', 'ProjectTask', 'project_task', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('8f924f7c-a89d-48a1-beca-6ccc2eb81b53', 'spots_assigned_user', 'Users', 'users', 'id', 'Spots', 'spots', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8fab7e86-c995-4b4d-9e31-2577097b33aa', 'contacts_cases', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'id', 'contacts_cases', 'contact_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0), ('907eb624-3b94-4634-838f-f506c5f46ce2', 'documents_assigned_user', 'Users', 'users', 'id', 'Documents', 'documents', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('909c2b52-e4c7-45ab-8807-12429d142a66', 'optimistic_locking', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0), ('90bf546b-691c-49d9-a197-f651ec51d7b3', 'bugs_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'found_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('90fa038c-40f2-463c-8572-c53f13c165b8', 'campaign_contacts', 'Campaigns', 'campaigns', 'id', 'Contacts', 'contacts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9160d727-d6a6-4a8e-b041-8b1babf9a00a', 'lead_notes', 'Leads', 'leads', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('9195562b-cba8-4984-80fa-43286534de9e', '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), ('91b00d41-d2bf-4696-bb28-c3bc6562a662', 'favorites_modified_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('91dd851e-11db-471f-b760-0d20425c4217', 'opportunity_tasks', 'Opportunities', 'opportunities', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('9217b7c3-277e-4043-ae37-d0e5f2f9fd0f', 'campaignlog_created_opportunities', 'CampaignLog', 'campaign_log', 'related_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('92c1e8f7-e87f-4c3b-b5c7-568ead178b29', '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), ('92d3c8ce-e87d-47f9-a652-12ec1414d08a', 'jjwg_maps_assigned_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('93db088c-0906-4494-9ab2-ba58ec35bf3f', '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), ('93e5816a-b963-4703-b7eb-ec2a993a66b1', 'surveyquestionresponses_modified_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('94f5741d-8c13-4e60-8013-74a5f0d26ebe', 'aos_contracts_assigned_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('94fe480b-4a27-4187-8884-b4bbfcb88413', '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), ('95d24a2e-8bb2-4c58-8b1c-e731939bec60', 'campaign_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('95d281c1-f93a-4e3d-bad0-25ecf13761b6', 'meetings_notes', 'Meetings', 'meetings', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0), ('96079dd1-5121-4b5d-8660-f7473d27b897', 'fp_events_modified_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('975de7cb-9d4a-4803-8743-63c1e9e3faba', 'securitygroups_contacts', 'SecurityGroups', 'securitygroups', 'id', 'Contacts', 'contacts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Contacts', 0, 0), ('9870f783-b22e-452d-ae1d-e53cf2e5c358', 'securitygroups_bugs', 'SecurityGroups', 'securitygroups', 'id', 'Bugs', 'bugs', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Bugs', 0, 0), ('987dbdbb-435c-42fa-ae91-659bcefdb18e', '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), ('987f55e7-7ce1-438f-a980-2050d8649c05', 'jjwg_areas_created_by', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9881ffc1-adcb-4dc4-9f0a-d791419f4096', 'campaign_accounts', 'Campaigns', 'campaigns', 'id', 'Accounts', 'accounts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('98b78705-3f40-411c-9b00-57025fc14e44', 'emailtemplates_assigned_user', 'Users', 'users', 'id', 'EmailTemplates', 'email_templates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9a7d4a64-314a-41e5-808a-17b02bb9ac52', 'securitygroups_campaigns', 'SecurityGroups', 'securitygroups', 'id', 'Campaigns', 'campaigns', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Campaigns', 0, 0), ('9ab8951c-0fe9-4755-8af9-48da3d845695', '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), ('9af30db5-6f44-48b2-a4b4-13a29b4c694f', 'jjwg_Maps_accounts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Accounts', 'accounts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('9b2d9466-2323-4412-a959-0101a2497ba0', 'opportunities_campaign', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9b7c6996-1eb9-4e35-b666-234a7ceabe63', 'meetings_leads', 'Meetings', 'meetings', 'id', 'Leads', 'leads', 'id', 'meetings_leads', 'meeting_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0), ('9d640cf8-f23d-4eca-a2d7-7114018069be', 'emails_modified_user', 'Users', 'users', 'id', 'Emails', 'emails', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9def6550-63bb-4e12-a798-b01d5b213d6c', 'contacts_modified_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9e770ff0-dbcb-4469-b5cc-19a02fd7a8a9', 'surveyquestions_created_by', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9f10ef9c-868f-478b-98f8-3b7dc38d2c8d', 'calls_notes', 'Calls', 'calls', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Calls', 0, 0), ('a06afec5-e532-4dd9-8306-09900fba4f2d', 'aow_workflow_modified_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a2291a70-9185-4ec1-ad51-917afa4b7e69', '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), ('a22cc0ae-e582-43ab-8fc5-a23a0fd0eb25', 'emails_leads_rel', 'Emails', 'emails', 'id', 'Leads', 'leads', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Leads', 0, 0), ('a28f852c-23cf-45ff-842f-dd257a1c7a76', 'prospects_created_by', 'Users', 'users', 'id', 'Prospects', 'prospects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a36bea16-5095-4c24-b427-ea02297516f9', 'account_calls', 'Accounts', 'accounts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('a3d030f3-8649-4746-825d-23caf4518cef', 'jjwg_markers_modified_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a4533516-495c-401e-815f-f7a729c41d18', 'outbound_email_modified_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a4638f82-93ab-4bbb-8df3-1b4c1fe3cc87', 'user_direct_reports', 'Users', 'users', 'id', 'Users', 'users', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a4dad8ae-58b7-4558-9401-34b4c6ce62d4', 'emails_tasks_rel', 'Emails', 'emails', 'id', 'Tasks', 'tasks', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Tasks', 0, 0), ('a4df7853-b65e-4075-becd-3e264d35d3ef', '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), ('a5788c61-f8b3-4739-9632-6f6bfff2b243', 'am_projecttemplates_modified_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a62441ac-514b-46ea-bfd9-d30eb222667e', 'projects_bugs', 'Project', 'project', 'id', 'Bugs', 'bugs', 'id', 'projects_bugs', 'project_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('a62c2056-40b0-44d9-8ea0-2087eaa8906d', 'aod_indexevent_created_by', 'Users', 'users', 'id', 'AOD_IndexEvent', 'aod_indexevent', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a636cb01-455f-4a56-bf08-184505f576a4', 'securitygroups_calls', 'SecurityGroups', 'securitygroups', 'id', 'Calls', 'calls', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Calls', 0, 0), ('a68c140e-c88d-4cf8-b0ce-98d80df5486e', 'campaignlog_contact', 'CampaignLog', 'campaign_log', 'related_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a6af6ec5-b3f0-467c-9165-b6490041656c', 'securitygroups_emails', 'SecurityGroups', 'securitygroups', 'id', 'Emails', 'emails', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Emails', 0, 0), ('a8c4204e-a56f-486b-bf4d-422b01902cf9', 'contact_campaign_log', 'Contacts', 'contacts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Contacts', 0, 0), ('a9201870-d1cb-4a75-8281-22cf12d748f8', 'aod_index_modified_user', 'Users', 'users', 'id', 'AOD_Index', 'aod_index', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a9dc1bf9-4335-4320-9122-66c64352da47', 'surveyquestionoptions_surveyquestionresponses', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'surveyquestionoptions_surveyquestionresponses', 'surveyq72c7options_ida', 'surveyq10d4sponses_idb', 'many-to-many', NULL, NULL, 0, 0), ('aab250b8-573b-44b7-abcf-3eeeb17e7e7e', 'surveyresponses_modified_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('aaf0c2a0-f151-4fd2-aa69-7209113d83a4', 'campaign_campaigntrakers', 'Campaigns', 'campaigns', 'id', 'CampaignTrackers', 'campaign_trkrs', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ab433a8a-d2b4-4110-8eeb-de1c55f4d746', 'calls_contacts', 'Calls', 'calls', 'id', 'Contacts', 'contacts', 'id', 'calls_contacts', 'call_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('ab96b9c2-b013-45c2-b91d-5c4cf14756a7', 'opportunities_modified_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ad22e81a-c686-4c70-8d1f-55ec5e656a53', 'contact_aos_contracts', 'Contacts', 'contacts', 'id', 'AOS_Contracts', 'aos_contracts', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ad23aacc-7930-4071-a5a1-d03975456d51', 'sugarfeed_assigned_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ad4bcfec-cb47-4eb1-bc88-46be522d118e', 'am_tasktemplates_created_by', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ad95c4d8-cc5f-45b5-984c-337ae1d05bd3', 'securitygroups_externaloauthconnection', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthConnection', 0, 0), ('adb769b6-da3b-4308-a0cb-c4a07ba826ee', 'account_aos_invoices', 'Accounts', 'accounts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('adc72b3f-19ae-4ead-9e7f-2f778b9f6780', '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), ('adde9131-c090-42c2-b431-bccc2b3567d3', 'calendaraccount_assigned_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ae1e079d-6a15-4953-9f14-71ae3b148235', 'contact_aos_invoices', 'Contacts', 'contacts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('aea57c93-a87a-4839-843a-b321da9cab23', 'tasks_created_by', 'Users', 'users', 'id', 'Tasks', 'tasks', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('afd5ca5c-d303-4d5a-a601-8b4457be3195', 'meetings_created_by', 'Users', 'users', 'id', 'Meetings', 'meetings', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b0f6817b-25bf-4a7b-a2e5-f24efbbadf15', 'emails_cases_rel', 'Emails', 'emails', 'id', 'Cases', 'cases', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Cases', 0, 0), ('b101e57e-c66e-41e9-817f-e4b431b57bda', 'email_template_email_marketings', 'EmailTemplates', 'email_templates', 'id', 'EmailMarketing', 'email_marketing', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b201d27e-c809-4c2d-b5f9-b5b85a1c70ca', 'jjwg_markers_assigned_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b2caf124-3432-4226-bc28-a6595d8b93e5', '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), ('b3137917-f755-4aad-a233-9831eba46299', 'prospects_assigned_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b34989c4-c4db-464b-8159-9d377f6953e8', 'documents_accounts', 'Documents', 'documents', 'id', 'Accounts', 'accounts', 'id', 'documents_accounts', 'document_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0), ('b3709857-b270-4a9a-bedf-8aa9a9826041', 'jjwg_maps_created_by', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b3d7d9ed-2d8c-4524-a500-8d91d96afaa5', 'aos_quotes_assigned_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b3da4b4a-716a-404e-85ff-60094bf11994', 'inbound_email_created_by', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0), ('b4102f86-3c4c-4752-abc7-143144707826', 'am_projecttemplates_assigned_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b5400a05-bfaf-4695-8f0b-dc951564e1de', 'alerts_modified_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b545fc56-fa50-44cf-9a4b-eec98afae4ec', 'oauthkeys_created_by', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b65aac4a-4593-4eb6-85a3-16cb75ed2edf', 'documents_cases', 'Documents', 'documents', 'id', 'Cases', 'cases', 'id', 'documents_cases', 'document_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0), ('b68b14eb-08c7-491e-a877-683eb103a6dd', 'templatesectionline_created_by', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b7c54bcc-fa3a-4e24-9113-481d4408a3ab', 'calls_users', 'Calls', 'calls', 'id', 'Users', 'users', 'id', 'calls_users', 'call_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('b83f6f4e-626c-4eeb-8a2b-a93fffcccc71', 'surveyquestions_modified_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b95c73a5-a3e7-417e-be31-58bc5ccf78cd', 'sugarfeed_modified_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ba4a4980-f2c5-43ce-ae12-ead0a9dda3aa', 'jjwg_Maps_contacts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0), ('ba7a239a-cdf6-4b23-b335-c8a57cdb8871', 'cases_assigned_user', 'Users', 'users', 'id', 'Cases', 'cases', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ba7f33a1-d14b-456c-885a-b193f3700087', 'campaign_notes', 'Campaigns', 'campaigns', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Campaigns', 0, 0), ('bab07bcb-5ed4-4da2-b1a6-b90d8baa05ab', 'oauthkeys_assigned_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bacfff18-eef1-495e-a0e3-7c01b71dc7cc', '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), ('bb69a757-bb65-459e-a68c-7b367739a7d1', 'contact_leads', 'Contacts', 'contacts', 'id', 'Leads', 'leads', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bba3dcc6-b367-42a7-9a95-ac0ca8dcae51', 'oauth2tokens_created_by', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bc17a250-dad8-4c0a-ba6e-6bc25845293a', 'emails_users_rel', 'Emails', 'emails', 'id', 'Users', 'users', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Users', 0, 0), ('bd5dc3b8-947d-4010-af24-241c1032c530', '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), ('be2539e5-1b90-474a-b800-e207e1eda690', '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), ('beda90aa-3316-4f53-be2a-7ace5225c741', '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), ('bf02c393-e85e-4305-a705-ed5ac762b496', '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), ('bf7727f3-ac91-4fa5-931d-109968df3d1e', '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), ('c0c99d51-a502-4f13-9d65-7644c515ecc8', 'documents_modified_user', 'Users', 'users', 'id', 'Documents', 'documents', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c0e88910-5e42-4502-ba91-141334eedeae', 'aok_knowledgebase_assigned_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c0f706f3-75e8-468a-aecd-8e516d61415e', 'aos_contracts_notes', 'AOS_Contracts', 'aos_contracts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('c12151ca-a58c-4158-b430-58c0b7f89001', 'accounts_contacts', 'Accounts', 'accounts', 'id', 'Contacts', 'contacts', 'id', 'accounts_contacts', 'account_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('c1bc8474-75dc-4bd5-a417-ef6a48a4d522', 'member_accounts', 'Accounts', 'accounts', 'id', 'Accounts', 'accounts', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c21057e9-1a9c-49e6-b7fa-38aa24f07d33', '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), ('c2f98245-b37f-4e18-b211-e5a591452e66', 'account_cases', 'Accounts', 'accounts', 'id', 'Cases', 'cases', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c322b124-9af5-4867-b0fd-1fcbafb05b83', 'securitygroups_outboundemailaccounts', 'SecurityGroups', 'securitygroups', 'id', 'OutboundEmailAccounts', 'outbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'OutboundEmailAccounts', 0, 0), ('c351ba7d-3858-4be3-be66-dd53e16805a4', '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), ('c3f978c9-dc8d-408d-b002-7990fa7968ba', 'securitygroups_calendaraccount', 'SecurityGroups', 'securitygroups', 'id', 'CalendarAccount', 'calendar_accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'CalendarAccount', 0, 0), ('c4563c71-7acc-4aaa-91d2-4c8792caebe3', 'projects_modified_user', 'Users', 'users', 'id', 'Project', 'project', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c5c11d78-59f7-4e55-aafa-914d91f6a029', 'securitygroups_assigned_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c62ee4a4-446d-4629-a60c-e5e65c17fb75', 'opportunity_aos_quotes', 'Opportunities', 'opportunities', 'id', 'AOS_Quotes', 'aos_quotes', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c63335e4-81fb-4cd9-9bdb-2d8ed7b8b9af', '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), ('c64b76b6-7ce0-4913-8b75-a7f4a4cbc1ca', 'prospect_calls', 'Prospects', 'prospects', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('c754b3d1-b49b-4123-b581-aa9e52cb8ce9', 'aod_indexevent_modified_user', 'Users', 'users', 'id', 'AOD_IndexEvent', 'aod_indexevent', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c896d3c1-9953-41bd-b4f3-ca7068f93734', 'surveys_assigned_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c8f5bbc6-9b52-48c6-af07-43c909c10752', '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), ('c92a5c6b-b604-450b-a7e2-0fba19c67d98', 'project_tasks_modified_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c94414ca-2ee0-4efc-bd32-37a3f9b9d539', 'contacts_assigned_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('cab2852e-a47d-4a48-b3be-b73b9a810439', 'surveyquestions_surveyquestionoptions', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'survey_question_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('cbbe54fd-ac29-4957-875f-0ba01b38f5d6', 'securitygroups_acl_roles', 'SecurityGroups', 'securitygroups', 'id', 'ACLRoles', 'acl_roles', 'id', 'securitygroups_acl_roles', 'securitygroup_id', 'role_id', 'many-to-many', NULL, NULL, 0, 0), ('cbe8aa44-9283-45ff-a1c1-a5c8c279fdcb', 'surveyresponses_campaigns', 'Campaigns', 'campaigns', 'id', 'SurveyResponses', 'surveyresponses', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('cc874176-e43f-4201-ac9d-8dadb0899f12', 'securitygroups_documents', 'SecurityGroups', 'securitygroups', 'id', 'Documents', 'documents', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Documents', 0, 0), ('ce2361a4-6a25-4d35-9446-0a0993a4e0bb', 'aow_conditions_modified_user', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ce528752-cf0f-484a-8f5c-42d458d95a60', 'securitygroups_meetings', 'SecurityGroups', 'securitygroups', 'id', 'Meetings', 'meetings', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Meetings', 0, 0), ('ce675fb7-474b-4133-87c4-5f4fc885644a', 'surveyquestions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d03f6bf2-3e2c-44ec-96cf-91e496726716', 'oauth2tokens_assigned_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d2ec71bc-0dc3-47b4-9e67-db934c614256', 'securitygroups_project', 'SecurityGroups', 'securitygroups', 'id', 'Project', 'project', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Project', 0, 0), ('d30d15ee-4a1e-4f24-b63a-8291cf483730', 'account_tasks', 'Accounts', 'accounts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('d35a8682-8320-438f-bad7-f5f1ff09ab6c', 'emails_opportunities_rel', 'Emails', 'emails', 'id', 'Opportunities', 'opportunities', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Opportunities', 0, 0), ('d399ac57-d5e4-4615-bbd1-c84d0d3d3e08', 'case_emails', 'Cases', 'cases', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('d417df71-a19e-4d3b-8d90-493388ed25b1', 'bug_meetings', 'Bugs', 'bugs', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('d46b9370-1432-4d83-a3b8-db02a4ce86dd', 'surveyresponses_created_by', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d58fe35f-0705-494b-b86a-bf2ba101e08c', 'oauth2clients_oauth2tokens', 'OAuth2Clients', 'oauth2clients', 'id', 'OAuth2Tokens', 'oauth2tokens', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d59298b7-cbc0-40d4-aeb2-0a2c16a788a7', '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), ('d5cfbfe3-f3be-4995-9572-86241daf6241', 'am_tasktemplates_assigned_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d5f435e3-09da-4d87-90a5-168c440a4200', 'calls_reschedule_created_by', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d6526afb-a7c0-4c24-a5b3-c7c252f9a091', 'tasks_modified_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d6650e2f-369c-44b6-8949-2a1a18ff9625', 'prospect_tasks', 'Prospects', 'prospects', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('d6662aa4-8ef8-4a57-8226-f85f831f63c0', 'securitygroups_inboundemail', 'SecurityGroups', 'securitygroups', 'id', 'InboundEmail', 'inbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'InboundEmail', 0, 0), ('d6cfe4be-e856-4b43-bec3-2cc1d7b49694', 'contact_tasks', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d758bf7f-b17e-4d6b-a18b-9fc4d781aeac', '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), ('d788f8c2-265a-4e29-b053-69285d8c2711', 'accounts_modified_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d79e7968-b8a6-430e-89e1-292d4f29561a', 'aos_invoices_created_by', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('da1cbedc-a34b-406b-8534-8770ef04354c', 'cases_modified_user', 'Users', 'users', 'id', 'Cases', 'cases', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('dab5c1f9-5c35-44ba-ac83-98cd771d6870', 'calls_reschedule_assigned_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('db18a562-cd3e-4289-9241-11bd58afe24f', '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), ('db1a15ba-8f42-4d63-b8e7-414d25205c64', 'securitygroups_spots', 'SecurityGroups', 'securitygroups', 'id', 'Spots', 'spots', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Spots', 0, 0), ('db97c488-6c43-4fba-a9c7-fdd54bd22c77', 'aos_contracts_modified_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('dbeb4ffd-b7c3-40da-b1c2-bb3ae06553c5', 'securitygroups_externaloauthprovider', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthProvider', 0, 0), ('dcf27993-c5c6-452c-9ba6-d25bc81bbfa3', 'surveys_created_by', 'Users', 'users', 'id', 'Surveys', 'surveys', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('de379b1d-a8cf-4ce2-926e-0663a9c3ba17', '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), ('de4a19bd-5129-417c-96ef-4b9426cc44e3', 'accounts_opportunities', 'Accounts', 'accounts', 'id', 'Opportunities', 'opportunities', 'id', 'accounts_opportunities', 'account_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0), ('de92defb-5b99-442c-a8a1-535e7291ef9e', 'project_tasks_emails', 'ProjectTask', 'project_task', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('df866939-ddf2-4133-96bf-988d2a45ec21', 'eapm_modified_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e002d49c-1658-43b6-8889-3eee9e00be6d', 'opportunity_calls', 'Opportunities', 'opportunities', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('e0499153-b534-45f9-87e1-aa99bcc248f3', 'bug_notes', 'Bugs', 'bugs', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('e11ed90f-2580-4d2a-9a9a-5c0bdcdef7f2', 'case_meetings', 'Cases', 'cases', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('e21765eb-8e7c-4095-a119-ac307fe1b1a7', 'oauth2clients_oauth2authcodes', 'OAuth2Clients', 'oauth2clients', 'id', 'Oauth2AuthCodes', 'oauth2authcodes', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e302ac07-71eb-4d31-9232-514a97e49646', 'account_meetings', 'Accounts', 'accounts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('e3c525d5-a2c5-4d64-a266-4fe919ed28fb', 'surveyquestionoptions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e48a52a5-3d90-4505-9507-a47e9f3d7d98', 'aos_products_modified_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e51fa5c8-716a-4e43-9c89-7cb750133610', '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), ('e5b90cb8-2dbc-4400-a2b7-380c2959c0c4', 'accounts_assigned_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e5cc27bf-b75c-47af-a72e-d7ef18274d04', 'externaloauthprovider_created_by', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e6610619-6510-4450-a2c4-32c7a82f998b', 'am_projecttemplates_created_by', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e6e62291-d8c3-4e18-ae36-1babb8a12c68', 'securitygroups_surveyquestions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestions', 'surveyquestions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestions', 0, 0), ('e73989df-6033-4567-bcd8-cce5e09e8294', 'opportunity_meetings', 'Opportunities', 'opportunities', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('e85c64fb-4a40-4f3d-91fe-561269579338', '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), ('e9450ed0-1cb9-412a-bb44-eaf647a239fd', 'campaignlog_sent_emails', 'CampaignLog', 'campaign_log', 'related_id', 'Emails', 'emails', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ea252dd4-9ca5-4ed8-9577-c14a1b23bfe1', 'securitygroups_tasks', 'SecurityGroups', 'securitygroups', 'id', 'Tasks', 'tasks', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Tasks', 0, 0), ('ea845844-d38e-469e-88cd-a15bdee008b2', 'projects_emails', 'Project', 'project', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('ea9e24b1-89d4-4e42-bd04-ce8660df9cf0', 'acl_roles_users', 'ACLRoles', 'acl_roles', 'id', 'Users', 'users', 'id', 'acl_roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('eaf9c53c-55f2-42db-a1f4-21795ddd90d4', 'account_notes', 'Accounts', 'accounts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('eb220155-7740-4835-8715-611f01d91bd6', 'emails_notes_rel', 'Emails', 'emails', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('eb3e772f-33c2-4e11-b532-8fc213ddd5fa', 'opportunity_currencies', 'Opportunities', 'opportunities', 'currency_id', 'Currencies', 'currencies', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ebd756f1-68cf-4a05-bda0-63568ebc7942', '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), ('ec4f4ed9-76e9-4852-a6dd-c4d25e103790', 'campaign_prospects', 'Campaigns', 'campaigns', 'id', 'Prospects', 'prospects', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ec54b78b-c200-4403-b815-c57343ba9046', 'securitygroups_modified_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ec8209b0-6b05-4281-9223-2641e1895509', 'securitygroups_surveyresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyResponses', 'surveyresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyResponses', 0, 0), ('ecec620e-e940-4dce-a49d-f7ce78340520', '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), ('ed446990-b720-4f65-85ac-65e2e12e43e7', '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), ('ed9c7f4c-58cf-41f1-9cc2-b2850e3e48ef', 'bugs_assigned_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ee3afb36-e4ee-4ade-aa0b-ff86b1fddada', 'cases_created_contact', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'contact_created_by_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ee7e986d-5ae3-401a-bd9f-45729d23e29e', 'calendaraccount_modified_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ee90a00d-4ca0-4ddd-bda9-eec491fa928b', 'contact_aos_quotes', 'Contacts', 'contacts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('eecabfd3-795a-45a4-a729-bb204024f3fa', '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), ('ef0243a3-96d4-4dda-9aff-5aabae21d035', '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), ('ef1a1ef3-ccf7-4887-88ac-179e7d1d6340', 'projects_assigned_user', 'Users', 'users', 'id', 'Project', 'project', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ef1d1189-e672-4cd9-b31d-72ef6269317c', '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), ('ef2616d0-ee2f-4a96-bf82-c2d75ff6c55d', '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), ('ef82c0b8-54ca-4960-ba62-8391a67b61c8', '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), ('f0093d17-b925-42ab-8eb0-cc2458f389ef', 'contacts_users', 'Contacts', 'contacts', 'id', 'Users', 'users', 'id', 'contacts_users', 'contact_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('f0431e70-3fb1-4985-84d2-7513a2e69137', '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), ('f0a633da-1c6c-40bc-acba-d0e9aab21ef8', 'reminders_modified_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f0cbca38-39ec-4f44-a8d1-3ad4482c3538', '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), ('f13ea116-9614-441f-aca5-208e67bcaa33', 'bug_tasks', 'Bugs', 'bugs', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('f19453fd-9707-4c28-96f7-7f4a98b86cab', 'schedulers_jobs_rel', 'Schedulers', 'schedulers', 'id', 'SchedulersJobs', 'job_queue', 'scheduler_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f1a0d965-476c-4a14-b561-a733adbc190f', '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), ('f21dd8ff-6567-4aec-a816-79cdc2ad6c1e', '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), ('f242e6b6-3ee7-4bb2-ae19-09d370c3655c', '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), ('f2fa70c5-3d82-4dec-b745-ce6ca40092b9', 'jjwg_Maps_projects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Project', 'project', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('f31b43ea-40d6-4772-adae-053da8a7cc79', 'surveyresponses_surveyquestionresponses', 'SurveyResponses', 'surveyresponses', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyresponse_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f380d784-d12e-42a0-ad5f-0e7c1764564a', '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), ('f40b45c2-2de4-408f-b4bf-932bd89ecccb', 'reminders_invitees_modified_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f41d810d-6066-437b-b5da-b275ab030d57', '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), ('f482185b-1db2-4935-966b-6fdb1ed557b8', 'reminders_created_by', 'Users', 'users', 'id', 'Reminders', 'reminders', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f4a57fb9-e49c-48ef-a952-4615e6bb8ea3', 'case_tasks', 'Cases', 'cases', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('f4ff0480-2434-4d5a-8cd9-30ef28c5e1f0', 'lead_campaign_log', 'Leads', 'leads', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Leads', 0, 0), ('f59660d8-04a5-4eff-9349-da3f4f7b4235', 'document_revisions', 'Documents', 'documents', 'id', 'DocumentRevisions', 'document_revisions', 'document_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f5b5dec6-d879-4d1a-a631-095a1e391f76', 'calendaraccount_created_by', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f663387b-6ef0-4bf5-bace-b32c8aea9d49', 'project_tasks_meetings', 'ProjectTask', 'project_task', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('f6a228db-fc2e-42a5-b007-e0ef376c9f77', 'campaign_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f7493c9b-1baf-440e-9a31-13f2f9020363', 'campaignlog_targeted_users', 'CampaignLog', 'campaign_log', 'target_id', 'Users', 'users', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f7790c51-217c-48f2-beb1-ce0c57519d37', '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), ('f7a8f2a2-eac3-4ca8-a3d7-e5e6ecaf99f2', 'emails_accounts_rel', 'Emails', 'emails', 'id', 'Accounts', 'accounts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Accounts', 0, 0), ('f888cf51-241e-46ae-9b8e-a57b2a8eb8bb', 'contacts_created_by', 'Users', 'users', 'id', 'Contacts', 'contacts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f89a1051-5c4d-4610-a5dc-771f06c72dbd', '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), ('f958e89d-60d5-442f-b0e8-4c2be6b6f7f2', 'meetings_contacts', 'Meetings', 'meetings', 'id', 'Contacts', 'contacts', 'id', 'meetings_contacts', 'meeting_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('f971e4a7-c022-4d21-b390-feedca5add76', 'oauth2clients_created_by', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fa2a4466-9cba-45b6-90bc-77d82e840398', 'contact_tasks_parent', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0), ('fa485309-8fd0-4107-90e8-221ab8a9cbfa', '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), ('fb16f932-e3d7-4339-bcbd-42a155350da1', 'campaigns_created_by', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fb18a31e-98a1-41aa-ab90-921802f1def7', 'securitygroups_created_by', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fb3a55f6-e9d3-464c-b882-ac5094983ff9', 'surveys_surveyresponses', 'Surveys', 'surveys', 'id', 'SurveyResponses', 'surveyresponses', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0); INSERT INTO `relationships` VALUES ('fbacf564-b003-47f9-84cf-11a780ec6243', 'surveys_surveyquestions', 'Surveys', 'surveys', 'id', 'SurveyQuestions', 'surveyquestions', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fce4877c-4561-4b79-bd7f-aed4d7874991', '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), ('fd300c04-0700-4f09-8914-63f6c2c19c4f', '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), ('fda80ec6-abf9-4608-b41f-3cfab92f0608', '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), ('fdeaef28-5ac3-437a-b83d-a84fe62b04db', 'securitygroups_notes', 'SecurityGroups', 'securitygroups', 'id', 'Notes', 'notes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Notes', 0, 0), ('fdfcf660-1f39-4410-be07-12f59413ea56', '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), ('ff02485b-08cf-42ea-bc72-930bb484d867', 'emails_prospects_rel', 'Emails', 'emails', 'id', 'Prospects', 'prospects', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Prospects', 0, 0), ('ff2939ff-3ff1-4988-8370-267a4c59a572', 'account_leads', 'Accounts', 'accounts', 'id', 'Leads', 'leads', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ffdb8dd8-dc7d-4cff-90f8-f72b1ad31e09', 'calls_created_by', 'Users', 'users', 'id', 'Calls', 'calls', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fff8a4a6-51b0-4641-b4f0-3ae54a1f21be', 'projects_opportunities', 'Project', 'project', 'id', 'Opportunities', 'opportunities', 'id', 'projects_opportunities', 'project_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `releases` -- CREATE TABLE `releases` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `list_order` int DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_releases` (`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `reminders` -- CREATE TABLE `reminders` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `popup` tinyint(1) DEFAULT NULL, `email` tinyint(1) DEFAULT NULL, `email_sent` tinyint(1) DEFAULT NULL, `timer_popup` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `timer_email` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_event_module` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_event_module_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `reminders_invitees` -- CREATE TABLE `reminders_invitees` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `reminder_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `related_invitee_module` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_invitee_module_id` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles` -- CREATE TABLE `roles` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `modules` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_role_id_del` (`id`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles_modules` -- CREATE TABLE `roles_modules` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `role_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles_users` -- CREATE TABLE `roles_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `role_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `saved_search` -- CREATE TABLE `saved_search` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `search_module` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contents` text COLLATE utf8mb4_general_ci, `description` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_desc` (`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `schedulers` -- CREATE TABLE `schedulers` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `job` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_time_start` datetime DEFAULT NULL, `date_time_end` datetime DEFAULT NULL, `job_interval` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `time_from` time DEFAULT NULL, `time_to` time DEFAULT NULL, `last_run` datetime DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `catch_up` tinyint(1) DEFAULT '1', PRIMARY KEY (`id`), KEY `idx_schedule` (`date_time_start`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `schedulers` -- INSERT INTO `schedulers` VALUES ('041227f9-8e2c-4e5c-84c3-83bdcf85dc6b', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Tracker Tables', 'function::trimTracker', '2015-01-01 14:45:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1), ('0f33d6b6-f2f5-4226-9b69-9dc23abaa348', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Process Workflow Tasks', 'function::processAOW_Workflow', '2015-01-01 12:45:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1), ('19ee6a22-f6ef-4a16-a8f6-a8d1c0733080', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Email Reminder Notifications', 'function::sendEmailReminders', '2015-01-01 13:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0), ('338a01e4-daec-41df-9e48-0406212c94b9', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Report Generation Scheduled Tasks', 'function::aorRunScheduledReports', '2015-01-01 06:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1), ('4307e6d5-0b3f-405b-b32e-3e7dcc730fd8', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Database on 1st of Month', 'function::pruneDatabase', '2015-01-01 15:45:01', NULL, '0::4::1::*::*', NULL, NULL, NULL, 'Inactive', 0), ('81d37a01-2af6-42d9-9ea4-c95d1b0ecd7e', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Check Inbound Mailboxes', 'function::pollMonitoredInboxesAOP', '2015-01-01 18:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0), ('a18481bd-2f06-44cf-9888-1491a66f0c30', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Elasticsearch Index', 'function::runElasticSearchIndexerScheduler', '2015-01-01 13:00:01', NULL, '30::4::*::*::*', NULL, NULL, NULL, 'Active', 0), ('afe9248c-0fa2-4712-bf22-8bf691d76a8b', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Lucene Index', 'function::aodIndexUnindexed', '2015-01-01 10:00:01', NULL, '0::0::*::*::*', NULL, NULL, NULL, 'Active', 0), ('b84e7836-e185-498d-8abe-c1a11a552f86', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Process Bounced Campaign Emails', 'function::pollMonitoredInboxesForBouncedCampaignEmails', '2015-01-01 11:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1), ('cba86482-70a1-4a04-a48f-f44c60634962', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Calendar Accounts Sync', 'function::calendarSyncJob', '2015-01-01 11:45:01', NULL, '*/15::*::*::*::*', NULL, NULL, NULL, 'Active', 0), ('cdc94e2c-b951-4fea-b3cc-21254d62a0d8', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Mass Email Campaigns', 'function::runMassEmailCampaign', '2015-01-01 13:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1), ('d4676bdc-f629-436f-800e-95cc1003de13', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Optimise AOD Index', 'function::aodOptimiseIndex', '2015-01-01 07:00:01', NULL, '0::*/3::*::*::*', NULL, NULL, NULL, 'Active', 0), ('dfc75a4f-e04c-48e8-8e80-ce414393383a', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Removal of documents from filesystem', 'function::removeDocumentsFromFS', '2015-01-01 13:45:01', NULL, '0::3::1::*::*', NULL, NULL, NULL, 'Active', 0), ('f7ba599c-202a-4d0c-99f0-b2898fb016b1', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune SuiteCRM Feed Tables', 'function::trimSugarFeeds', '2015-01-01 11:30:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1), ('ff4762b6-8b2e-4e1e-8b2d-95bc06a6231f', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Jobs Queue', 'function::cleanJobQueue', '2015-01-01 14:45:01', NULL, '0::5::*::*::*', NULL, NULL, NULL, 'Active', 0); -- -------------------------------------------------------- -- -- Table structure for table `securitygroups` -- CREATE TABLE `securitygroups` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `noninheritable` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_acl_roles` -- CREATE TABLE `securitygroups_acl_roles` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `securitygroup_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `role_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_audit` -- CREATE TABLE `securitygroups_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_securitygroups_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_default` -- CREATE TABLE `securitygroups_default` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `securitygroup_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_records` -- CREATE TABLE `securitygroups_records` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `securitygroup_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `record_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_users` -- CREATE TABLE `securitygroups_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `securitygroup_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `spots` -- CREATE TABLE `spots` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `config` longtext COLLATE utf8mb4_general_ci, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `sugarfeed` -- CREATE TABLE `sugarfeed` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `link_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `link_type` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `sgrfeed_date` (`date_entered`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionoptions` -- CREATE TABLE `surveyquestionoptions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `sort_order` int DEFAULT NULL, `survey_question_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionoptions_audit` -- CREATE TABLE `surveyquestionoptions_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyquestionoptions_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionoptions_surveyquestionresponses` -- CREATE TABLE `surveyquestionoptions_surveyquestionresponses` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `surveyq72c7options_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `surveyq10d4sponses_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `surveyquestionoptions_surveyquestionresponses_alt` (`surveyq72c7options_ida`,`surveyq10d4sponses_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionresponses` -- CREATE TABLE `surveyquestionresponses` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `answer` text COLLATE utf8mb4_general_ci, `answer_bool` tinyint(1) DEFAULT NULL, `answer_datetime` datetime DEFAULT NULL, `surveyquestion_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `surveyresponse_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionresponses_audit` -- CREATE TABLE `surveyquestionresponses_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyquestionresponses_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestions` -- CREATE TABLE `surveyquestions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `sort_order` int DEFAULT NULL, `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `happiness_question` tinyint(1) DEFAULT NULL, `survey_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestions_audit` -- CREATE TABLE `surveyquestions_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyquestions_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyresponses` -- CREATE TABLE `surveyresponses` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `happiness` int DEFAULT NULL, `email_response_sent` tinyint(1) DEFAULT NULL, `account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `survey_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyresponses_audit` -- CREATE TABLE `surveyresponses_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyresponses_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveys` -- CREATE TABLE `surveys` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'LBL_DRAFT', `submit_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Submit', `satisfied_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Satisfied', `neither_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Neither Satisfied nor Dissatisfied', `dissatisfied_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Dissatisfied', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveys_audit` -- CREATE TABLE `surveys_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveys_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks` -- CREATE TABLE `tasks` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci 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) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(100) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `templatesectionline` -- CREATE TABLE `templatesectionline` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `thumbnail` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `grp` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ord` int DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `tracker` -- CREATE TABLE `tracker` ( `id` int NOT NULL AUTO_INCREMENT, `monitor_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `item_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `item_summary` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `action` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `session_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `upgrade_history` -- CREATE TABLE `upgrade_history` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `filename` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `md5sum` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `version` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `id_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `manifest` longtext COLLATE utf8mb4_general_ci, `date_entered` datetime DEFAULT NULL, `enabled` tinyint(1) DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `upgrade_history_md5_uk` (`md5sum`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `user_name` varchar(60) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_hash` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `system_generated_password` tinyint(1) DEFAULT NULL, `pwd_last_changed` datetime DEFAULT NULL, `authenticate_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `sugar_login` tinyint(1) DEFAULT '1', `first_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_admin` tinyint(1) DEFAULT '0', `external_auth_only` tinyint(1) DEFAULT '0', `receive_notifications` tinyint(1) DEFAULT '1', `description` text COLLATE utf8mb4_general_ci, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `title` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `photo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `department` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_home` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_mobile` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_work` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_other` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_country` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `portal_only` tinyint(1) DEFAULT '0', `show_on_employees` tinyint(1) DEFAULT '1', `employee_status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `messenger_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `messenger_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `reports_to_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_group` tinyint(1) DEFAULT NULL, `factor_auth` tinyint(1) DEFAULT NULL, `factor_auth_interface` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_user_name` (`user_name`,`is_group`,`status`,`last_name`(30),`first_name`(30),`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- 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); -- -------------------------------------------------------- -- -- Table structure for table `users_feeds` -- CREATE TABLE `users_feeds` ( `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `feed_id` varchar(36) COLLATE utf8mb4_general_ci 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=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users_last_import` -- CREATE TABLE `users_last_import` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `import_module` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bean_type` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bean_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_user_id` (`assigned_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users_password_link` -- CREATE TABLE `users_password_link` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `keyhash` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `username` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_generated` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_username` (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users_signatures` -- CREATE TABLE `users_signatures` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `signature` text COLLATE utf8mb4_general_ci, `signature_html` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_usersig_uid` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `user_preferences` -- CREATE TABLE `user_preferences` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `category` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contents` longtext COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_userprefnamecat` (`assigned_user_id`,`category`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `user_preferences` -- INSERT INTO `user_preferences` VALUES ('b77bf456-3986-436e-b3f6-62bb79b87f8c', 'global', 0, '[[regtime]]', '[[regtime]]', '1', 'YToxODp7czoyMDoiY2FsZW5kYXJfcHVibGlzaF9rZXkiO3M6MzY6IjhlY2IyZTIxLTRhYjgtNGIwNS05MGUyLWNkNzQ5M2EwZGQ1NSI7czoxMjoibWFpbG1lcmdlX29uIjtzOjM6Im9mZiI7czoxNjoic3dhcF9sYXN0X3ZpZXdlZCI7YjowO3M6MTQ6InN3YXBfc2hvcnRjdXRzIjtiOjA7czoxOToibmF2aWdhdGlvbl9wYXJhZGlnbSI7czoyOiJnbSI7czoyMDoic29ydF9tb2R1bGVzX2J5X25hbWUiO3M6MDoiIjtzOjEzOiJzdWJwYW5lbF90YWJzIjtiOjE7czoyNToiY291bnRfY29sbGFwc2VkX3N1YnBhbmVscyI7czowOiIiO3M6MTQ6Im1vZHVsZV9mYXZpY29uIjtiOjA7czo5OiJoaWRlX3RhYnMiO2E6MDp7fXM6MTE6InJlbW92ZV90YWJzIjthOjA6e31zOjc6Im5vX29wcHMiO3M6Mzoib2ZmIjtzOjg6InRpbWV6b25lIjtzOjE2OiJBbWVyaWNhL05ld19Zb3JrIjtzOjI6InV0IjtzOjE6IjEiO3M6MTQ6InVzZV9yZWFsX25hbWVzIjtiOjE7czoxNzoibWFpbF9zbXRwYXV0aF9yZXEiO3M6MDoiIjtzOjEyOiJtYWlsX3NtdHBzc2wiO2k6MDtzOjE3OiJlbWFpbF9zaG93X2NvdW50cyI7aTowO30='); -- -------------------------------------------------------- -- -- Table structure for table `vcals` -- CREATE TABLE `vcals` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `user_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `content` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_vcal` (`type`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; /*!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 */;
Save File
Cancel