File: //var/softaculous/suitecrm/suitecrm.sql
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `suitecrm892`
--
-- --------------------------------------------------------
--
-- Table structure for table `accounts`
--
CREATE TABLE `accounts` (
`id` char(36) NOT NULL,
`name` varchar(150) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`account_type` varchar(50) DEFAULT NULL,
`industry` varchar(50) DEFAULT NULL,
`annual_revenue` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`billing_address_street` varchar(150) DEFAULT NULL,
`billing_address_city` varchar(100) DEFAULT NULL,
`billing_address_state` varchar(100) DEFAULT NULL,
`billing_address_postalcode` varchar(20) DEFAULT NULL,
`billing_address_country` varchar(255) DEFAULT NULL,
`rating` varchar(100) DEFAULT NULL,
`phone_office` varchar(100) DEFAULT NULL,
`phone_alternate` varchar(100) DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
`ownership` varchar(100) DEFAULT NULL,
`employees` varchar(10) DEFAULT NULL,
`ticker_symbol` varchar(10) DEFAULT NULL,
`shipping_address_street` varchar(150) DEFAULT NULL,
`shipping_address_city` varchar(100) DEFAULT NULL,
`shipping_address_state` varchar(100) DEFAULT NULL,
`shipping_address_postalcode` varchar(20) DEFAULT NULL,
`shipping_address_country` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`sic_code` varchar(10) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_accnt_id_del` (`id`,`deleted`),
KEY `idx_accnt_name_del` (`name`,`deleted`),
KEY `idx_accnt_assigned_del` (`deleted`,`assigned_user_id`),
KEY `idx_accnt_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_audit`
--
CREATE TABLE `accounts_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_accounts_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_bugs`
--
CREATE TABLE `accounts_bugs` (
`id` varchar(36) NOT NULL,
`account_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_acc_bug_acc` (`account_id`),
KEY `idx_acc_bug_bug` (`bug_id`),
KEY `idx_account_bug` (`account_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_cases`
--
CREATE TABLE `accounts_cases` (
`id` varchar(36) NOT NULL,
`account_id` varchar(36) DEFAULT NULL,
`case_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_acc_case_acc` (`account_id`),
KEY `idx_acc_acc_case` (`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_contacts`
--
CREATE TABLE `accounts_contacts` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`account_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_account_contact` (`account_id`,`contact_id`),
KEY `idx_contid_del_accid` (`contact_id`,`deleted`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_cstm`
--
CREATE TABLE `accounts_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `accounts_opportunities`
--
CREATE TABLE `accounts_opportunities` (
`id` varchar(36) NOT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
`account_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_account_opportunity` (`account_id`,`opportunity_id`),
KEY `idx_oppid_del_accid` (`opportunity_id`,`deleted`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `acl_actions`
--
CREATE TABLE `acl_actions` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(150) DEFAULT NULL,
`category` varchar(100) DEFAULT NULL,
`acltype` varchar(100) DEFAULT NULL,
`aclaccess` int(3) 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=utf8;
--
-- Dumping data for table `acl_actions`
--
INSERT INTO `acl_actions` VALUES
('000dabc7-ccd1-449c-a242-c36058b96136', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Surveys', 'module', 90, 0),
('005620c6-7e26-433d-9530-4730d15d28ef', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Emails', 'module', 90, 0),
('0081e584-9f11-4d5f-8b03-909ab3aa138d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Leads', 'module', 90, 0),
('01e87075-7777-46dd-a29d-f0b5322070c0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Bugs', 'module', 90, 0),
('02671e0b-d312-4da9-9a9b-c07b2c841861', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_Processed', 'module', 90, 0),
('034e12e9-0ba3-481d-9030-a7e5563d4f8c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionResponses', 'module', 89, 0),
('036e65f7-fdcf-4d78-99a9-fda6b88a5c33', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_Processed', 'module', 90, 0),
('03827998-4f8b-4561-96e1-65b964835d7b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Notes', 'module', 90, 0),
('039f70f6-561f-47a5-a103-66b289abe475', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Areas', 'module', 89, 0),
('049397b2-646b-409e-8e04-c58890d0cc3e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'MediaObjects', 'module', 90, 0),
('04e45116-b8d8-4539-ab9b-3b453a5364d5', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Scheduled_Reports', 'module', 90, 0),
('057fed7b-6087-4e03-81ae-1f8477ce4c37', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProjectTask', 'module', 90, 0),
('05aecc8c-21bb-4a6d-b19b-2bce41dc9360', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Alerts', 'module', 90, 0),
('05cb3f22-747c-4bfb-897a-00e5e952042b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Tasks', 'module', 90, 0),
('06651898-8c7e-42bd-bc27-3af7b92592b7', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionOptions', 'module', 90, 0),
('0684cd1b-7e63-4be6-9ae3-e58adc21b457', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Cases', 'module', 89, 0),
('06f103c5-3c16-493f-b998-d1478fb4f7be', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Contacts', 'module', 90, 0),
('0739d404-3add-41d6-ad6e-5c58aa71b1cc', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Project', 'module', 90, 0),
('078141b3-81d0-4391-ae7e-6ecc7bb67f2e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_TaskTemplates', 'module', 90, 0),
('078f183d-c72d-4b0f-9eac-6a2ac4513f52', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls_Reschedule', 'module', 90, 0),
('07b81301-edf8-4764-ac32-6ca39c0ebadb', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_TaskTemplates', 'module', 90, 0),
('08ac040b-0129-4263-9746-0a84f738fa12', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls', 'module', 90, 0),
('08e37073-2efd-436e-b404-fb45b9a1a38b', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailMarketing', 'module', 90, 0),
('098fb1de-008c-4d3b-91d2-97ca124044fe', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'MediaObjects', 'module', 89, 0),
('09b93ca1-4db3-43a1-893d-aee4f557c04e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Product_Categories', 'module', 90, 0),
('09bbae34-481e-40a8-a27b-ee434b512cfd', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SecurityGroups', 'module', 90, 0),
('0a23e981-0270-482d-945e-6308cf750e5d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_PDF_Templates', 'module', 90, 0),
('0a757310-3dc3-434f-84bc-48c25294e72f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_KnowledgeBase', 'module', 90, 0),
('0aa6c9eb-9784-4cb2-a30c-995ab9e8b92e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_WorkFlow', 'module', 90, 0),
('0c4fa877-0b66-4513-95ba-691269a4bca7', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Documents', 'module', 90, 0),
('0ceaacf7-03de-443a-ab73-f5f712f276d5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Tasks', 'module', 90, 0),
('0d3373ec-6d19-4af7-a16e-f45354564284', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Invoices', 'module', 90, 0),
('0d363e09-e1a1-4edd-b25c-32e583736c22', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Opportunities', 'module', 90, 0),
('0d3707fb-9139-4271-b185-5fd51d0217b8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Maps', 'module', 90, 0),
('0dd33828-68a0-487e-b34c-07a956a91d84', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Emails', 'module', 90, 0),
('0e186aab-2059-450f-8744-03126fa63cc8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EAPM', 'module', 90, 0),
('0f3035fe-d041-47c5-ae9b-e3dfb361b4c6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Tasks', 'module', 90, 0),
('0f6b3b4e-ce76-4e30-a34b-e191614af3d9', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProjectTask', 'module', 90, 0),
('0fa04fde-cbe7-48da-8ead-8e969baa29aa', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EAPM', 'module', 90, 0),
('11b2749b-ca7b-467e-bfef-832a6688aae1', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Scheduled_Reports', 'module', 90, 0),
('13089d27-5b96-4db0-b541-ca21448064d2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Contracts', 'module', 90, 0),
('156ea853-cfcb-4dff-93c5-c651ef357ff1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Meetings', 'module', 90, 0),
('15a62b43-1d10-402e-8eca-6fcbf146b9b3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Product_Categories', 'module', 90, 0),
('161a3933-47a5-43bb-9871-664ab6433785', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Scheduled_Reports', 'module', 90, 0),
('168470cd-bb52-4a50-a12b-dd34f117f2ce', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_WorkFlow', 'module', 90, 0),
('16aa3d96-ca56-4b7b-bda7-17e31451379d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Tasks', 'module', 90, 0),
('179036b7-bfca-473d-aae8-01f8c4bcee77', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_TaskTemplates', 'module', 90, 0),
('17d0856c-3fe5-4c8a-9993-20944c9a69a5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Reports', 'module', 90, 0),
('1900bc40-d564-49e6-9dff-7e7b08433aac', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailTemplates', 'module', 90, 0),
('1aaff26e-8b0b-4056-95ca-3f7b61aa0fea', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Reports', 'module', 90, 0),
('1b11c2d5-8072-4f8f-9463-097a7b6312ca', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Cases', 'module', 90, 0),
('1ca1dfee-e8c7-4a81-991b-ee7e016217a6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Bugs', 'module', 90, 0),
('1d2a2df5-d442-4a7c-9ae1-5332507b64ca', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Products', 'module', 89, 0),
('1e3ef8de-94fa-46ef-a6c8-6618bb163610', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_Event_Locations', 'module', 90, 0),
('1ee50e1d-71e6-47a3-af23-69db31775fed', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthProvider', 'module', 90, 0),
('1f3dbb6a-82da-4da2-be4c-f22ade81efd6', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Product_Categories', 'module', 90, 0),
('1fa40cfa-b677-4127-9a59-4762501287ab', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Prospects', 'module', 90, 0),
('20383500-7feb-41e6-bca7-efeb9dbfbd58', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthProvider', 'module', 90, 0),
('2039f722-98a1-4025-aba5-0050cc2cd2b7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthProvider', 'module', 90, 0),
('2081e076-607e-4b46-9bb2-fb84eb637914', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Notes', 'module', 90, 0),
('21769656-23bb-449a-bec7-ab96061992e5', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_events', 'module', 90, 0),
('219d0ff3-728f-40a8-b388-55a45989615d', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Address_Cache', 'module', 89, 0),
('21a85ad4-c031-48ce-beb0-c042db3b2527', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EAPM', 'module', 89, 0),
('239ee50b-5fab-4aa6-9a53-c1ce3f8e83c5', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Opportunities', 'module', 90, 0),
('2532c2b1-3075-4df0-a993-b29463e3fd4d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Project', 'module', 90, 0),
('25bda688-a69d-461b-8d4c-1947d080c79b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Areas', 'module', 90, 0),
('25ef0068-e029-4789-9329-ee937b3859a4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls', 'module', 89, 0),
('260fc1c0-47a1-4ec7-bee2-84ec214bb1e6', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailTemplates', 'module', 90, 0),
('266d938b-e27e-4271-80a6-3f112c113db8', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Bugs', 'module', 90, 0),
('273f5d6c-2817-41c7-9ae4-be558a053a76', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Maps', 'module', 89, 0),
('27ea8f46-40c8-45bf-ae23-d5ed9d6812ed', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthProvider', 'module', 90, 0),
('28207d0f-df4f-488a-8586-1c25e542627b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Markers', 'module', 90, 0),
('282c25d8-04cf-466b-a03a-366d2602f7f6', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_PDF_Templates', 'module', 90, 0),
('286be182-cf12-41f2-9dba-ac844779229a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_KnowledgeBase', 'module', 90, 0),
('28900c99-eec5-4187-a71a-9a9236da251b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Meetings', 'module', 90, 0),
('2ac64f21-e459-4e53-bddb-9a03ded0fe97', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'MediaObjects', 'module', 90, 0),
('2b3d1b80-f079-4487-94e4-73e3dced806b', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionOptions', 'module', 90, 0),
('2b8999ea-5423-40d5-85a5-a6869a9910b2', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Campaigns', 'module', 90, 0),
('2bfba882-6278-44d5-a3af-d7f42bebaa52', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Bugs', 'module', 90, 0),
('2bffc1f8-6a1b-46a7-bd1b-66842662c84d', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'InboundEmail', 'module', 89, 0),
('2c50f23a-6f15-486b-b989-214e20a61a52', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Contacts', 'module', 90, 0),
('2cd3a81a-434f-4f80-9020-3e998746e3cb', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Contacts', 'module', 90, 0),
('2d01ce3d-23ac-4def-9394-0a0d4db290dc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailMarketing', 'module', 89, 0),
('2d0757ca-368b-466f-85f7-d2b8ffa8b439', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Emails', 'module', 90, 0),
('2d7a93bd-c80a-4119-b9ac-b137ef037b97', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Quotes', 'module', 90, 0),
('2dc3e492-dcdc-4a78-a9e1-b7d7b1b49ba5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthConnection', 'module', 89, 0),
('2e088264-5c99-47b0-abc8-df980f6814bd', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Project', 'module', 90, 0),
('2e2d6926-7c37-4d08-b381-562e94398236', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_Event_Locations', 'module', 89, 0),
('2e3cac60-fac6-40a4-8087-94bc61976840', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Surveys', 'module', 90, 0),
('2eb72775-a2f4-4f81-ad9a-eb82418eeba0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_events', 'module', 89, 0),
('2ef85987-979c-4adf-b558-7a0eaa9a26e0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProspectLists', 'module', 89, 0),
('2efcb17e-40c5-40d7-b017-a3737570b2ff', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionResponses', 'module', 90, 0),
('309cbff8-cf60-4f10-9a02-d9f6eb9041ce', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Address_Cache', 'module', 90, 0),
('30ef1d46-0fe9-42da-8109-6578f8ef4658', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Accounts', 'module', 90, 0),
('315c1a8f-a398-4269-bc89-1693bf7aef37', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Meetings', 'module', 90, 0),
('31728805-8cc3-408c-b62a-6c1835f7b4b2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProspectLists', 'module', 90, 0),
('3387d4c8-218f-4b1b-be0d-dc79454b027a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls', 'module', 90, 0),
('348084d1-7d63-43da-a4ff-cf152a596ba0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Cases', 'module', 90, 0),
('353b3850-c9fd-4257-85fd-8841b4f71002', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls_Reschedule', 'module', 90, 0),
('36156dc0-1610-4f76-bd8f-3216db12bdde', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_WorkFlow', 'module', 89, 0),
('369387e4-f882-4883-a241-9aba92614911', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_Event_Locations', 'module', 90, 0),
('36c6afff-f466-45db-ab3e-ccf3cb492801', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProspectLists', 'module', 90, 0),
('376c0cf9-7855-4101-b180-f685ec657302', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls_Reschedule', 'module', 90, 0),
('37c5b7b0-8b55-490c-85bf-aa1e58fe945c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Reports', 'module', 90, 0),
('3806190d-e8c3-4979-ae23-8b1d010bc231', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Reports', 'module', 90, 0),
('380fde16-c0ce-4dd2-8f06-b11cb0b36945', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Leads', 'module', 90, 0),
('3839b968-5817-463d-bd04-04ee4ca6c910', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Markers', 'module', 90, 0),
('388268da-718f-4975-a6e3-c44d543a8059', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EAPM', 'module', 90, 0),
('3989bd4e-58dd-4e83-87b5-5457249f7d63', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Contracts', 'module', 90, 0),
('3a35a32f-0440-4f6f-b201-ef923f8d4537', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Notes', 'module', 90, 0),
('3a457bd9-ba28-44c5-974d-4cc4adde11ee', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Cases', 'module', 90, 0),
('3a5ac047-60b7-49d9-99ea-7baf1ba45c13', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Address_Cache', 'module', 90, 0),
('3af869e2-fd7f-4d5c-8e23-95d7ed453ee3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Users', 'module', 90, 0),
('3d913297-238d-41cd-8b1f-0a6cb88ded1f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'OutboundEmailAccounts', 'module', 90, 0),
('3dfc1a11-6f7c-4b2d-8fac-4018b5bcc97e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Documents', 'module', 90, 0),
('3e4e2dad-3705-48cc-b67c-ea73a25a3234', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Contracts', 'module', 90, 0),
('3f484d68-984d-42fa-83a3-9cef39ceb1bb', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Contracts', 'module', 90, 0),
('3f4c568f-8850-4fa5-ad6e-523fa287d1c5', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'TemplateSectionLine', 'module', 90, 0),
('403262a0-299c-4752-aaf0-a19f423352a0', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Address_Cache', 'module', 90, 0),
('41d35636-dcac-40b6-bdde-67f2b50ea573', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Notes', 'module', 89, 0),
('434f31d0-4488-4715-960c-adb11910972e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionOptions', 'module', 89, 0),
('4458bce5-f495-4124-b66c-e2b1e1a6178f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Users', 'module', 90, 0),
('44ea18da-54e6-401f-a7a2-87238a157cc2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProspectLists', 'module', 90, 0),
('45d58371-d56d-474e-8910-33dbd48d4c3f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionResponses', 'module', 90, 0),
('46326051-9069-4d67-8aa5-01cf620bb8a9', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SecurityGroups', 'module', 90, 0),
('46953416-da91-4bfc-8b75-674c0b38198e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Leads', 'module', 90, 0),
('471e4def-49bc-4b65-a80f-b8d982d48bd2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailTemplates', 'module', 90, 0),
('4723ab7d-6a5e-454b-b732-55e0990c8742', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Updates', 'module', 90, 0),
('4735c1f9-8490-4e42-86aa-eba6e0062494', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Updates', 'module', 90, 0),
('475b23b7-73ab-4357-ae5f-42736e0e0a83', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Products', 'module', 90, 0),
('47b4d159-039b-4dc1-8512-4352271addb4', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls_Reschedule', 'module', 90, 0),
('48320f94-1d45-4391-b579-34e3fc3b99c8', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Accounts', 'module', 89, 0),
('48f5a709-fd33-497a-b3cb-d088d04a924e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthProvider', 'module', 90, 0),
('4933404b-e72d-48d8-a963-c8aefb34529c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Invoices', 'module', 90, 0),
('49476095-e404-4804-82ef-8122466448d8', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Documents', 'module', 90, 0),
('494c02b4-4e47-433c-bf38-052ada3e865c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Invoices', 'module', 90, 0),
('499bdd7f-1187-4830-95e1-99e5ccba512b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'OutboundEmailAccounts', 'module', 89, 0),
('4c42166d-c416-4a77-b6d3-d850065e25c6', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'InboundEmail', 'module', 90, 0),
('4cacbbf8-913b-44dc-8ba5-ea050826f344', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Updates', 'module', 90, 0),
('4d24d642-c7b8-413b-a9ff-8572f20697aa', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Meetings', 'module', 90, 0),
('4e3c9e8d-498a-44a8-a682-97d8085fcb33', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Updates', 'module', 90, 0),
('4eb7a487-7f40-4535-a37d-a94269fb6608', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Products', 'module', 90, 0),
('4f11f176-cc29-47c5-b813-a5e0c55ca299', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('4f1bec37-ef16-4b3e-9d4e-27848f0e68ac', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_events', 'module', 90, 0),
('50e63282-7246-4e66-9fe8-d79622e8ebbc', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Areas', 'module', 90, 0),
('514b8d92-0f6c-4721-bef1-a245eddd216b', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_WorkFlow', 'module', 90, 0),
('51b346ae-ed27-4f64-b56e-f7176d26afcd', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthProvider', 'module', 90, 0),
('51cd4b67-c2ee-41a4-b601-19741a4d9ac2', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Opportunities', 'module', 89, 0),
('51d1da8b-0df8-4dc7-8fe6-34af1f5099aa', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailTemplates', 'module', 90, 0),
('521db706-482e-4add-8db1-03aa427d8ab3', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailTemplates', 'module', 90, 0),
('52bc2c1d-569a-4dda-9bb0-f455a0137fa4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailMarketing', 'module', 90, 0),
('535218b4-9b7c-4034-8c44-63925fb7514a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Products', 'module', 90, 0),
('53de78b6-34e2-496a-bbe4-de13e19f5de8', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_Processed', 'module', 90, 0),
('55930a26-d5f7-41be-a0ff-8d3792560767', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyResponses', 'module', 90, 0),
('55a15c41-ed88-4a01-81d8-863bac06ec71', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProjectTask', 'module', 90, 0),
('56117a81-7d34-4d09-a1bc-e83a2a30970f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Events', 'module', 90, 0),
('562156cf-5258-44e9-86a7-54b2e18e5e82', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Areas', 'module', 90, 0),
('564660d4-3b2b-405f-a554-a5acc62fe8c0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Updates', 'module', 90, 0),
('5773b7ed-cf17-44ad-a6c6-67b4d4163fe9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Prospects', 'module', 90, 0),
('57854175-6e85-4215-825d-844f8640a666', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestions', 'module', 90, 0),
('579e5d35-0272-44d6-b0ee-82934e975c41', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Events', 'module', 90, 0),
('59cda180-a9e4-4681-8c8c-307bb1dd2bbe', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Quotes', 'module', 90, 0),
('5afa7fc1-b51a-473c-bb92-4df5c9481d2d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyResponses', 'module', 90, 0),
('5b0a2f97-264f-42ba-bb0e-56143421a1fc', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Campaigns', 'module', 90, 0),
('5b2d7019-a49e-4dd5-ac8f-2df160247dcd', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Invoices', 'module', 89, 0),
('5b3de3e8-7b5a-41e3-8779-19bb2f689a84', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SecurityGroups', 'module', 90, 0),
('5b6207c9-a84c-4b69-9d1a-393e78ea161f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'TemplateSectionLine', 'module', 90, 0),
('5bc0f871-0c3e-4e4e-a9f4-4d5f9aadd74e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProspectLists', 'module', 90, 0),
('5c55d3ba-8739-4e98-ba4c-18d472eac36e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Areas', 'module', 90, 0),
('5f20e49e-3610-4677-b883-fc156a2735ce', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EAPM', 'module', 90, 0),
('5f4a8c89-3e21-4962-b647-f305388e68d1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Product_Categories', 'module', 90, 0),
('5f53f288-a78c-400d-a499-68c17c691d1e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Cases', 'module', 90, 0),
('5f66878d-caf0-4f94-a72e-6e9bd6336030', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Areas', 'module', 90, 0),
('6083e180-6f64-4eda-ae24-f6c1165b818a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthConnection', 'module', 90, 0),
('60e574c9-21a2-4b93-bf6f-9216b3775dd2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_Processed', 'module', 90, 0),
('61eb1dcb-b835-45fc-accd-ed298a910de7', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Product_Categories', 'module', 90, 0),
('62ee786a-4a6c-4ac1-8888-cc75c0b85936', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Scheduled_Reports', 'module', 90, 0),
('65e125da-bd76-4125-b1ab-97255ce070a1', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Quotes', 'module', 89, 0),
('6670105a-5677-4e77-bde1-3e5e0e1d9724', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Alerts', 'module', 90, 0),
('6712c005-03cf-4494-83e4-bb51f047f749', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Documents', 'module', 90, 0),
('6771b4c3-8d81-4641-82e7-e3d768116164', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_events', 'module', 90, 0),
('67ba6ddf-ce04-4c74-956f-435347ecc282', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthConnection', 'module', 90, 0),
('67d7b207-638a-46ca-9681-89d552526344', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'TemplateSectionLine', 'module', 89, 0),
('67e6ea77-166f-41e0-8cc7-c152d5ae94e3', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_TaskTemplates', 'module', 90, 0),
('68da7e5d-df9d-4ab0-bed6-fd76103eb839', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Meetings', 'module', 90, 0),
('68f94024-8799-4ff0-9fb5-79436785570b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Accounts', 'module', 90, 0),
('69018a22-33fc-4629-b896-4820d1539c52', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Products', 'module', 90, 0),
('6b15fa02-46f3-4f9e-a0e2-8d953437b94d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_KnowledgeBase', 'module', 90, 0),
('6c58f1d7-27c5-4c82-99b8-9524c5c98753', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Leads', 'module', 90, 0),
('6d0c2d22-c246-48f2-a091-5bcb2e36735c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_PDF_Templates', 'module', 89, 0),
('6d3ad7d1-e9fd-4512-835e-e4da6c9e7a29', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionResponses', 'module', 90, 0),
('6d54675f-2777-4af1-b5dc-1be5a3b48109', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Quotes', 'module', 90, 0),
('6e693dd2-074c-43b2-906a-655cf0265740', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'InboundEmail', 'module', 90, 0),
('6e8cc73c-955d-4e6c-bfb0-9bab0c2a31cd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Prospects', 'module', 90, 0),
('6ed44579-dd3f-4182-aca1-d4635f0febc3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'TemplateSectionLine', 'module', 90, 0),
('6f14b540-7797-4937-9062-e163f748c711', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyResponses', 'module', 90, 0),
('6f530f7c-e63d-4df0-b03f-33947278bf8a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Product_Categories', 'module', 90, 0),
('6f538fab-0048-4623-a5b7-439e7e347bc2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Leads', 'module', 90, 0),
('6f972494-38bc-4e5d-8a58-72d668e80a0e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SecurityGroups', 'module', 90, 0),
('702b3518-35f3-4a62-9528-3eedbbb6c363', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_Knowledge_Base_Categories', 'module', 89, 0),
('70ec2fec-500a-4d81-a0b3-614c3be97133', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Bugs', 'module', 89, 0),
('712bb546-00a1-4006-96ea-13d5203123b5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EAPM', 'module', 90, 0),
('71be7130-9161-48c1-9e69-a58f3f416a2b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProjectTask', 'module', 90, 0),
('724d5b8e-887d-497a-b8b3-777287d209bc', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Prospects', 'module', 90, 0),
('72c2f74a-04f7-434f-9904-6c3203e13e55', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Documents', 'module', 90, 0),
('72e7ece1-8bbf-4dda-b0af-7efe83d248ff', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Leads', 'module', 90, 0),
('733acb64-4883-454e-8384-8b94238172f8', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Accounts', 'module', 90, 0),
('7415e8d1-e3da-4d17-a23a-aaaac135295d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('74b3a87d-7557-4f71-ac92-4fd4dc535bf2', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls', 'module', 90, 0),
('76dd3741-f570-47d8-9fc0-4ba526a9c371', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_Event_Locations', 'module', 90, 0),
('77790a93-da37-49bc-a251-90401fdfb270', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'TemplateSectionLine', 'module', 90, 0),
('77955e09-6c38-42c9-b66d-3f27b7e3b125', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Opportunities', 'module', 90, 0),
('78574626-f101-4e4a-8823-b369c4025d09', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Product_Categories', 'module', 90, 0),
('7895f36a-8657-4ef8-859e-165a11ad22eb', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Address_Cache', 'module', 90, 0),
('78cd80fa-dbdf-4d4d-8f28-a5233b0503cd', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_WorkFlow', 'module', 90, 0),
('7a4428b6-580b-4988-ad00-b9d9a32852a4', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Markers', 'module', 90, 0),
('7b102292-71bd-48b6-ac29-a387757c81c6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_PDF_Templates', 'module', 90, 0),
('7bbe0b2f-9530-417c-8a39-34c4ca0c33ba', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Project', 'module', 90, 0),
('7c16791b-52ee-451c-a748-de2df23a53a4', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionResponses', 'module', 90, 0),
('7c3a0855-e0c3-4589-add5-db0d8baccfe6', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Product_Categories', 'module', 89, 0),
('7c639fe0-c9fc-444a-9c0c-ac32ee099936', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionOptions', 'module', 90, 0),
('7d4e5cc3-be6a-4cb7-a331-48b23825dfb0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Opportunities', 'module', 90, 0),
('7e861533-daf2-4ed0-98b7-8d7350ca9151', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'InboundEmail', 'module', 90, 0),
('7ea77aca-6008-4030-8752-daa329bd7614', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_PDF_Templates', 'module', 90, 0),
('7eed5ff5-e887-4536-ae57-8436bbf5b5a3', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'OutboundEmailAccounts', 'module', 90, 0),
('7f0b89c6-9be6-4055-96c4-64f993429a2a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionOptions', 'module', 90, 0),
('7f221e8d-207d-4cc8-90f5-2be7834685e6', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthConnection', 'module', 90, 0),
('7f3bbaa2-93d3-45dc-8294-4e7d37651907', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('7f5a0d65-e12a-40b3-b74a-60df8c29032d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionOptions', 'module', 90, 0),
('808b1ed4-91f4-4606-956c-1c18a95063bd', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Updates', 'module', 89, 0),
('813435bf-4aed-446c-a942-8f45bb8113a1', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Invoices', 'module', 90, 0),
('8155032c-1be1-4e5b-ada9-947a63aab2de', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'OutboundEmailAccounts', 'module', 90, 0),
('81a6cc72-f02b-499c-9499-c7ec65907d54', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Updates', 'module', 90, 0),
('8232adf8-a6bf-4d55-aad5-89bedda50e33', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'MediaObjects', 'module', 90, 0),
('83005350-095a-41b2-aa19-1a8a9f3ddec3', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProjectTask', 'module', 90, 0),
('8380cabe-58da-452e-8105-d40bce24b276', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthProvider', 'module', 89, 0),
('83a53ebb-6563-458b-af55-cb493f69cfb6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Project', 'module', 90, 0),
('84064a14-9c9b-4ef2-abc2-bebc83a7b5fa', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'InboundEmail', 'module', 90, 0),
('8438ee0b-f99a-4886-814f-de1d6bca0701', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_ProjectTemplates', 'module', 90, 0),
('844f1ebd-8b7a-41de-8dfb-2a0f5b1e15bc', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Tasks', 'module', 90, 0),
('84b5dfca-3ea1-4457-92fa-c464f5552474', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Campaigns', 'module', 90, 0),
('8519d6d7-60da-4c10-b543-0fab5b907957', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_ProjectTemplates', 'module', 90, 0),
('86a1c421-baf0-4326-a759-ae2da788ad01', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_Event_Locations', 'module', 90, 0),
('86d5d727-e5a1-4338-b89a-e844e8c2c7b8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailTemplates', 'module', 90, 0),
('879c9ec8-8a16-4319-bee5-1a447326f884', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'MediaObjects', 'module', 90, 0),
('87a8e856-cf81-48cf-aa16-00c5829d5897', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Reports', 'module', 89, 0),
('87f0cf9b-f1e0-49ef-8f73-aaad37f6c685', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Alerts', 'module', 89, 0),
('890d51e2-1afa-4f38-8337-b20692e5b0a3', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthProvider', 'module', 90, 0),
('8b63f69c-7387-45aa-8ad7-9d04d710bee2', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Users', 'module', 90, 0),
('8b6627e0-f4ab-4e3a-809d-426ce9e55461', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Products', 'module', 90, 0),
('8c27baea-e682-41b4-a822-d1f3e0bf6d7b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EAPM', 'module', 90, 0),
('8c89c883-8e62-4f4e-b160-c66a7100f861', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Opportunities', 'module', 90, 0),
('8cc4cc92-c4db-4cc2-89e0-3e54fd9c3152', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls_Reschedule', 'module', 89, 0),
('8cd5bd68-a2cd-464b-922d-a10582146df6', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Prospects', 'module', 90, 0),
('8d2a8f21-a88f-4ae2-9c17-0a148e31891b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Events', 'module', 90, 0),
('8ea41398-54a5-4bde-8da7-1faee12fd792', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EAPM', 'module', 90, 0),
('8edaee0b-aa1a-420d-b0e5-06b1c678efac', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'MediaObjects', 'module', 90, 0),
('8fc210a4-d3f7-4122-9b1b-f1f2376f62a5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Users', 'module', 89, 0),
('8ff4bc91-8fe1-4951-b600-39ef1eddd2dd', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_ProjectTemplates', 'module', 90, 0),
('90e63180-bce8-4fe3-8cdb-ba47fd30b149', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Campaigns', 'module', 90, 0),
('9249ee91-63d5-49a8-b811-ddb4f52c6cea', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Areas', 'module', 90, 0),
('939abfe2-15e4-4924-9365-fb98ff495764', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Documents', 'module', 89, 0),
('951ef06c-57df-4d4e-9297-f21201176651', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Campaigns', 'module', 89, 0),
('95cba22d-3d1a-484e-ae0d-b68c4ea102ed', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_WorkFlow', 'module', 90, 0),
('977aa104-92b1-43c9-9968-07f3955e5868', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_PDF_Templates', 'module', 90, 0),
('98390af9-1e23-4929-8ba3-f4eac932b931', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Contacts', 'module', 90, 0),
('98d8f69f-1486-4408-bbb7-db859eda4034', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Reports', 'module', 90, 0),
('999cc87d-a2d7-4475-a250-1a90352238fb', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Products', 'module', 90, 0),
('99ebe10b-c5db-4e84-9006-cb118ce1b99b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProjectTask', 'module', 89, 0),
('99f47a78-4b95-407f-895b-3fa01d6ec84f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_events', 'module', 90, 0),
('9a1b3fbd-a0d3-43f6-8d0e-c0ce82673886', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Quotes', 'module', 90, 0),
('9a58ecdb-3217-44a2-9c2f-584bc82dd9ec', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'TemplateSectionLine', 'module', 90, 0),
('9a7d64b0-9d75-4050-b91c-976e6f92deed', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Events', 'module', 90, 0),
('9abf7fd3-7053-4bbd-947b-06767abde20f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionOptions', 'module', 90, 0),
('9ade41c2-9ece-4373-87bb-ccb5d1345b0e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionOptions', 'module', 90, 0),
('9b128782-2415-48a0-a1e5-1aa4122d7fc2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_TaskTemplates', 'module', 90, 0),
('9b16a91c-131e-4707-88c2-4c62c0e44daf', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Events', 'module', 90, 0),
('9b86f5d4-1f32-4b4e-9512-4143107fdd02', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Scheduled_Reports', 'module', 90, 0),
('9bb723ad-5bed-4869-a892-79c0683c9d49', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_WorkFlow', 'module', 90, 0),
('9c138516-e4c2-4914-90fa-0f0936af2804', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailTemplates', 'module', 90, 0),
('9e39bfc1-f4ed-4406-bab3-6cb08e3db716', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_Event_Locations', 'module', 90, 0),
('9fcb46f4-a821-46e1-9c7f-9e8b6360f905', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SecurityGroups', 'module', 90, 0),
('a088f356-9102-47f0-8478-32a70594068e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Quotes', 'module', 90, 0),
('a091668b-7014-4740-afe3-ba819866312d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_KnowledgeBase', 'module', 90, 0),
('a16b43bd-0b17-4d59-a8fa-fce91e6d7dd2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Notes', 'module', 90, 0),
('a1aba954-c05d-413e-94e0-e748f74d871e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Markers', 'module', 90, 0),
('a22e1738-2b23-4093-8fb1-56bae0e0fef4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Events', 'module', 89, 0),
('a2ccf5b5-2a65-4a3a-b4b3-d1e2697c6ae0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_KnowledgeBase', 'module', 89, 0),
('a2ea5df3-da19-4c6f-9dfe-a361844d0a01', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_Processed', 'module', 90, 0),
('a45a054d-010f-4303-bae1-da7b96282cb0', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_TaskTemplates', 'module', 90, 0),
('a5df8317-22cb-47bf-9a70-4c320776496c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Quotes', 'module', 90, 0),
('a63548db-21bc-462b-a0db-b38153439bb1', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Tasks', 'module', 90, 0),
('a71dc50d-ad70-4a84-b03f-2b09a6e08769', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Bugs', 'module', 90, 0),
('a7c4b21d-593c-4887-86a8-8c7a9fa2e38a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Bugs', 'module', 90, 0),
('a8a4e925-6756-4259-a355-b15627e1d1a0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProspectLists', 'module', 90, 0),
('a8b16903-144e-4497-9479-046335a95f1b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailTemplates', 'module', 89, 0),
('a8ddc904-7fab-4774-8ab2-184950514fa4', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Documents', 'module', 90, 0),
('a9e3c92e-575c-4e8e-b369-b0722d410ecd', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls_Reschedule', 'module', 90, 0),
('ab0cded7-2747-48b5-a329-679ceaf2f108', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Cases', 'module', 90, 0),
('aba005e0-4a34-4b1b-9aae-ad12155c5f5a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Emails', 'module', 90, 0),
('ac230227-a5fd-4335-af8b-08e0c83641c3', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Contracts', 'module', 89, 0),
('ac776936-d1e5-42fb-b7e7-53cd5aaea8cd', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'OutboundEmailAccounts', 'module', 90, 0),
('ad1f4b78-7fcc-403e-8682-da509029eded', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestions', 'module', 90, 0),
('ad965d91-1467-41d3-a2bd-e79f4da24ff6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Events', 'module', 90, 0),
('ad9fbe5a-d2e6-4b5e-95d0-738bf5a37724', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_KnowledgeBase', 'module', 90, 0),
('ade66c83-7c40-42a7-900f-c5a59c78745b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProspectLists', 'module', 90, 0),
('ae336b7e-5645-47b5-b4d1-521b425f1232', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Campaigns', 'module', 90, 0),
('ae4641b8-be26-4c2c-83c4-841c623e3807', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_PDF_Templates', 'module', 90, 0),
('ae799486-4bf1-4551-aead-67e0610d1d7f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyResponses', 'module', 90, 0),
('aecc8934-271c-4c51-86cf-fe9b2b601a26', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Leads', 'module', 90, 0),
('af5e20df-c900-4a8a-8923-f1f1db387dc4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Users', 'module', 90, 0),
('afe5665d-c918-4028-a340-777291e31c8f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_Processed', 'module', 90, 0),
('b023bce0-a8fe-4084-9631-98559d4628df', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_ProjectTemplates', 'module', 90, 0),
('b03920cf-40c8-4e1a-84e3-8bb5fab9cece', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Alerts', 'module', 90, 0),
('b072bb08-fd72-40e8-8d81-991fb296d33d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Notes', 'module', 90, 0),
('b0c2dfa7-b3f5-4a45-b10f-0430a8c63594', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionResponses', 'module', 90, 0),
('b16c74bf-c6a3-4173-85e8-240da630befd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls', 'module', 90, 0),
('b3d81431-5f34-4fb9-aded-a59e15ea8ae5', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Users', 'module', 90, 0),
('b4b191ff-0d5f-4305-8906-f8b75fc6cb41', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Invoices', 'module', 90, 0),
('b4ceafe3-d5a4-49cc-81c7-98ea05453a05', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_ProjectTemplates', 'module', 90, 0),
('b507bcfe-ddf8-4765-badf-14301cd6b3b5', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Alerts', 'module', 90, 0),
('b51a6ec2-d183-4fcf-886f-749fcbc9141d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Address_Cache', 'module', 90, 0),
('b59982e3-19da-4e51-8a60-a0ddf7e28ec1', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Markers', 'module', 90, 0),
('b61a1b75-1df0-49e1-9047-62136f1b35f1', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Scheduled_Reports', 'module', 89, 0),
('b757356c-26c0-48ad-8afb-b71c0ead8d9e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailMarketing', 'module', 90, 0),
('b7cfc013-8976-4742-80ce-17cb2718f415', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Alerts', 'module', 90, 0),
('b83ae909-227a-4f82-83f3-a4e3bec2092a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionResponses', 'module', 90, 0),
('b866f624-6211-426f-b5aa-eed39f5bccfd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Address_Cache', 'module', 90, 0),
('b868f906-99ad-4a3a-be6d-81befb13963e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Quotes', 'module', 90, 0),
('b8bf794e-1c4a-42ae-8e6e-ad7ca98f8d4f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Reports', 'module', 90, 0),
('b8f915ac-ca16-46ba-b9f3-c91acd576aa7', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Notes', 'module', 90, 0),
('b90b7d4d-cea8-40e1-b012-e0250f08fd66', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Contacts', 'module', 90, 0),
('ba16b27a-6430-49e9-8099-f35d89f9a141', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'InboundEmail', 'module', 90, 0),
('baed6ff7-61a8-4a0c-909c-33282e83558e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'OutboundEmailAccounts', 'module', 90, 0),
('bcdec609-40be-42e5-8c7e-17f5cb9d3871', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_Event_Locations', 'module', 90, 0),
('bd4d8323-5cc3-4e85-974b-1fa78decef33', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'OutboundEmailAccounts', 'module', 90, 0),
('be3fd7be-5c03-495f-950f-915cbf9b0473', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailMarketing', 'module', 90, 0),
('bec7c7ca-3dde-4fe0-b45c-0e447e7b71dd', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Opportunities', 'module', 90, 0),
('c0283d26-9f06-4547-95ec-bf6466c40372', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Surveys', 'module', 90, 0),
('c0ee1436-a35a-47fd-a53f-fb56bf506de8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_KnowledgeBase', 'module', 90, 0),
('c23286ce-da7c-4128-be27-10d6e925a33f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('c293b385-a25e-4f91-a32a-902dc07897eb', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls', 'module', 90, 0),
('c2b79cf3-cf1e-4772-b47d-5d97600de523', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Meetings', 'module', 90, 0),
('c30f5ae9-b5eb-4c8d-b892-b5371e4318c3', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls', 'module', 90, 0),
('c3c673e2-afd9-4a79-8b42-a47e27e1ccb9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_WorkFlow', 'module', 90, 0),
('c3f949f4-7634-42ff-97a2-78fb08de0698', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Notes', 'module', 90, 0),
('c48c9f5e-4431-4778-a93c-60246d1c951c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Surveys', 'module', 89, 0),
('c4c45593-2b90-4e4c-b389-7f2384a87e4e', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_ProjectTemplates', 'module', 90, 0),
('c4e9278a-1405-4770-9368-6fb55bef7dbb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthConnection', 'module', 90, 0),
('c4f97832-151b-410e-b27f-68ae445fdc9c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SecurityGroups', 'module', 90, 0),
('c4f98a8e-e802-4e3b-92ef-3085a8525e4f', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthConnection', 'module', 90, 0),
('c52afad6-39f4-4e9c-a230-7db0be3ea1e0', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'MediaObjects', 'module', 90, 0),
('c5d5e7d1-4c63-470e-9e9d-4281aea37614', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Markers', 'module', 89, 0),
('c6c0e063-cd32-4098-96d2-4f169e58377c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyResponses', 'module', 90, 0),
('c6de4910-5ce1-4644-9f53-86d9c1ab9d0e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('c7e7322b-8741-4709-8baa-363554901ca9', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Meetings', 'module', 89, 0),
('c8d768e6-42dd-4a6e-85a7-a6f7012cc848', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionResponses', 'module', 90, 0),
('c925d078-b49d-4fbf-8646-9a5d57eb5aba', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_PDF_Templates', 'module', 90, 0),
('c9c04321-8404-43a6-9aa6-a7dd1364d119', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Scheduled_Reports', 'module', 90, 0),
('ca066601-d384-4a3a-9d7f-9bca123f0e45', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Products', 'module', 90, 0);
INSERT INTO `acl_actions` VALUES
('cb2587f7-1f52-411a-a02c-34ae512eca27', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'InboundEmail', 'module', 90, 0),
('cb45af5d-e23c-404b-9333-3f1197d402f1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Updates', 'module', 90, 0),
('cc2ca7fa-141e-41e2-b590-60a524175dc0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Project', 'module', 89, 0),
('ccc43e89-5cee-4e20-b915-39ca60f40bd4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Address_Cache', 'module', 90, 0),
('cd8ba219-fe34-440c-a7ec-0668fa1d911d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailMarketing', 'module', 90, 0),
('cddfd4a5-aca9-4d60-9dab-9fc0d1f02e35', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Emails', 'module', 89, 0),
('ce27b2f0-754f-4469-b0ec-10c681d0515d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_Event_Locations', 'module', 90, 0),
('ce349bb8-7de3-4e0f-aa84-1eaae9019581', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Maps', 'module', 90, 0),
('cee6cedd-cfa7-48a8-86f0-aadb3941380c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Meetings', 'module', 90, 0),
('cf1bed93-88ad-4ea2-a423-5d25558ca475', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SecurityGroups', 'module', 89, 0),
('cf491c51-9d2f-437b-acde-ed91ae4d9072', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Documents', 'module', 90, 0),
('d0e01388-1b3f-4507-a5f2-f5020d324494', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Alerts', 'module', 90, 0),
('d1cf78d7-656d-41d7-99da-bcc5b08846e4', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'MediaObjects', 'module', 90, 0),
('d242e827-aaa7-4b1b-b799-0234020f6e86', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Maps', 'module', 90, 0),
('d2684145-0707-4c4d-8c88-d06fd746fc0d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Opportunities', 'module', 90, 0),
('d2932fb4-dffa-4d08-8c4c-70930150c9e0', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Bugs', 'module', 90, 0),
('d3d55459-9a26-4b59-ba8b-424d7b267916', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Accounts', 'module', 90, 0),
('d4cb52ed-5149-40be-b2d3-f57c07a28b15', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'InboundEmail', 'module', 90, 0),
('d4cb8c8e-7901-4801-bf2b-1ab590385213', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Users', 'module', 90, 0),
('d56e7c0c-8e64-469e-ab95-b0f5d0ceab9e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Accounts', 'module', 90, 0),
('d6178dcc-3f96-4fb1-83fc-c057297694be', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Contacts', 'module', 90, 0),
('d7bbc02f-aed4-4f49-9e3e-899b98ddd657', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('d7e02ea6-5836-4747-aa0b-ba121f1252be', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Markers', 'module', 90, 0),
('d8097d98-0009-4378-be34-8d7c31b9cbe2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Surveys', 'module', 90, 0),
('d80b3e09-9ebf-4762-906b-a10954cb69f6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Campaigns', 'module', 90, 0),
('d912d88d-a977-4d6e-8e05-066ffcdfa7a4', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestions', 'module', 90, 0),
('d9cb8fde-4a49-4f02-bd6e-a72d9ba760e2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Markers', 'module', 90, 0),
('d9e1be7c-7bd4-481d-bff7-094f8bc3a4cd', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailMarketing', 'module', 90, 0),
('da2453a6-43f1-41b6-a046-ec08c5902bc2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestions', 'module', 90, 0),
('da6a4e19-3a57-4a3f-91e5-a8b2a353cc2e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Contracts', 'module', 90, 0),
('dab2fa90-19de-4151-b9e4-f0af22c9ef30', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Maps', 'module', 90, 0),
('dac60305-5470-41df-a93b-f42cbd07c3db', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestions', 'module', 90, 0),
('db3a4829-8376-4c53-b693-f0a437f463e4', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Prospects', 'module', 90, 0),
('dcb4b220-1fd0-4571-a58c-25bb49b4ce92', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SecurityGroups', 'module', 90, 0),
('dcd2eff1-c4db-445a-a855-24822f6d87c0', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Contracts', 'module', 90, 0),
('ddcf7815-f6e1-440d-89f5-06117caefb3b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Leads', 'module', 89, 0),
('de51db66-42f2-4ecc-8496-edf5a90e602c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Reports', 'module', 90, 0),
('de8aeb04-734f-4705-8c43-a1224f1b6bbc', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthConnection', 'module', 90, 0),
('dee599fc-32a7-4634-8855-fada43fc1087', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_TaskTemplates', 'module', 90, 0),
('deede935-799d-4690-91ec-dc9e3d6101b0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls', 'module', 90, 0),
('defb85e7-f7ad-4bbe-bfe5-27140397c4e5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'TemplateSectionLine', 'module', 90, 0),
('df14ea4c-8df5-4316-8549-ac122a18039b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('df3442f0-b39b-4581-86f7-3b7aac368f9d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyResponses', 'module', 90, 0),
('df8f99e9-5e22-4285-a49d-438e26f2119e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Surveys', 'module', 90, 0),
('dfbd9ca7-a5e1-4ccd-a189-359c5a2d3aac', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestions', 'module', 90, 0),
('e16af0bd-12db-4c2e-afb2-46c5d9b246ea', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Surveys', 'module', 90, 0),
('e2162ef9-6f01-460a-ad0f-60abc257b236', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Prospects', 'module', 90, 0),
('e2501f7d-b0b8-48b4-872f-fe2bcba308eb', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_ProjectTemplates', 'module', 89, 0),
('e2c482d9-f860-47ef-b360-0e44c425a508', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_Processed', 'module', 90, 0),
('e2ed6201-07f5-4386-9ea8-0f59daebaece', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Alerts', 'module', 90, 0),
('e32bed97-8e8d-4967-94f9-6c0aeedfc45e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProjectTask', 'module', 90, 0),
('e33f33d0-3188-4f71-9232-21122b73b81c', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls_Reschedule', 'module', 90, 0),
('e37d6d1a-cbd3-48a1-b261-ce1276313a53', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Events', 'module', 90, 0),
('e3a68a20-4f6a-47f4-89a0-44eb7ea47c28', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Project', 'module', 90, 0),
('e410b712-fade-48cb-a793-5825b085ea35', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_ProjectTemplates', 'module', 90, 0),
('e6353df9-54a5-4936-83c5-a293afe9931d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Emails', 'module', 90, 0),
('e63a45fb-de8c-4517-a82d-169e2650b2e3', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Invoices', 'module', 90, 0),
('e723dfda-405c-446f-8a2e-6a83fd3090fb', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Emails', 'module', 90, 0),
('e738fdf3-4de8-4658-adad-626ee2a9d0c0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Cases', 'module', 90, 0),
('e766929c-530a-4d13-9424-4baae7ccb5fe', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthConnection', 'module', 90, 0),
('e7b4859a-6cdc-44ee-a208-4fac87411cde', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Contacts', 'module', 89, 0),
('e8519adb-4dd8-4ec2-8395-412eca86feda', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Tasks', 'module', 89, 0),
('e8550605-34d4-4b80-a076-0f5252f69544', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Maps', 'module', 90, 0),
('e87f9104-126f-4ff4-b12b-e38ce6902b6a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Maps', 'module', 90, 0),
('e96e2fb7-a282-4e82-a87d-c9292cdbe63b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Maps', 'module', 90, 0),
('e9c23ac3-1c43-4202-a523-44599047d3e0', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Emails', 'module', 90, 0),
('ea7a73b0-7f6e-4853-aa91-4acf80a5bb1d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Project', 'module', 90, 0),
('ea7f8204-abe3-4915-b9c2-24e37da6264f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProspectLists', 'module', 90, 0),
('eaab9523-1383-49a9-ac5b-7ae73b9d691e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Accounts', 'module', 90, 0),
('eb1cb05c-7442-43ca-b1b5-01205bcbcdca', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_TaskTemplates', 'module', 89, 0),
('eb84f2c3-056c-400a-85ef-9cf52f086d90', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Users', 'module', 90, 0),
('ee6ff28a-4bfc-454b-8125-23890dbfbc8e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Invoices', 'module', 90, 0),
('ef4e60a1-3f22-44c7-9866-8a81df07afb7', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_events', 'module', 90, 0),
('ef603486-497b-467d-ae2c-a69cf9e8d12c', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_KnowledgeBase', 'module', 90, 0),
('efd9b524-0f80-47f1-81ce-be1feba86394', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_Processed', 'module', 89, 0),
('f01fd46d-f062-4cbd-ab20-78ba8fec0848', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestions', 'module', 89, 0),
('f031fb05-d2af-4d16-a64a-f98ceb497d44', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Prospects', 'module', 89, 0),
('f097e452-f305-4e58-993d-b664c69de423', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'OutboundEmailAccounts', 'module', 90, 0),
('f0fbb6e2-1cd3-422b-949e-6bde067f725b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'TemplateSectionLine', 'module', 90, 0),
('f15cd9e0-184f-4943-8752-9acabd8881ed', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyResponses', 'module', 89, 0),
('f274ae9d-12a6-4aa7-a275-b529e08e0e7a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Campaigns', 'module', 90, 0),
('f39b4d42-0825-43d8-8217-3679befea321', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Areas', 'module', 90, 0),
('f3b53f77-a14d-4fbc-8b5b-0d8566608456', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyResponses', 'module', 90, 0),
('f520ed9d-0fef-4b94-9e50-4aeb6168e4e1', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestions', 'module', 90, 0),
('f5fce1ca-f1d3-406d-bd80-2cb554c58d40', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailMarketing', 'module', 90, 0),
('f6bf6f63-2e80-46a3-aa4e-502bef475533', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Scheduled_Reports', 'module', 90, 0),
('f77bfe22-2681-47be-b425-66305af82f2b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_events', 'module', 90, 0),
('f86e3bdf-ac69-49c4-8648-8547eb91ac9c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Cases', 'module', 90, 0),
('f86eb7b6-4f90-43a4-8e37-f0c70d105506', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Tasks', 'module', 90, 0),
('fc6949c5-3e2f-402b-9d0a-c9a137dca814', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls_Reschedule', 'module', 90, 0),
('fca1e156-a2c9-4927-b744-b40f3ce36760', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Contacts', 'module', 90, 0),
('fd392a3a-7b79-4677-8c28-27c7561b9ab1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Contracts', 'module', 90, 0),
('fe0f3ef6-9ba7-4a61-8586-1ca10a0312a9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Accounts', 'module', 90, 0),
('fe4956d2-e39c-4cf1-8a74-9c3d7abdf6ce', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProjectTask', 'module', 90, 0),
('fed2abe4-ee9a-4fa6-99a3-32797e656df5', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_events', 'module', 90, 0),
('ff048710-65fb-4da6-9af7-e87194381ee8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Surveys', 'module', 90, 0);
-- --------------------------------------------------------
--
-- Table structure for table `acl_roles`
--
CREATE TABLE `acl_roles` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(150) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_aclrole_id_del` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `acl_roles_actions`
--
CREATE TABLE `acl_roles_actions` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`action_id` varchar(36) DEFAULT NULL,
`access_override` int(3) 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=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `acl_roles_users`
--
CREATE TABLE `acl_roles_users` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_aclrole_id` (`role_id`),
KEY `idx_acluser_id` (`user_id`),
KEY `idx_aclrole_user` (`role_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `address_book`
--
CREATE TABLE `address_book` (
`assigned_user_id` char(36) NOT NULL,
`bean` varchar(50) DEFAULT NULL,
`bean_id` char(36) NOT NULL,
KEY `ab_user_bean_idx` (`assigned_user_id`,`bean`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `alerts`
--
CREATE TABLE `alerts` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`is_read` tinyint(1) DEFAULT NULL,
`target_module` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`url_redirect` varchar(255) DEFAULT NULL,
`reminder_id` char(36) DEFAULT NULL,
`snooze` datetime DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates`
--
CREATE TABLE `am_projecttemplates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Draft',
`priority` varchar(100) DEFAULT 'High',
`override_business_hours` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_audit`
--
CREATE TABLE `am_projecttemplates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_am_projecttemplates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_contacts_1_c`
--
CREATE TABLE `am_projecttemplates_contacts_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_projecttemplates_ida` varchar(36) DEFAULT NULL,
`contacts_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_projecttemplates_contacts_1_alt` (`am_projecttemplates_ida`,`contacts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_project_1_c`
--
CREATE TABLE `am_projecttemplates_project_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_projecttemplates_project_1am_projecttemplates_ida` varchar(36) DEFAULT NULL,
`am_projecttemplates_project_1project_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_projecttemplates_project_1_ida1` (`am_projecttemplates_project_1am_projecttemplates_ida`),
KEY `am_projecttemplates_project_1_alt` (`am_projecttemplates_project_1project_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_projecttemplates_users_1_c`
--
CREATE TABLE `am_projecttemplates_users_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_projecttemplates_ida` varchar(36) DEFAULT NULL,
`users_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_projecttemplates_users_1_alt` (`am_projecttemplates_ida`,`users_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_tasktemplates`
--
CREATE TABLE `am_tasktemplates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Not Started',
`priority` varchar(100) DEFAULT 'High',
`percent_complete` int(255) DEFAULT '0',
`predecessors` int(255) DEFAULT NULL,
`milestone_flag` tinyint(1) DEFAULT '0',
`relationship_type` varchar(100) DEFAULT 'FS',
`task_number` int(255) DEFAULT NULL,
`order_number` int(255) DEFAULT NULL,
`estimated_effort` int(255) DEFAULT NULL,
`utilization` varchar(100) DEFAULT '0',
`duration` int(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_tasktemplates_am_projecttemplates_c`
--
CREATE TABLE `am_tasktemplates_am_projecttemplates_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`am_tasktemplates_am_projecttemplatesam_projecttemplates_ida` varchar(36) DEFAULT NULL,
`am_tasktemplates_am_projecttemplatesam_tasktemplates_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `am_tasktemplates_am_projecttemplates_ida1` (`am_tasktemplates_am_projecttemplatesam_projecttemplates_ida`),
KEY `am_tasktemplates_am_projecttemplates_alt` (`am_tasktemplates_am_projecttemplatesam_tasktemplates_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `am_tasktemplates_audit`
--
CREATE TABLE `am_tasktemplates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_am_tasktemplates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aobh_businesshours`
--
CREATE TABLE `aobh_businesshours` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`opening_hours` varchar(100) DEFAULT '1',
`closing_hours` varchar(100) DEFAULT '1',
`open_status` tinyint(1) DEFAULT NULL,
`day` varchar(100) DEFAULT 'monday',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledgebase`
--
CREATE TABLE `aok_knowledgebase` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Draft',
`revision` varchar(255) DEFAULT NULL,
`additional_info` text,
`user_id_c` char(36) DEFAULT NULL,
`user_id1_c` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledgebase_audit`
--
CREATE TABLE `aok_knowledgebase_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aok_knowledgebase_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledgebase_categories`
--
CREATE TABLE `aok_knowledgebase_categories` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aok_knowledgebase_id` varchar(36) DEFAULT NULL,
`aok_knowledge_base_categories_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aok_knowledgebase_categories_alt` (`aok_knowledgebase_id`,`aok_knowledge_base_categories_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledge_base_categories`
--
CREATE TABLE `aok_knowledge_base_categories` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aok_knowledge_base_categories_audit`
--
CREATE TABLE `aok_knowledge_base_categories_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aok_knowledge_base_categories_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_events`
--
CREATE TABLE `aop_case_events` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`case_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_events_audit`
--
CREATE TABLE `aop_case_events_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aop_case_events_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_updates`
--
CREATE TABLE `aop_case_updates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`case_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`internal` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aop_case_updates_audit`
--
CREATE TABLE `aop_case_updates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aop_case_updates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aor_charts`
--
CREATE TABLE `aor_charts` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aor_report_id` char(36) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`x_field` int(11) DEFAULT NULL,
`y_field` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aor_conditions`
--
CREATE TABLE `aor_conditions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aor_report_id` char(36) DEFAULT NULL,
`condition_order` int(255) DEFAULT NULL,
`logic_op` varchar(255) DEFAULT NULL,
`parenthesis` varchar(255) DEFAULT NULL,
`module_path` longtext,
`field` varchar(100) DEFAULT NULL,
`operator` varchar(100) DEFAULT NULL,
`value_type` varchar(100) DEFAULT NULL,
`value` varchar(255) DEFAULT NULL,
`parameter` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aor_conditions_index_report_id` (`aor_report_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aor_fields`
--
CREATE TABLE `aor_fields` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aor_report_id` char(36) DEFAULT NULL,
`field_order` int(255) DEFAULT NULL,
`module_path` longtext,
`field` varchar(100) DEFAULT NULL,
`display` tinyint(1) DEFAULT NULL,
`link` tinyint(1) DEFAULT NULL,
`label` varchar(255) DEFAULT NULL,
`field_function` varchar(100) DEFAULT NULL,
`sort_by` varchar(100) DEFAULT NULL,
`format` varchar(100) DEFAULT NULL,
`total` varchar(100) DEFAULT NULL,
`sort_order` varchar(100) DEFAULT NULL,
`group_by` tinyint(1) DEFAULT NULL,
`group_order` varchar(100) DEFAULT NULL,
`group_display` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aor_fields_index_report_id` (`aor_report_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aor_reports`
--
CREATE TABLE `aor_reports` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`report_module` varchar(100) DEFAULT NULL,
`graphs_per_row` int(11) DEFAULT '2',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aor_reports_audit`
--
CREATE TABLE `aor_reports_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aor_reports_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aor_scheduled_reports`
--
CREATE TABLE `aor_scheduled_reports` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`schedule` varchar(100) DEFAULT NULL,
`last_run` datetime DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`email_recipients` longtext,
`aor_report_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_contracts`
--
CREATE TABLE `aos_contracts` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`reference_code` varchar(255) DEFAULT NULL,
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`total_contract_value` decimal(26,6) DEFAULT NULL,
`total_contract_value_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Not Started',
`customer_signed_date` date DEFAULT NULL,
`company_signed_date` date DEFAULT NULL,
`renewal_reminder_date` datetime DEFAULT NULL,
`contract_type` varchar(100) DEFAULT 'Type',
`contract_account_id` char(36) DEFAULT NULL,
`opportunity_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`call_id` char(36) DEFAULT NULL,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_amount` decimal(26,6) DEFAULT NULL,
`shipping_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_tax` varchar(100) DEFAULT NULL,
`shipping_tax_amt` decimal(26,6) DEFAULT NULL,
`shipping_tax_amt_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_contracts_audit`
--
CREATE TABLE `aos_contracts_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_contracts_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_contracts_documents`
--
CREATE TABLE `aos_contracts_documents` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_contracts_id` varchar(36) DEFAULT NULL,
`documents_id` varchar(36) DEFAULT NULL,
`document_revision_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_contracts_documents_alt` (`aos_contracts_id`,`documents_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_invoices`
--
CREATE TABLE `aos_invoices` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`billing_account_id` char(36) DEFAULT NULL,
`billing_contact_id` char(36) DEFAULT NULL,
`billing_address_street` varchar(150) DEFAULT NULL,
`billing_address_city` varchar(100) DEFAULT NULL,
`billing_address_state` varchar(100) DEFAULT NULL,
`billing_address_postalcode` varchar(20) DEFAULT NULL,
`billing_address_country` varchar(255) DEFAULT NULL,
`shipping_address_street` varchar(150) DEFAULT NULL,
`shipping_address_city` varchar(100) DEFAULT NULL,
`shipping_address_state` varchar(100) DEFAULT NULL,
`shipping_address_postalcode` varchar(20) DEFAULT NULL,
`shipping_address_country` varchar(255) DEFAULT NULL,
`number` int(11) NOT NULL,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_amount` decimal(26,6) DEFAULT NULL,
`shipping_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_tax` varchar(100) DEFAULT NULL,
`shipping_tax_amt` decimal(26,6) DEFAULT NULL,
`shipping_tax_amt_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`quote_number` int(11) DEFAULT NULL,
`quote_date` date DEFAULT NULL,
`invoice_date` date DEFAULT NULL,
`due_date` date DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`template_ddown_c` text,
`subtotal_tax_amount` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_invoices_audit`
--
CREATE TABLE `aos_invoices_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_invoices_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_line_item_groups`
--
CREATE TABLE `aos_line_item_groups` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`number` int(11) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_line_item_groups_audit`
--
CREATE TABLE `aos_line_item_groups_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_line_item_groups_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_pdf_templates`
--
CREATE TABLE `aos_pdf_templates` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` longtext,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`active` tinyint(1) DEFAULT '1',
`type` varchar(100) DEFAULT NULL,
`pdfheader` longtext,
`pdffooter` longtext,
`margin_left` int(255) DEFAULT '15',
`margin_right` int(255) DEFAULT '15',
`margin_top` int(255) DEFAULT '16',
`margin_bottom` int(255) DEFAULT '16',
`margin_header` int(255) DEFAULT '9',
`margin_footer` int(255) DEFAULT '9',
`page_size` varchar(100) DEFAULT NULL,
`orientation` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_pdf_templates_audit`
--
CREATE TABLE `aos_pdf_templates_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_pdf_templates_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products`
--
CREATE TABLE `aos_products` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`maincode` varchar(100) DEFAULT 'XXXX',
`part_number` varchar(25) DEFAULT NULL,
`category` varchar(100) DEFAULT NULL,
`type` varchar(100) DEFAULT 'Good',
`cost` decimal(26,6) DEFAULT NULL,
`cost_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`price` decimal(26,6) DEFAULT NULL,
`price_usdollar` decimal(26,6) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`product_image` varchar(255) DEFAULT NULL,
`aos_product_category_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products_audit`
--
CREATE TABLE `aos_products_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_products_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products_quotes`
--
CREATE TABLE `aos_products_quotes` (
`id` char(36) NOT NULL,
`name` text,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`part_number` varchar(255) DEFAULT NULL,
`item_description` text,
`number` int(11) DEFAULT NULL,
`product_qty` decimal(18,4) DEFAULT NULL,
`product_cost_price` decimal(26,6) DEFAULT NULL,
`product_cost_price_usdollar` decimal(26,6) DEFAULT NULL,
`product_list_price` decimal(26,6) DEFAULT NULL,
`product_list_price_usdollar` decimal(26,6) DEFAULT NULL,
`product_discount` decimal(26,6) DEFAULT NULL,
`product_discount_usdollar` decimal(26,6) DEFAULT NULL,
`product_discount_amount` decimal(26,6) DEFAULT NULL,
`product_discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount` varchar(255) DEFAULT 'Percentage',
`product_unit_price` decimal(26,6) DEFAULT NULL,
`product_unit_price_usdollar` decimal(26,6) DEFAULT NULL,
`vat_amt` decimal(26,6) DEFAULT NULL,
`vat_amt_usdollar` decimal(26,6) DEFAULT NULL,
`product_total_price` decimal(26,6) DEFAULT NULL,
`product_total_price_usdollar` decimal(26,6) DEFAULT NULL,
`vat` varchar(100) DEFAULT '5.0',
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`product_id` char(36) DEFAULT NULL,
`group_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_aospq_par_del` (`parent_id`,`parent_type`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_products_quotes_audit`
--
CREATE TABLE `aos_products_quotes_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_products_quotes_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_product_categories`
--
CREATE TABLE `aos_product_categories` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`is_parent` tinyint(1) DEFAULT '0',
`parent_category_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_product_categories_audit`
--
CREATE TABLE `aos_product_categories_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_product_categories_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes`
--
CREATE TABLE `aos_quotes` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`approval_issue` text,
`billing_account_id` char(36) DEFAULT NULL,
`billing_contact_id` char(36) DEFAULT NULL,
`billing_address_street` varchar(150) DEFAULT NULL,
`billing_address_city` varchar(100) DEFAULT NULL,
`billing_address_state` varchar(100) DEFAULT NULL,
`billing_address_postalcode` varchar(20) DEFAULT NULL,
`billing_address_country` varchar(255) DEFAULT NULL,
`shipping_address_street` varchar(150) DEFAULT NULL,
`shipping_address_city` varchar(100) DEFAULT NULL,
`shipping_address_state` varchar(100) DEFAULT NULL,
`shipping_address_postalcode` varchar(20) DEFAULT NULL,
`shipping_address_country` varchar(255) DEFAULT NULL,
`expiration` date DEFAULT NULL,
`number` int(11) DEFAULT NULL,
`opportunity_id` char(36) DEFAULT NULL,
`template_ddown_c` text,
`total_amt` decimal(26,6) DEFAULT NULL,
`total_amt_usdollar` decimal(26,6) DEFAULT NULL,
`subtotal_amount` decimal(26,6) DEFAULT NULL,
`subtotal_amount_usdollar` decimal(26,6) DEFAULT NULL,
`discount_amount` decimal(26,6) DEFAULT NULL,
`discount_amount_usdollar` decimal(26,6) DEFAULT NULL,
`tax_amount` decimal(26,6) DEFAULT NULL,
`tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_amount` decimal(26,6) DEFAULT NULL,
`shipping_amount_usdollar` decimal(26,6) DEFAULT NULL,
`shipping_tax` varchar(100) DEFAULT NULL,
`shipping_tax_amt` decimal(26,6) DEFAULT NULL,
`shipping_tax_amt_usdollar` decimal(26,6) DEFAULT NULL,
`total_amount` decimal(26,6) DEFAULT NULL,
`total_amount_usdollar` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`stage` varchar(100) DEFAULT 'Draft',
`term` varchar(100) DEFAULT NULL,
`terms_c` text,
`approval_status` varchar(100) DEFAULT NULL,
`invoice_status` varchar(100) DEFAULT 'Not Invoiced',
`subtotal_tax_amount` decimal(26,6) DEFAULT NULL,
`subtotal_tax_amount_usdollar` decimal(26,6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_aos_invoices_c`
--
CREATE TABLE `aos_quotes_aos_invoices_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_quotes77d9_quotes_ida` varchar(36) DEFAULT NULL,
`aos_quotes6b83nvoices_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_quotes_aos_invoices_alt` (`aos_quotes77d9_quotes_ida`,`aos_quotes6b83nvoices_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_audit`
--
CREATE TABLE `aos_quotes_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aos_quotes_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_os_contracts_c`
--
CREATE TABLE `aos_quotes_os_contracts_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_quotese81e_quotes_ida` varchar(36) DEFAULT NULL,
`aos_quotes4dc0ntracts_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_quotes_aos_contracts_alt` (`aos_quotese81e_quotes_ida`,`aos_quotes4dc0ntracts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aos_quotes_project_c`
--
CREATE TABLE `aos_quotes_project_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`aos_quotes1112_quotes_ida` varchar(36) DEFAULT NULL,
`aos_quotes7207project_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aos_quotes_project_alt` (`aos_quotes1112_quotes_ida`,`aos_quotes7207project_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aow_actions`
--
CREATE TABLE `aow_actions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aow_workflow_id` char(36) DEFAULT NULL,
`action_order` int(255) DEFAULT NULL,
`action` varchar(100) DEFAULT NULL,
`parameters` longtext,
PRIMARY KEY (`id`),
KEY `aow_action_index_workflow_id` (`aow_workflow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aow_conditions`
--
CREATE TABLE `aow_conditions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aow_workflow_id` char(36) DEFAULT NULL,
`condition_order` int(255) DEFAULT NULL,
`module_path` longtext,
`field` varchar(100) DEFAULT NULL,
`operator` varchar(100) DEFAULT NULL,
`value_type` varchar(255) DEFAULT NULL,
`value` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `aow_conditions_index_workflow_id` (`aow_workflow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aow_processed`
--
CREATE TABLE `aow_processed` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`aow_workflow_id` char(36) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Pending',
PRIMARY KEY (`id`),
KEY `aow_processed_index_workflow` (`aow_workflow_id`,`status`,`parent_id`,`deleted`),
KEY `aow_processed_index_status` (`status`),
KEY `aow_processed_index_workflow_id` (`aow_workflow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aow_processed_aow_actions`
--
CREATE TABLE `aow_processed_aow_actions` (
`id` varchar(36) NOT NULL,
`aow_processed_id` varchar(36) DEFAULT NULL,
`aow_action_id` varchar(36) DEFAULT NULL,
`status` varchar(36) DEFAULT 'Pending',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_aow_processed_aow_actions` (`aow_processed_id`,`aow_action_id`),
KEY `idx_actid_del_freid` (`aow_action_id`,`deleted`,`aow_processed_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aow_workflow`
--
CREATE TABLE `aow_workflow` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`flow_module` varchar(100) DEFAULT NULL,
`flow_run_on` varchar(100) DEFAULT '0',
`status` varchar(100) DEFAULT 'Active',
`run_when` varchar(100) DEFAULT 'Always',
`multiple_runs` tinyint(1) DEFAULT '0',
`run_on_import` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `aow_workflow_index_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `aow_workflow_audit`
--
CREATE TABLE `aow_workflow_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_aow_workflow_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `archived_documents_media_objects`
--
CREATE TABLE `archived_documents_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int(11) DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `bugs`
--
CREATE TABLE `bugs` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`bug_number` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`priority` varchar(100) DEFAULT NULL,
`resolution` varchar(255) DEFAULT NULL,
`work_log` text,
`found_in_release` varchar(255) DEFAULT NULL,
`fixed_in_release` varchar(255) DEFAULT NULL,
`source` varchar(255) DEFAULT NULL,
`product_category` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `bugsnumk` (`bug_number`),
KEY `bug_number` (`bug_number`),
KEY `idx_bug_name` (`name`),
KEY `idx_bugs_assigned_user` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `bugs_audit`
--
CREATE TABLE `bugs_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_bugs_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `cache_rebuild`
--
CREATE TABLE `cache_rebuild` (
`cache_key` varchar(255) DEFAULT NULL,
`rebuild` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `calls`
--
CREATE TABLE `calls` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`duration_hours` int(2) DEFAULT NULL,
`duration_minutes` int(2) DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Planned',
`direction` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`reminder_time` int(11) DEFAULT '-1',
`email_reminder_time` int(11) DEFAULT '-1',
`email_reminder_sent` tinyint(1) DEFAULT '0',
`outlook_id` varchar(255) DEFAULT NULL,
`repeat_type` varchar(36) DEFAULT NULL,
`repeat_interval` int(3) DEFAULT '1',
`repeat_dow` varchar(7) DEFAULT NULL,
`repeat_until` date DEFAULT NULL,
`repeat_count` int(7) DEFAULT NULL,
`repeat_parent_id` char(36) DEFAULT NULL,
`recurring_source` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_call_name` (`name`),
KEY `idx_status` (`status`),
KEY `idx_calls_date_start` (`date_start`),
KEY `idx_calls_par_del` (`parent_id`,`parent_type`,`deleted`),
KEY `idx_calls_assigned_del` (`deleted`,`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `calls_contacts`
--
CREATE TABLE `calls_contacts` (
`id` varchar(36) NOT NULL,
`call_id` varchar(36) DEFAULT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_call_call` (`call_id`),
KEY `idx_con_call_con` (`contact_id`),
KEY `idx_call_contact` (`call_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `calls_leads`
--
CREATE TABLE `calls_leads` (
`id` varchar(36) NOT NULL,
`call_id` varchar(36) DEFAULT NULL,
`lead_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_lead_call_call` (`call_id`),
KEY `idx_lead_call_lead` (`lead_id`),
KEY `idx_call_lead` (`call_id`,`lead_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `calls_reschedule`
--
CREATE TABLE `calls_reschedule` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`reason` varchar(100) DEFAULT NULL,
`call_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `calls_reschedule_audit`
--
CREATE TABLE `calls_reschedule_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_calls_reschedule_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `calls_users`
--
CREATE TABLE `calls_users` (
`id` varchar(36) NOT NULL,
`call_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_usr_call_call` (`call_id`),
KEY `idx_usr_call_usr` (`user_id`),
KEY `idx_call_users` (`call_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `campaigns`
--
CREATE TABLE `campaigns` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`tracker_key` int(11) NOT NULL AUTO_INCREMENT,
`tracker_count` int(11) DEFAULT '0',
`refer_url` varchar(255) DEFAULT 'http://',
`tracker_text` varchar(255) DEFAULT NULL,
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`status` varchar(100) DEFAULT 'Planning',
`impressions` int(11) DEFAULT '0',
`currency_id` char(36) DEFAULT NULL,
`budget` double DEFAULT NULL,
`budget_usdollar` double DEFAULT NULL,
`expected_cost_usdollar` double DEFAULT NULL,
`actual_cost_usdollar` double DEFAULT NULL,
`expected_revenue_usdollar` double DEFAULT NULL,
`expected_cost` double DEFAULT NULL,
`actual_cost` double DEFAULT NULL,
`expected_revenue` double DEFAULT NULL,
`campaign_type` varchar(100) DEFAULT 'NewsLetter',
`objective` text,
`content` text,
`frequency` varchar(100) DEFAULT NULL,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `camp_auto_tracker_key` (`tracker_key`),
KEY `idx_campaign_name` (`name`),
KEY `idx_survey_id` (`survey_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `campaigns_audit`
--
CREATE TABLE `campaigns_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_campaigns_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `campaign_log`
--
CREATE TABLE `campaign_log` (
`id` char(36) NOT NULL,
`campaign_id` char(36) DEFAULT NULL,
`target_tracker_key` varchar(36) DEFAULT NULL,
`target_id` varchar(36) DEFAULT NULL,
`target_type` varchar(100) DEFAULT NULL,
`activity_type` varchar(100) DEFAULT NULL,
`activity_date` datetime DEFAULT NULL,
`archived` tinyint(1) DEFAULT '0',
`hits` int(11) DEFAULT '0',
`list_id` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`is_test_entry` tinyint(1) DEFAULT '0',
`related_type` varchar(255) DEFAULT NULL,
`related_id` char(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`more_information` varchar(100) DEFAULT NULL,
`marketing_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_camp_tracker` (`target_tracker_key`),
KEY `idx_camp_campaign_id` (`campaign_id`),
KEY `idx_camp_more_info` (`more_information`),
KEY `idx_target_id` (`target_id`),
KEY `idx_related` (`related_id`,`related_type`,`marketing_id`,`deleted`),
KEY `idx_target_id_deleted` (`target_id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `campaign_trkrs`
--
CREATE TABLE `campaign_trkrs` (
`id` char(36) NOT NULL,
`tracker_name` varchar(255) DEFAULT NULL,
`tracker_url` varchar(255) DEFAULT 'http://',
`tracker_key` int(11) NOT NULL AUTO_INCREMENT,
`campaign_id` char(36) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`is_optout` tinyint(1) DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `campaign_tracker_key_idx` (`tracker_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `cases`
--
CREATE TABLE `cases` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`case_number` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`priority` varchar(100) DEFAULT NULL,
`resolution` text,
`work_log` text,
`account_id` char(36) DEFAULT NULL,
`state` varchar(100) DEFAULT 'Open',
`contact_created_by_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `casesnumk` (`case_number`),
KEY `case_number` (`case_number`),
KEY `idx_case_name` (`name`),
KEY `idx_account_id` (`account_id`),
KEY `idx_cases_stat_del` (`assigned_user_id`,`status`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `cases_audit`
--
CREATE TABLE `cases_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_cases_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `cases_bugs`
--
CREATE TABLE `cases_bugs` (
`id` varchar(36) NOT NULL,
`case_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_cas_bug_cas` (`case_id`),
KEY `idx_cas_bug_bug` (`bug_id`),
KEY `idx_case_bug` (`case_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `cases_cstm`
--
CREATE TABLE `cases_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `config`
--
CREATE TABLE `config` (
`category` varchar(32) DEFAULT NULL,
`name` varchar(32) DEFAULT NULL,
`value` text,
KEY `idx_config_cat` (`category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `config`
--
INSERT INTO `config` VALUES
('notify', 'fromaddress', '[[admin_email]]'),
('notify', 'fromname', '[[site_name]]'),
('notify', 'send_by_default', '1'),
('notify', 'on', '1'),
('notify', 'send_from_assigning_user', '0'),
('info', 'sugar_version', '6.5.25'),
('MySettings', 'tab', 'YTozMjp7aTowO3M6NDoiSG9tZSI7aToxO3M6ODoiQWNjb3VudHMiO2k6MjtzOjg6IkNvbnRhY3RzIjtpOjM7czoxMzoiT3Bwb3J0dW5pdGllcyI7aTo0O3M6NToiTGVhZHMiO2k6NTtzOjEwOiJBT1NfUXVvdGVzIjtpOjY7czo4OiJDYWxlbmRhciI7aTo3O3M6OToiRG9jdW1lbnRzIjtpOjg7czo2OiJFbWFpbHMiO2k6OTtzOjk6IkNhbXBhaWducyI7aToxMDtzOjU6IkNhbGxzIjtpOjExO3M6ODoiTWVldGluZ3MiO2k6MTI7czo1OiJUYXNrcyI7aToxMztzOjU6Ik5vdGVzIjtpOjE0O3M6MTI6IkFPU19JbnZvaWNlcyI7aToxNTtzOjEzOiJBT1NfQ29udHJhY3RzIjtpOjE2O3M6NToiQ2FzZXMiO2k6MTc7czo5OiJQcm9zcGVjdHMiO2k6MTg7czoxMzoiUHJvc3BlY3RMaXN0cyI7aToxOTtzOjc6IlByb2plY3QiO2k6MjA7czoxOToiQU1fUHJvamVjdFRlbXBsYXRlcyI7aToyMTtzOjE2OiJBTV9UYXNrVGVtcGxhdGVzIjtpOjIyO3M6OToiRlBfZXZlbnRzIjtpOjIzO3M6MTg6IkZQX0V2ZW50X0xvY2F0aW9ucyI7aToyNDtzOjEyOiJBT1NfUHJvZHVjdHMiO2k6MjU7czoyMjoiQU9TX1Byb2R1Y3RfQ2F0ZWdvcmllcyI7aToyNjtzOjE3OiJBT1NfUERGX1RlbXBsYXRlcyI7aToyNztzOjExOiJBT1JfUmVwb3J0cyI7aToyODtzOjE3OiJBT0tfS25vd2xlZGdlQmFzZSI7aToyOTtzOjI5OiJBT0tfS25vd2xlZGdlX0Jhc2VfQ2F0ZWdvcmllcyI7aTozMDtzOjE0OiJFbWFpbFRlbXBsYXRlcyI7aTozMTtzOjc6IlN1cnZleXMiO30='),
('portal', 'on', '0'),
('tracker', 'Tracker', '1'),
('sugarfeed', 'enabled', '1'),
('sugarfeed', 'module_UserFeed', '1'),
('sugarfeed', 'module_Cases', '1'),
('sugarfeed', 'module_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) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`salutation` varchar(255) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`title` varchar(100) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(255) DEFAULT NULL,
`do_not_call` tinyint(1) DEFAULT '0',
`phone_home` varchar(100) DEFAULT NULL,
`phone_mobile` varchar(100) DEFAULT NULL,
`phone_work` varchar(100) DEFAULT NULL,
`phone_other` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`lawful_basis` text,
`date_reviewed` date DEFAULT NULL,
`lawful_basis_source` varchar(100) DEFAULT NULL,
`primary_address_street` varchar(150) DEFAULT NULL,
`primary_address_city` varchar(100) DEFAULT NULL,
`primary_address_state` varchar(100) DEFAULT NULL,
`primary_address_postalcode` varchar(20) DEFAULT NULL,
`primary_address_country` varchar(255) DEFAULT NULL,
`alt_address_street` varchar(150) DEFAULT NULL,
`alt_address_city` varchar(100) DEFAULT NULL,
`alt_address_state` varchar(100) DEFAULT NULL,
`alt_address_postalcode` varchar(20) DEFAULT NULL,
`alt_address_country` varchar(255) DEFAULT NULL,
`assistant` varchar(75) DEFAULT NULL,
`assistant_phone` varchar(100) DEFAULT NULL,
`lead_source` varchar(255) DEFAULT NULL,
`reports_to_id` char(36) DEFAULT NULL,
`birthdate` date DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`joomla_account_id` varchar(255) DEFAULT NULL,
`portal_account_disabled` tinyint(1) DEFAULT NULL,
`portal_user_type` varchar(100) DEFAULT 'Single',
PRIMARY KEY (`id`),
KEY `idx_cont_last_first` (`last_name`,`first_name`,`deleted`),
KEY `idx_contacts_del_last` (`deleted`,`last_name`),
KEY `idx_cont_del_reports` (`deleted`,`reports_to_id`,`last_name`),
KEY `idx_reports_to_id` (`reports_to_id`),
KEY `idx_del_id_user` (`deleted`,`id`,`assigned_user_id`),
KEY `idx_cont_assigned` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_audit`
--
CREATE TABLE `contacts_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_contacts_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_bugs`
--
CREATE TABLE `contacts_bugs` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`contact_role` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_bug_con` (`contact_id`),
KEY `idx_con_bug_bug` (`bug_id`),
KEY `idx_contact_bug` (`contact_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_cases`
--
CREATE TABLE `contacts_cases` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`case_id` varchar(36) DEFAULT NULL,
`contact_role` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_case_con` (`contact_id`),
KEY `idx_con_case_case` (`case_id`),
KEY `idx_contacts_cases` (`contact_id`,`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_cstm`
--
CREATE TABLE `contacts_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `contacts_users`
--
CREATE TABLE `contacts_users` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_users_con` (`contact_id`),
KEY `idx_con_users_user` (`user_id`),
KEY `idx_contacts_users` (`contact_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `cron_remove_documents`
--
CREATE TABLE `cron_remove_documents` (
`id` varchar(36) NOT NULL,
`bean_id` varchar(36) DEFAULT NULL,
`module` varchar(25) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_cron_remove_document_bean_id` (`bean_id`),
KEY `idx_cron_remove_document_stamp` (`date_modified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `currencies`
--
CREATE TABLE `currencies` (
`id` char(36) NOT NULL,
`name` varchar(36) DEFAULT NULL,
`symbol` varchar(36) DEFAULT NULL,
`iso4217` varchar(3) DEFAULT NULL,
`conversion_rate` double DEFAULT '0',
`status` varchar(100) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`created_by` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_currency_name` (`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `custom_fields`
--
CREATE TABLE `custom_fields` (
`bean_id` varchar(36) DEFAULT NULL,
`set_num` int(11) DEFAULT '0',
`field0` varchar(255) DEFAULT NULL,
`field1` varchar(255) DEFAULT NULL,
`field2` varchar(255) DEFAULT NULL,
`field3` varchar(255) DEFAULT NULL,
`field4` varchar(255) DEFAULT NULL,
`field5` varchar(255) DEFAULT NULL,
`field6` varchar(255) DEFAULT NULL,
`field7` varchar(255) DEFAULT NULL,
`field8` varchar(255) DEFAULT NULL,
`field9` varchar(255) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
KEY `idx_beanid_set_num` (`bean_id`,`set_num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `documents`
--
CREATE TABLE `documents` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`document_name` varchar(255) DEFAULT NULL,
`doc_id` varchar(100) DEFAULT NULL,
`doc_type` varchar(100) DEFAULT 'Sugar',
`doc_url` varchar(255) DEFAULT NULL,
`active_date` date DEFAULT NULL,
`exp_date` date DEFAULT NULL,
`category_id` varchar(100) DEFAULT NULL,
`subcategory_id` varchar(100) DEFAULT NULL,
`status_id` varchar(100) DEFAULT NULL,
`document_revision_id` varchar(36) DEFAULT NULL,
`related_doc_id` char(36) DEFAULT NULL,
`related_doc_rev_id` char(36) DEFAULT NULL,
`is_template` tinyint(1) DEFAULT '0',
`template_type` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_doc_cat` (`category_id`,`subcategory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `documents_accounts`
--
CREATE TABLE `documents_accounts` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`account_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_accounts_account_id` (`account_id`,`document_id`),
KEY `documents_accounts_document_id` (`document_id`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `documents_bugs`
--
CREATE TABLE `documents_bugs` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`bug_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_bugs_bug_id` (`bug_id`,`document_id`),
KEY `documents_bugs_document_id` (`document_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `documents_cases`
--
CREATE TABLE `documents_cases` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`case_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_cases_case_id` (`case_id`,`document_id`),
KEY `documents_cases_document_id` (`document_id`,`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `documents_contacts`
--
CREATE TABLE `documents_contacts` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`contact_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documents_contacts_contact_id` (`contact_id`,`document_id`),
KEY `documents_contacts_document_id` (`document_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `documents_opportunities`
--
CREATE TABLE `documents_opportunities` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`document_id` varchar(36) DEFAULT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_docu_opps_oppo_id` (`opportunity_id`,`document_id`),
KEY `idx_docu_oppo_docu_id` (`document_id`,`opportunity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `document_revisions`
--
CREATE TABLE `document_revisions` (
`id` varchar(36) NOT NULL,
`change_log` varchar(255) DEFAULT NULL,
`document_id` varchar(36) DEFAULT NULL,
`doc_id` varchar(100) DEFAULT NULL,
`doc_type` varchar(100) DEFAULT NULL,
`doc_url` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`filename` varchar(255) DEFAULT NULL,
`file_ext` varchar(100) DEFAULT NULL,
`file_mime_type` varchar(100) DEFAULT NULL,
`revision` varchar(100) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_modified` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `documentrevision_mimetype` (`file_mime_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `eapm`
--
CREATE TABLE `eapm` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`application` varchar(100) DEFAULT 'webex',
`api_data` text,
`consumer_key` varchar(255) DEFAULT NULL,
`consumer_secret` varchar(255) DEFAULT NULL,
`oauth_token` varchar(255) DEFAULT NULL,
`oauth_secret` varchar(255) DEFAULT NULL,
`validated` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_app_active` (`assigned_user_id`,`application`,`validated`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `emailman`
--
CREATE TABLE `emailman` (
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`user_id` char(36) DEFAULT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`list_id` char(36) DEFAULT NULL,
`send_date_time` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`more_information` varchar(100) DEFAULT NULL,
`in_queue` tinyint(1) DEFAULT '0',
`in_queue_date` datetime DEFAULT NULL,
`send_attempts` int(11) DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
`related_type` varchar(100) DEFAULT NULL,
`related_id` char(36) DEFAULT NULL,
`related_confirm_opt_in` tinyint(1) DEFAULT '0',
`marketing_id` char(36) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_eman_list` (`list_id`,`user_id`,`deleted`),
KEY `idx_eman_campaign_id` (`campaign_id`),
KEY `idx_eman_relid_reltype_id` (`related_id`,`related_type`,`campaign_id`),
KEY `idx_eman_related` (`related_id`,`related_type`,`marketing_id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `emails`
--
CREATE TABLE `emails` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`orphaned` tinyint(1) DEFAULT NULL,
`last_synced` datetime DEFAULT NULL,
`date_sent_received` datetime DEFAULT NULL,
`message_id` varchar(255) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`flagged` tinyint(1) DEFAULT NULL,
`reply_to_status` tinyint(1) DEFAULT NULL,
`intent` varchar(100) DEFAULT 'pick',
`mailbox_id` char(36) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`uid` varchar(255) DEFAULT NULL,
`category_id` varchar(100) DEFAULT NULL,
`outbound_email_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_email_name` (`name`),
KEY `idx_message_id` (`message_id`),
KEY `idx_email_parent_id` (`parent_id`),
KEY `idx_email_assigned` (`assigned_user_id`,`type`,`status`),
KEY `idx_email_cat` (`category_id`),
KEY `idx_email_uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `emails_beans`
--
CREATE TABLE `emails_beans` (
`id` char(36) NOT NULL,
`email_id` char(36) DEFAULT NULL,
`bean_id` char(36) DEFAULT NULL,
`bean_module` varchar(100) DEFAULT NULL,
`campaign_data` text,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_emails_beans_bean_id` (`bean_id`),
KEY `idx_emails_beans_email_bean` (`email_id`,`bean_id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `emails_email_addr_rel`
--
CREATE TABLE `emails_email_addr_rel` (
`id` char(36) NOT NULL,
`email_id` char(36) NOT NULL,
`address_type` varchar(4) DEFAULT NULL,
`email_address_id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_eearl_email_id` (`email_id`,`address_type`),
KEY `idx_eearl_address_id` (`email_address_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `emails_text`
--
CREATE TABLE `emails_text` (
`email_id` char(36) NOT NULL,
`from_addr` varchar(255) DEFAULT NULL,
`reply_to_addr` varchar(255) DEFAULT NULL,
`to_addrs` text,
`cc_addrs` text,
`bcc_addrs` text,
`description` longtext,
`description_html` longtext,
`raw_source` longtext,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`email_id`),
KEY `emails_textfromaddr` (`from_addr`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_addresses`
--
CREATE TABLE `email_addresses` (
`id` char(36) NOT NULL,
`email_address` varchar(255) DEFAULT NULL,
`email_address_caps` varchar(255) DEFAULT NULL,
`invalid_email` tinyint(1) DEFAULT '0',
`opt_out` tinyint(1) DEFAULT '0',
`confirm_opt_in` varchar(255) DEFAULT 'not-opt-in',
`confirm_opt_in_date` datetime DEFAULT NULL,
`confirm_opt_in_sent_date` datetime DEFAULT NULL,
`confirm_opt_in_fail_date` datetime DEFAULT NULL,
`confirm_opt_in_token` varchar(255) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_ea_caps_opt_out_invalid` (`email_address_caps`,`opt_out`,`invalid_email`),
KEY `idx_ea_opt_out_invalid` (`email_address`,`opt_out`,`invalid_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_addresses_audit`
--
CREATE TABLE `email_addresses_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_email_addresses_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_addr_bean_rel`
--
CREATE TABLE `email_addr_bean_rel` (
`id` char(36) NOT NULL,
`email_address_id` char(36) NOT NULL,
`bean_id` char(36) NOT NULL,
`bean_module` varchar(100) DEFAULT NULL,
`primary_address` tinyint(1) DEFAULT '0',
`reply_to_address` tinyint(1) DEFAULT '0',
`date_created` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_email_address_id` (`email_address_id`),
KEY `idx_bean_id` (`bean_id`,`bean_module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_cache`
--
CREATE TABLE `email_cache` (
`ie_id` char(36) DEFAULT NULL,
`mbox` varchar(60) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`fromaddr` varchar(100) DEFAULT NULL,
`toaddr` varchar(255) DEFAULT NULL,
`senddate` datetime DEFAULT NULL,
`message_id` varchar(255) DEFAULT NULL,
`mailsize` int(10) unsigned DEFAULT NULL,
`imap_uid` int(10) unsigned DEFAULT NULL,
`msgno` int(10) unsigned DEFAULT NULL,
`recent` tinyint(4) DEFAULT NULL,
`flagged` tinyint(4) DEFAULT NULL,
`answered` tinyint(4) DEFAULT NULL,
`deleted` tinyint(4) DEFAULT NULL,
`seen` tinyint(4) DEFAULT NULL,
`draft` tinyint(4) 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=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_marketing`
--
CREATE TABLE `email_marketing` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`from_name` varchar(100) DEFAULT NULL,
`from_addr` varchar(100) DEFAULT NULL,
`reply_to_name` varchar(100) DEFAULT NULL,
`reply_to_addr` varchar(100) DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`template_id` char(36) NOT NULL,
`status` varchar(100) DEFAULT 'draft',
`duplicate` varchar(255) DEFAULT 'email',
`queueing_status` varchar(100) DEFAULT 'not_started',
`type` varchar(100) DEFAULT NULL,
`has_test_data` tinyint(1) DEFAULT '0',
`trackers_enabled` tinyint(1) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`outbound_email_id` char(36) DEFAULT NULL,
`all_prospect_lists` tinyint(1) DEFAULT '0',
`subject` varchar(255) DEFAULT NULL,
`body` longtext,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_emmkt_name` (`name`),
KEY `idx_emmkit_del` (`deleted`),
KEY `idx_status` (`status`),
KEY `idx_date_start` (`date_start`),
KEY `idx_survey_id` (`survey_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_marketing_prospect_lists`
--
CREATE TABLE `email_marketing_prospect_lists` (
`id` varchar(36) NOT NULL,
`prospect_list_id` varchar(36) DEFAULT NULL,
`email_marketing_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `email_mp_prospects` (`email_marketing_id`,`prospect_list_id`),
KEY `idx_prospect_list_id` (`prospect_list_id`),
KEY `idx_email_marketing_id` (`email_marketing_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `email_templates`
--
CREATE TABLE `email_templates` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`published` varchar(3) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`description` text,
`subject` varchar(255) DEFAULT NULL,
`body` longtext,
`body_html` longtext,
`deleted` tinyint(1) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`text_only` tinyint(1) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_email_template_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `email_templates`
--
INSERT INTO `email_templates` VALUES
('[[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'),
('[[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'),
('[[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'),
('6cabedf8-9fab-4d69-99b9-5516bb0fc05a', '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'),
('[[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'),
('[[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'),
('[[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'),
('[[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'),
('[[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'),
('[[user_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'User Case Update', 'Email template to send to a SuiteCRM user when their case is updated.', '$acase_name (# $acase_case_number) update', 'Hi $user_first_name $user_last_name,\n\n You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:\n $contact_first_name $contact_last_name, said:\n $aop_case_updates_description\n You may review this Case at:\n $sugarurl/index.php?module=Cases&action=DetailView&record=$acase_id;', '<p>Hi $user_first_name $user_last_name,</p>\n <p> </p>\n <p>You''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:</p>\n <p><strong>$contact_first_name $contact_last_name, said:</strong></p>\n <p style="padding-left:30px;">$aop_case_updates_description</p>\n <p>You may review this Case at: $sugarurl/index.php?module=Cases&action=DetailView&record=$acase_id;</p>', 0, NULL, NULL, 'system');
-- --------------------------------------------------------
--
-- Table structure for table `external_oauth_connections`
--
CREATE TABLE `external_oauth_connections` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`type` varchar(255) DEFAULT NULL,
`client_id` varchar(32) DEFAULT NULL,
`client_secret` varchar(32) DEFAULT NULL,
`token_type` varchar(32) DEFAULT NULL,
`expires_in` varchar(32) DEFAULT NULL,
`access_token` text,
`refresh_token` text,
`external_oauth_provider_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `external_oauth_providers`
--
CREATE TABLE `external_oauth_providers` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`type` varchar(255) DEFAULT NULL,
`connector` varchar(255) DEFAULT NULL,
`redirect_uri_type` varchar(50) DEFAULT 'pretty_url',
`client_id` varchar(255) DEFAULT NULL,
`client_secret` varchar(255) DEFAULT NULL,
`scope` text,
`url_authorize` varchar(255) DEFAULT NULL,
`authorize_url_options` text,
`url_access_token` varchar(255) DEFAULT NULL,
`extra_provider_params` text,
`get_token_request_grant` varchar(255) DEFAULT 'authorization_code',
`get_token_request_options` text,
`refresh_token_request_grant` varchar(255) DEFAULT 'refresh_token',
`refresh_token_request_options` text,
`access_token_mapping` varchar(255) DEFAULT 'access_token',
`expires_in_mapping` varchar(255) DEFAULT 'expires_in',
`refresh_token_mapping` varchar(255) DEFAULT 'refresh_token',
`token_type_mapping` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `favorites`
--
CREATE TABLE `favorites` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fields_meta_data`
--
CREATE TABLE `fields_meta_data` (
`id` varchar(255) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`vname` varchar(255) DEFAULT NULL,
`comments` varchar(255) DEFAULT NULL,
`help` varchar(255) DEFAULT NULL,
`custom_module` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`len` int(11) DEFAULT NULL,
`required` tinyint(1) DEFAULT '0',
`default_value` varchar(255) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`audited` tinyint(1) DEFAULT '0',
`massupdate` tinyint(1) DEFAULT '0',
`duplicate_merge` smallint(6) DEFAULT '0',
`reportable` tinyint(1) DEFAULT '1',
`importable` varchar(255) DEFAULT NULL,
`ext1` varchar(255) DEFAULT NULL,
`ext2` varchar(255) DEFAULT NULL,
`ext3` varchar(255) DEFAULT NULL,
`ext4` text,
PRIMARY KEY (`id`),
KEY `idx_meta_id_del` (`id`,`deleted`),
KEY `idx_meta_cm_del` (`custom_module`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `fields_meta_data`
--
INSERT INTO `fields_meta_data` VALUES
('Accountsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Accounts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Accountsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Accounts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Accountsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Accounts', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Accountsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Accounts', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Casesjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Cases', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Casesjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Cases', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Casesjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Cases', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Casesjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Cases', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Contactsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Contacts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Contactsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Contacts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Contactsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Contacts', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Contactsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Contacts', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Leadsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Leads', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Leadsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Leads', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Leadsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Leads', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Leadsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Leads', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Meetingsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Meetings', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Meetingsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Meetings', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Meetingsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Meetings', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Meetingsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Meetings', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Opportunitiesjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Opportunities', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Opportunitiesjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Opportunities', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Opportunitiesjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Opportunities', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Opportunitiesjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Opportunities', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Projectjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Project', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Projectjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Project', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Projectjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Project', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Projectjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Project', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Prospectsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Prospects', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Prospectsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Prospects', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''),
('Prospectsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Prospects', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''),
('Prospectsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Prospects', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', '');
-- --------------------------------------------------------
--
-- Table structure for table `folders`
--
CREATE TABLE `folders` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`folder_type` varchar(25) DEFAULT NULL,
`parent_folder` char(36) DEFAULT NULL,
`has_child` tinyint(1) DEFAULT '0',
`is_group` tinyint(1) DEFAULT '0',
`is_dynamic` tinyint(1) DEFAULT '0',
`dynamic_query` text,
`assign_to_id` char(36) DEFAULT NULL,
`created_by` char(36) NOT NULL,
`modified_by` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_parent_folder` (`parent_folder`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `folders_rel`
--
CREATE TABLE `folders_rel` (
`id` char(36) NOT NULL,
`folder_id` char(36) NOT NULL,
`polymorphic_module` varchar(25) DEFAULT NULL,
`polymorphic_id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_poly_module_poly_id` (`polymorphic_module`,`polymorphic_id`),
KEY `idx_fr_id_deleted_poly` (`folder_id`,`deleted`,`polymorphic_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `folders_subscriptions`
--
CREATE TABLE `folders_subscriptions` (
`id` char(36) NOT NULL,
`folder_id` char(36) NOT NULL,
`assigned_user_id` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_folder_id_assigned_user_id` (`folder_id`,`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events`
--
CREATE TABLE `fp_events` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`duration_hours` int(3) DEFAULT NULL,
`duration_minutes` int(2) DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`budget` decimal(26,6) DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`invite_templates` varchar(100) DEFAULT NULL,
`accept_redirect` varchar(255) DEFAULT NULL,
`decline_redirect` varchar(255) DEFAULT NULL,
`activity_status_type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_audit`
--
CREATE TABLE `fp_events_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_fp_events_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_contacts_c`
--
CREATE TABLE `fp_events_contacts_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_contactsfp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_contactscontacts_idb` varchar(36) DEFAULT NULL,
`invite_status` varchar(25) DEFAULT 'Not Invited',
`accept_status` varchar(25) DEFAULT 'No Response',
`email_responded` int(2) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `fp_events_contacts_alt` (`fp_events_contactsfp_events_ida`,`fp_events_contactscontacts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_fp_event_delegates_1_c`
--
CREATE TABLE `fp_events_fp_event_delegates_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_fp_event_delegates_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_fp_event_delegates_1fp_event_delegates_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fp_events_fp_event_delegates_1_ida1` (`fp_events_fp_event_delegates_1fp_events_ida`),
KEY `fp_events_fp_event_delegates_1_alt` (`fp_events_fp_event_delegates_1fp_event_delegates_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_fp_event_locations_1_c`
--
CREATE TABLE `fp_events_fp_event_locations_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_fp_event_locations_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_fp_event_locations_1fp_event_locations_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fp_events_fp_event_locations_1_alt` (`fp_events_fp_event_locations_1fp_events_ida`,`fp_events_fp_event_locations_1fp_event_locations_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_leads_1_c`
--
CREATE TABLE `fp_events_leads_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_leads_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_leads_1leads_idb` varchar(36) DEFAULT NULL,
`invite_status` varchar(25) DEFAULT 'Not Invited',
`accept_status` varchar(25) DEFAULT 'No Response',
`email_responded` int(2) 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=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_events_prospects_1_c`
--
CREATE TABLE `fp_events_prospects_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_events_prospects_1fp_events_ida` varchar(36) DEFAULT NULL,
`fp_events_prospects_1prospects_idb` varchar(36) DEFAULT NULL,
`invite_status` varchar(25) DEFAULT 'Not Invited',
`accept_status` varchar(25) DEFAULT 'No Response',
`email_responded` int(2) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `fp_events_prospects_1_alt` (`fp_events_prospects_1fp_events_ida`,`fp_events_prospects_1prospects_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_event_locations`
--
CREATE TABLE `fp_event_locations` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`address` varchar(255) DEFAULT NULL,
`address_city` varchar(100) DEFAULT NULL,
`address_country` varchar(100) DEFAULT NULL,
`address_postalcode` varchar(20) DEFAULT NULL,
`address_state` varchar(100) DEFAULT NULL,
`capacity` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_event_locations_audit`
--
CREATE TABLE `fp_event_locations_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_fp_event_locations_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `fp_event_locations_fp_events_1_c`
--
CREATE TABLE `fp_event_locations_fp_events_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`fp_event_locations_fp_events_1fp_event_locations_ida` varchar(36) DEFAULT NULL,
`fp_event_locations_fp_events_1fp_events_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `fp_event_locations_fp_events_1_ida1` (`fp_event_locations_fp_events_1fp_event_locations_ida`),
KEY `fp_event_locations_fp_events_1_alt` (`fp_event_locations_fp_events_1fp_events_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `import_maps`
--
CREATE TABLE `import_maps` (
`id` char(36) NOT NULL,
`name` varchar(254) DEFAULT NULL,
`source` varchar(36) DEFAULT NULL,
`enclosure` varchar(1) DEFAULT ' ',
`delimiter` varchar(1) DEFAULT ',',
`module` varchar(36) DEFAULT NULL,
`content` text,
`default_values` text,
`has_header` tinyint(1) DEFAULT '1',
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`is_published` varchar(3) DEFAULT 'no',
PRIMARY KEY (`id`),
KEY `idx_owner_module_name` (`assigned_user_id`,`module`,`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `inbound_email`
--
CREATE TABLE `inbound_email` (
`id` varchar(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Active',
`email_body_filtering` varchar(255) DEFAULT 'multi',
`server_url` varchar(100) DEFAULT NULL,
`connection_string` varchar(255) DEFAULT NULL,
`email_user` varchar(100) DEFAULT NULL,
`email_password` varchar(100) DEFAULT NULL,
`port` int(5) DEFAULT '143',
`service` varchar(50) DEFAULT NULL,
`mailbox` text,
`sentFolder` varchar(255) DEFAULT NULL,
`trashFolder` varchar(255) DEFAULT NULL,
`delete_seen` tinyint(1) DEFAULT '0',
`move_messages_to_trash_after_import` tinyint(1) DEFAULT '0',
`mailbox_type` varchar(10) DEFAULT NULL,
`template_id` char(36) DEFAULT NULL,
`stored_options` text,
`group_id` char(36) DEFAULT NULL,
`is_personal` tinyint(1) DEFAULT '0',
`groupfolder_id` char(36) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`auth_type` varchar(255) DEFAULT 'basic',
`protocol` varchar(255) DEFAULT 'imap',
`is_ssl` tinyint(1) DEFAULT '0',
`distribution_user_id` char(36) DEFAULT NULL,
`outbound_email_id` char(36) DEFAULT NULL,
`create_case_template_id` char(36) DEFAULT NULL,
`external_oauth_connection_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `inbound_email_autoreply`
--
CREATE TABLE `inbound_email_autoreply` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`autoreplied_to` varchar(100) DEFAULT NULL,
`ie_id` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_ie_autoreplied_to` (`autoreplied_to`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `inbound_email_cache_ts`
--
CREATE TABLE `inbound_email_cache_ts` (
`id` varchar(255) NOT NULL,
`ie_timestamp` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_address_cache`
--
CREATE TABLE `jjwg_address_cache` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`lat` float(10,8) DEFAULT NULL,
`lng` float(11,8) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_address_cache_audit`
--
CREATE TABLE `jjwg_address_cache_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_address_cache_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_areas`
--
CREATE TABLE `jjwg_areas` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`coordinates` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_areas_audit`
--
CREATE TABLE `jjwg_areas_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_areas_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps`
--
CREATE TABLE `jjwg_maps` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`distance` float(9,4) DEFAULT NULL,
`unit_type` varchar(100) DEFAULT 'mi',
`module_type` varchar(100) DEFAULT 'Accounts',
`parent_type` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps_audit`
--
CREATE TABLE `jjwg_maps_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_maps_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps_jjwg_areas_c`
--
CREATE TABLE `jjwg_maps_jjwg_areas_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`jjwg_maps_5304wg_maps_ida` varchar(36) DEFAULT NULL,
`jjwg_maps_41f2g_areas_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `jjwg_maps_jjwg_areas_alt` (`jjwg_maps_5304wg_maps_ida`,`jjwg_maps_41f2g_areas_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_maps_jjwg_markers_c`
--
CREATE TABLE `jjwg_maps_jjwg_markers_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`jjwg_maps_b229wg_maps_ida` varchar(36) DEFAULT NULL,
`jjwg_maps_2e31markers_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `jjwg_maps_jjwg_markers_alt` (`jjwg_maps_b229wg_maps_ida`,`jjwg_maps_2e31markers_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_markers`
--
CREATE TABLE `jjwg_markers` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`jjwg_maps_lat` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_lng` float(11,8) DEFAULT '0.00000000',
`marker_image` varchar(100) DEFAULT 'company',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `jjwg_markers_audit`
--
CREATE TABLE `jjwg_markers_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_jjwg_markers_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `job_queue`
--
CREATE TABLE `job_queue` (
`assigned_user_id` char(36) DEFAULT NULL,
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`scheduler_id` char(36) DEFAULT NULL,
`execute_time` datetime DEFAULT NULL,
`status` varchar(20) DEFAULT NULL,
`resolution` varchar(20) DEFAULT NULL,
`message` text,
`target` varchar(255) DEFAULT NULL,
`data` text,
`requeue` tinyint(1) DEFAULT '0',
`retry_count` tinyint(4) DEFAULT NULL,
`failure_count` tinyint(4) DEFAULT NULL,
`job_delay` int(11) DEFAULT NULL,
`client` varchar(255) DEFAULT NULL,
`percent_complete` int(11) 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=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `leads`
--
CREATE TABLE `leads` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`salutation` varchar(255) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`title` varchar(100) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(100) DEFAULT NULL,
`do_not_call` tinyint(1) DEFAULT '0',
`phone_home` varchar(100) DEFAULT NULL,
`phone_mobile` varchar(100) DEFAULT NULL,
`phone_work` varchar(100) DEFAULT NULL,
`phone_other` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`lawful_basis` text,
`date_reviewed` date DEFAULT NULL,
`lawful_basis_source` varchar(100) DEFAULT NULL,
`primary_address_street` varchar(150) DEFAULT NULL,
`primary_address_city` varchar(100) DEFAULT NULL,
`primary_address_state` varchar(100) DEFAULT NULL,
`primary_address_postalcode` varchar(20) DEFAULT NULL,
`primary_address_country` varchar(255) DEFAULT NULL,
`alt_address_street` varchar(150) DEFAULT NULL,
`alt_address_city` varchar(100) DEFAULT NULL,
`alt_address_state` varchar(100) DEFAULT NULL,
`alt_address_postalcode` varchar(20) DEFAULT NULL,
`alt_address_country` varchar(255) DEFAULT NULL,
`assistant` varchar(75) DEFAULT NULL,
`assistant_phone` varchar(100) DEFAULT NULL,
`converted` tinyint(1) DEFAULT '0',
`refered_by` varchar(100) DEFAULT NULL,
`lead_source` varchar(100) DEFAULT NULL,
`lead_source_description` text,
`status` varchar(100) DEFAULT NULL,
`status_description` text,
`reports_to_id` char(36) DEFAULT NULL,
`account_name` varchar(255) DEFAULT NULL,
`account_description` text,
`contact_id` char(36) DEFAULT NULL,
`account_id` char(36) DEFAULT NULL,
`opportunity_id` char(36) DEFAULT NULL,
`opportunity_name` varchar(255) DEFAULT NULL,
`opportunity_amount` varchar(50) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`birthdate` date DEFAULT NULL,
`portal_name` varchar(255) DEFAULT NULL,
`portal_app` varchar(255) DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_lead_acct_name_first` (`account_name`,`deleted`),
KEY `idx_lead_last_first` (`last_name`,`first_name`,`deleted`),
KEY `idx_lead_del_stat` (`last_name`,`status`,`deleted`,`first_name`),
KEY `idx_lead_opp_del` (`opportunity_id`,`deleted`),
KEY `idx_leads_acct_del` (`account_id`,`deleted`),
KEY `idx_del_user` (`deleted`,`assigned_user_id`),
KEY `idx_lead_assigned` (`assigned_user_id`),
KEY `idx_lead_contact` (`contact_id`),
KEY `idx_reports_to` (`reports_to_id`),
KEY `idx_lead_phone_work` (`phone_work`),
KEY `idx_leads_id_del` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `leads_audit`
--
CREATE TABLE `leads_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_leads_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `leads_cstm`
--
CREATE TABLE `leads_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `linked_documents`
--
CREATE TABLE `linked_documents` (
`id` varchar(36) NOT NULL,
`parent_id` varchar(36) DEFAULT NULL,
`parent_type` varchar(25) DEFAULT NULL,
`document_id` varchar(36) DEFAULT NULL,
`document_revision_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_parent_document` (`parent_type`,`parent_id`,`document_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `meetings`
--
CREATE TABLE `meetings` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`location` varchar(50) DEFAULT NULL,
`password` varchar(50) DEFAULT NULL,
`join_url` varchar(200) DEFAULT NULL,
`host_url` varchar(400) DEFAULT NULL,
`displayed_url` varchar(400) DEFAULT NULL,
`creator` varchar(50) DEFAULT NULL,
`external_id` varchar(50) DEFAULT NULL,
`duration_hours` int(3) DEFAULT NULL,
`duration_minutes` int(2) DEFAULT NULL,
`date_start` datetime DEFAULT NULL,
`date_end` datetime DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Planned',
`type` varchar(255) DEFAULT 'Sugar',
`parent_id` char(36) DEFAULT NULL,
`reminder_time` int(11) DEFAULT '-1',
`email_reminder_time` int(11) DEFAULT '-1',
`email_reminder_sent` tinyint(1) DEFAULT '0',
`outlook_id` varchar(255) DEFAULT NULL,
`sequence` int(11) DEFAULT '0',
`repeat_type` varchar(36) DEFAULT NULL,
`repeat_interval` int(3) DEFAULT '1',
`repeat_dow` varchar(7) DEFAULT NULL,
`repeat_until` date DEFAULT NULL,
`repeat_count` int(7) DEFAULT NULL,
`repeat_parent_id` char(36) DEFAULT NULL,
`recurring_source` varchar(36) DEFAULT NULL,
`gsync_id` varchar(1024) DEFAULT NULL,
`gsync_lastsync` int(11) 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=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_contacts`
--
CREATE TABLE `meetings_contacts` (
`id` varchar(36) NOT NULL,
`meeting_id` varchar(36) DEFAULT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_mtg_mtg` (`meeting_id`),
KEY `idx_con_mtg_con` (`contact_id`),
KEY `idx_meeting_contact` (`meeting_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_cstm`
--
CREATE TABLE `meetings_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_leads`
--
CREATE TABLE `meetings_leads` (
`id` varchar(36) NOT NULL,
`meeting_id` varchar(36) DEFAULT NULL,
`lead_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_lead_meeting_meeting` (`meeting_id`),
KEY `idx_lead_meeting_lead` (`lead_id`),
KEY `idx_meeting_lead` (`meeting_id`,`lead_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `meetings_users`
--
CREATE TABLE `meetings_users` (
`id` varchar(36) NOT NULL,
`meeting_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`required` varchar(1) DEFAULT '1',
`accept_status` varchar(25) DEFAULT 'none',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_usr_mtg_mtg` (`meeting_id`),
KEY `idx_usr_mtg_usr` (`user_id`),
KEY `idx_meeting_users` (`meeting_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `notes`
--
CREATE TABLE `notes` (
`assigned_user_id` char(36) DEFAULT NULL,
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`file_mime_type` varchar(100) DEFAULT NULL,
`filename` varchar(255) DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`portal_flag` tinyint(1) DEFAULT NULL,
`embed_flag` tinyint(1) DEFAULT '0',
`description` text,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_note_name` (`name`),
KEY `idx_notes_parent` (`parent_id`,`parent_type`),
KEY `idx_note_contact` (`contact_id`),
KEY `idx_notes_assigned_del` (`deleted`,`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `oauth2clients`
--
CREATE TABLE `oauth2clients` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`secret` varchar(4000) DEFAULT NULL,
`redirect_url` varchar(255) DEFAULT NULL,
`is_confidential` tinyint(1) DEFAULT '1',
`allowed_grant_type` varchar(255) DEFAULT 'password',
`duration_value` int(11) DEFAULT NULL,
`duration_amount` int(11) DEFAULT NULL,
`duration_unit` varchar(255) DEFAULT 'Duration Unit',
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `oauth2tokens`
--
CREATE TABLE `oauth2tokens` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`token_is_revoked` tinyint(1) DEFAULT NULL,
`token_type` varchar(255) DEFAULT NULL,
`access_token_expires` datetime DEFAULT NULL,
`access_token` varchar(4000) DEFAULT NULL,
`refresh_token` varchar(4000) DEFAULT NULL,
`refresh_token_expires` datetime DEFAULT NULL,
`grant_type` varchar(255) DEFAULT NULL,
`state` varchar(1024) DEFAULT NULL,
`client` char(36) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `oauth_consumer`
--
CREATE TABLE `oauth_consumer` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`c_key` varchar(255) DEFAULT NULL,
`c_secret` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `ckey` (`c_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `oauth_nonce`
--
CREATE TABLE `oauth_nonce` (
`conskey` varchar(32) NOT NULL,
`nonce` varchar(32) NOT NULL,
`nonce_ts` bigint(20) DEFAULT NULL,
PRIMARY KEY (`conskey`,`nonce`),
KEY `oauth_nonce_keyts` (`conskey`,`nonce_ts`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `oauth_tokens`
--
CREATE TABLE `oauth_tokens` (
`id` char(36) NOT NULL,
`secret` varchar(32) DEFAULT NULL,
`tstate` varchar(1) DEFAULT NULL,
`consumer` char(36) NOT NULL,
`token_ts` bigint(20) DEFAULT NULL,
`verify` varchar(32) DEFAULT NULL,
`deleted` tinyint(1) NOT NULL DEFAULT '0',
`callback_url` varchar(255) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`,`deleted`),
KEY `oauth_state_ts` (`tstate`,`token_ts`),
KEY `constoken_key` (`consumer`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities`
--
CREATE TABLE `opportunities` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`opportunity_type` varchar(255) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`lead_source` varchar(50) DEFAULT NULL,
`amount` double DEFAULT NULL,
`amount_usdollar` double DEFAULT NULL,
`currency_id` char(36) DEFAULT NULL,
`date_closed` date DEFAULT NULL,
`next_step` varchar(100) DEFAULT NULL,
`sales_stage` varchar(255) DEFAULT NULL,
`probability` double DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_opp_name` (`name`),
KEY `idx_opp_assigned` (`assigned_user_id`),
KEY `idx_opp_id_deleted` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities_audit`
--
CREATE TABLE `opportunities_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_opportunities_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities_contacts`
--
CREATE TABLE `opportunities_contacts` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
`contact_role` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_con_opp_con` (`contact_id`),
KEY `idx_con_opp_opp` (`opportunity_id`),
KEY `idx_opportunities_contacts` (`opportunity_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `opportunities_cstm`
--
CREATE TABLE `opportunities_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `outbound_email`
--
CREATE TABLE `outbound_email` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`type` varchar(15) DEFAULT 'user',
`user_id` char(36) DEFAULT NULL,
`is_personal` tinyint(1) DEFAULT '0',
`smtp_from_name` varchar(255) DEFAULT NULL,
`smtp_from_addr` varchar(255) DEFAULT NULL,
`reply_to_name` varchar(255) DEFAULT NULL,
`reply_to_addr` varchar(255) DEFAULT NULL,
`signature` text,
`mail_sendtype` varchar(8) DEFAULT 'SMTP',
`mail_smtptype` varchar(20) DEFAULT 'other',
`mail_smtpserver` varchar(100) DEFAULT NULL,
`mail_smtpport` varchar(5) DEFAULT '25',
`mail_smtpuser` varchar(100) DEFAULT NULL,
`mail_smtppass` varchar(100) DEFAULT NULL,
`mail_smtpauth_req` tinyint(1) DEFAULT '0',
`mail_smtpssl` varchar(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`auth_type` varchar(255) DEFAULT 'no_auth',
`external_oauth_connection_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `outbound_email`
--
INSERT INTO `outbound_email` VALUES
('e69abd71-7148-4f44-89da-9a5c3113467d', 'system', 'system', '1', 0, NULL, NULL, NULL, NULL, NULL, 'SMTP', 'other', '', '25', '', '', 1, '0', NULL, NULL, NULL, NULL, 0, NULL, 'no_auth', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `outbound_email_audit`
--
CREATE TABLE `outbound_email_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_outbound_email_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `private_documents_media_objects`
--
CREATE TABLE `private_documents_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int(11) DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `private_images_media_objects`
--
CREATE TABLE `private_images_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int(11) DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `project`
--
CREATE TABLE `project` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`estimated_start_date` date DEFAULT NULL,
`estimated_end_date` date DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`priority` varchar(255) DEFAULT NULL,
`override_business_hours` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `projects_accounts`
--
CREATE TABLE `projects_accounts` (
`id` varchar(36) NOT NULL,
`account_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_acct_proj` (`project_id`),
KEY `idx_proj_acct_acct` (`account_id`),
KEY `projects_accounts_alt` (`project_id`,`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `projects_bugs`
--
CREATE TABLE `projects_bugs` (
`id` varchar(36) NOT NULL,
`bug_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_bug_proj` (`project_id`),
KEY `idx_proj_bug_bug` (`bug_id`),
KEY `projects_bugs_alt` (`project_id`,`bug_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `projects_cases`
--
CREATE TABLE `projects_cases` (
`id` varchar(36) NOT NULL,
`case_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_case_proj` (`project_id`),
KEY `idx_proj_case_case` (`case_id`),
KEY `projects_cases_alt` (`project_id`,`case_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `projects_contacts`
--
CREATE TABLE `projects_contacts` (
`id` varchar(36) NOT NULL,
`contact_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_con_proj` (`project_id`),
KEY `idx_proj_con_con` (`contact_id`),
KEY `projects_contacts_alt` (`project_id`,`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `projects_opportunities`
--
CREATE TABLE `projects_opportunities` (
`id` varchar(36) NOT NULL,
`opportunity_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_opp_proj` (`project_id`),
KEY `idx_proj_opp_opp` (`opportunity_id`),
KEY `projects_opportunities_alt` (`project_id`,`opportunity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `projects_products`
--
CREATE TABLE `projects_products` (
`id` varchar(36) NOT NULL,
`product_id` varchar(36) DEFAULT NULL,
`project_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_proj_prod_project` (`project_id`),
KEY `idx_proj_prod_product` (`product_id`),
KEY `projects_products_alt` (`project_id`,`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `project_contacts_1_c`
--
CREATE TABLE `project_contacts_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`project_contacts_1project_ida` varchar(36) DEFAULT NULL,
`project_contacts_1contacts_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `project_contacts_1_alt` (`project_contacts_1project_ida`,`project_contacts_1contacts_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `project_cstm`
--
CREATE TABLE `project_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `project_task`
--
CREATE TABLE `project_task` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`project_id` char(36) NOT NULL,
`project_task_id` int(11) DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`relationship_type` varchar(255) DEFAULT NULL,
`description` text,
`predecessors` text,
`date_start` date DEFAULT NULL,
`time_start` int(11) DEFAULT NULL,
`time_finish` int(11) DEFAULT NULL,
`date_finish` date DEFAULT NULL,
`duration` int(11) DEFAULT NULL,
`duration_unit` text,
`actual_duration` int(11) DEFAULT NULL,
`percent_complete` int(11) DEFAULT NULL,
`date_due` date DEFAULT NULL,
`time_due` time DEFAULT NULL,
`parent_task_id` int(11) DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`priority` varchar(255) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`milestone_flag` tinyint(1) DEFAULT NULL,
`order_number` int(11) DEFAULT '1',
`task_number` int(11) DEFAULT NULL,
`estimated_effort` int(11) DEFAULT NULL,
`actual_effort` int(11) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`utilization` int(11) DEFAULT '100',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `project_task_audit`
--
CREATE TABLE `project_task_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_project_task_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `project_users_1_c`
--
CREATE TABLE `project_users_1_c` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`project_users_1project_ida` varchar(36) DEFAULT NULL,
`project_users_1users_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `project_users_1_alt` (`project_users_1project_ida`,`project_users_1users_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `prospects`
--
CREATE TABLE `prospects` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`salutation` varchar(255) DEFAULT NULL,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`title` varchar(100) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(255) DEFAULT NULL,
`do_not_call` tinyint(1) DEFAULT '0',
`phone_home` varchar(100) DEFAULT NULL,
`phone_mobile` varchar(100) DEFAULT NULL,
`phone_work` varchar(100) DEFAULT NULL,
`phone_other` varchar(100) DEFAULT NULL,
`phone_fax` varchar(100) DEFAULT NULL,
`lawful_basis` text,
`date_reviewed` date DEFAULT NULL,
`lawful_basis_source` varchar(100) DEFAULT NULL,
`primary_address_street` varchar(150) DEFAULT NULL,
`primary_address_city` varchar(100) DEFAULT NULL,
`primary_address_state` varchar(100) DEFAULT NULL,
`primary_address_postalcode` varchar(20) DEFAULT NULL,
`primary_address_country` varchar(255) DEFAULT NULL,
`alt_address_street` varchar(150) DEFAULT NULL,
`alt_address_city` varchar(100) DEFAULT NULL,
`alt_address_state` varchar(100) DEFAULT NULL,
`alt_address_postalcode` varchar(20) DEFAULT NULL,
`alt_address_country` varchar(255) DEFAULT NULL,
`assistant` varchar(75) DEFAULT NULL,
`assistant_phone` varchar(100) DEFAULT NULL,
`tracker_key` int(11) NOT NULL AUTO_INCREMENT,
`birthdate` date DEFAULT NULL,
`lead_id` char(36) DEFAULT NULL,
`account_name` varchar(150) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `prospect_auto_tracker_key` (`tracker_key`),
KEY `idx_prospects_last_first` (`last_name`,`first_name`,`deleted`),
KEY `idx_prospecs_del_last` (`last_name`,`deleted`),
KEY `idx_prospects_id_del` (`id`,`deleted`),
KEY `idx_prospects_assigned` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `prospects_cstm`
--
CREATE TABLE `prospects_cstm` (
`id_c` char(36) NOT NULL,
`jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000',
`jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000',
`jjwg_maps_geocode_status_c` varchar(255) DEFAULT NULL,
`jjwg_maps_address_c` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id_c`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `prospect_lists`
--
CREATE TABLE `prospect_lists` (
`assigned_user_id` char(36) DEFAULT NULL,
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`list_type` varchar(100) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`description` text,
`domain_name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_prospect_list_name` (`name`),
KEY `idx_list_type` (`list_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `prospect_lists_prospects`
--
CREATE TABLE `prospect_lists_prospects` (
`id` varchar(36) NOT NULL,
`prospect_list_id` varchar(36) DEFAULT NULL,
`related_id` varchar(36) DEFAULT NULL,
`related_type` varchar(25) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_plp_pro_id` (`prospect_list_id`,`deleted`),
KEY `idx_plp_rel_id` (`related_id`,`related_type`,`prospect_list_id`),
KEY `idx_related` (`related_id`,`related_type`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `prospect_list_campaigns`
--
CREATE TABLE `prospect_list_campaigns` (
`id` varchar(36) NOT NULL,
`prospect_list_id` varchar(36) DEFAULT NULL,
`campaign_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_pro_id` (`prospect_list_id`),
KEY `idx_cam_id` (`campaign_id`),
KEY `idx_prospect_list_campaigns` (`prospect_list_id`,`campaign_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `public_documents_media_objects`
--
CREATE TABLE `public_documents_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int(11) DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `public_images_media_objects`
--
CREATE TABLE `public_images_media_objects` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`file_path` varchar(255) DEFAULT NULL,
`size` int(11) DEFAULT NULL,
`mime_type` varchar(255) DEFAULT NULL,
`original_name` varchar(255) DEFAULT NULL,
`dimensions` varchar(50) DEFAULT NULL,
`parent_type` varchar(100) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`parent_field` varchar(100) DEFAULT NULL,
`temporary` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `relationships`
--
CREATE TABLE `relationships` (
`id` char(36) NOT NULL,
`relationship_name` varchar(150) DEFAULT NULL,
`lhs_module` varchar(100) DEFAULT NULL,
`lhs_table` varchar(64) DEFAULT NULL,
`lhs_key` varchar(64) DEFAULT NULL,
`rhs_module` varchar(100) DEFAULT NULL,
`rhs_table` varchar(64) DEFAULT NULL,
`rhs_key` varchar(64) DEFAULT NULL,
`join_table` varchar(64) DEFAULT NULL,
`join_key_lhs` varchar(64) DEFAULT NULL,
`join_key_rhs` varchar(64) DEFAULT NULL,
`relationship_type` varchar(64) DEFAULT NULL,
`relationship_role_column` varchar(64) DEFAULT NULL,
`relationship_role_column_value` varchar(50) DEFAULT NULL,
`reverse` tinyint(1) DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_rel_name` (`relationship_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `relationships`
--
INSERT INTO `relationships` VALUES
('001c11e9-ca87-4b54-9488-b4159d523cae', 'lead_notes', 'Leads', 'leads', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('00744951-31e4-43a1-849d-f889b5d89c18', 'email_marketing_survey', 'Surveys', 'surveys', 'id', 'EmailMarketing', 'email_marketing', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('010563cc-b7ac-41c5-8c79-f6d40781aedb', 'externaloauthprovider_created_by', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('01b854ab-3700-44f3-8b1a-94fbb5cd07a2', 'member_accounts', 'Accounts', 'accounts', 'id', 'Accounts', 'accounts', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('025ce784-d817-4555-84c7-07f1bdbd1233', 'surveys_surveyquestions', 'Surveys', 'surveys', 'id', 'SurveyQuestions', 'surveyquestions', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('02856c49-82cf-4e99-8dee-3aab5c273060', 'securitygroups_assigned_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0310ed49-9754-4231-bdcd-5bcf106a1713', 'favorites_created_by', 'Users', 'users', 'id', 'Favorites', 'favorites', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('03685860-0f61-4d93-9e81-a045d104f17f', 'calls_reschedule', 'Calls', 'calls', 'id', 'Calls_Reschedule', 'calls_reschedule', 'call_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('03f0eac1-7b2a-412e-97aa-fcfe605a3514', '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),
('042e320f-998d-4b0c-b201-81cca7eb1de1', 'securitygroups_opportunities', 'SecurityGroups', 'securitygroups', 'id', 'Opportunities', 'opportunities', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Opportunities', 0, 0),
('046d7706-79eb-4ad7-ba78-6e44775dc520', 'securitygroups_created_by', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('04b0b6c2-6aed-48e5-8237-a1324ef7d839', 'prospect_calls', 'Prospects', 'prospects', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('04c6e460-2d2d-458a-8f29-6c1ac2577125', '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),
('050832f6-4700-46a7-bec7-709a6989557d', 'schedulers_created_by_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('0535d1fd-5d2e-4f77-843f-96880e44a7ea', 'reminders_modified_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('056982f4-8c95-47ee-9649-611eabbc7149', 'jjwg_markers_modified_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0595b79a-8621-489d-8a05-87e531ab051f', 'opportunity_aos_quotes', 'Opportunities', 'opportunities', 'id', 'AOS_Quotes', 'aos_quotes', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('06a35fe0-3617-418d-ad6c-f1e538341617', 'bug_notes', 'Bugs', 'bugs', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('07c7f55f-abf5-4d52-b2a8-25a98745b465', 'aow_workflow_modified_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('07e59b80-3c74-4518-a38c-d46df72cc839', 'aow_conditions_modified_user', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('080c4df8-cfb8-4ee5-bead-367c5ce27441', 'accounts_contacts', 'Accounts', 'accounts', 'id', 'Contacts', 'contacts', 'id', 'accounts_contacts', 'account_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('08b88ff0-6500-44af-9bf8-f4c4c712f69b', '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),
('08d507db-3008-4f0b-9011-bb50610a81f7', 'bugs_assigned_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0a138628-0584-44bb-a74e-8dd3c4dfb505', 'fp_events_modified_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0a43b456-6061-4982-bbf0-4c941f26a963', 'aow_conditions_created_by', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0a486ba6-37a4-45c3-8994-994297e4ba40', 'contacts_bugs', 'Contacts', 'contacts', 'id', 'Bugs', 'bugs', 'id', 'contacts_bugs', 'contact_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('0b1543d4-8002-45c3-8381-c6bd81f1580e', 'case_meetings', 'Cases', 'cases', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('0b362b19-d2d6-46da-a8da-bed5acf8aa14', 'emails_accounts_rel', 'Emails', 'emails', 'id', 'Accounts', 'accounts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Accounts', 0, 0),
('0b6e2502-42d8-42bb-95ae-65179f78fe5d', 'case_calls', 'Cases', 'cases', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('0ca93bdb-1c18-4fea-82d4-88cbaff77fab', 'surveyquestionoptions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0d6483e8-47d3-467d-b788-19215406ebe4', 'securitygroups_acl_roles', 'SecurityGroups', 'securitygroups', 'id', 'ACLRoles', 'acl_roles', 'id', 'securitygroups_acl_roles', 'securitygroup_id', 'role_id', 'many-to-many', NULL, NULL, 0, 0),
('0e306ad7-91c4-4495-83a9-9878116b14cf', 'contacts_cases', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'id', 'contacts_cases', 'contact_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('0e7d4acd-c30c-45d5-8118-a37dbf9e11c2', '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),
('0eaf2c3c-68c0-4284-87bf-6376fdf7fa7c', '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),
('0eb0e68b-0ee2-4685-9535-98294c85d76d', 'outbound_email_owner_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0eca4362-d74e-43ab-a2cf-b86a289708e2', '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),
('0ee3d6ef-bc06-4606-94d4-308b3f479c8a', 'prospects_modified_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0efc0c89-5321-4eba-b1a7-c558e09c8430', 'project_tasks_meetings', 'ProjectTask', 'project_task', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('0f21d0b3-8fb4-4a0a-a23d-8b1197d312ad', 'lead_tasks', 'Leads', 'leads', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('0fd940e8-9dd4-4c4b-82ea-73c03180939e', '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),
('118af00e-ac7f-4513-b788-2993ae1f45de', 'documents_accounts', 'Documents', 'documents', 'id', 'Accounts', 'accounts', 'id', 'documents_accounts', 'document_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('11b72751-88fe-4a94-89fc-bbe5cf3c805c', 'aos_quotes_assigned_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('11cef44a-b519-40bf-8f8d-fcdf4eba046c', 'aos_quotes_modified_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('13fb211e-5336-4a60-aeb9-7b62f41407f5', 'aos_products_assigned_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1453c5f1-5451-4aa5-bed4-f4ac74a04bda', 'account_meetings', 'Accounts', 'accounts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('1460f788-c57d-438c-ad9c-21f896afc3ae', 'securitygroups_surveys', 'SecurityGroups', 'securitygroups', 'id', 'Surveys', 'surveys', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Surveys', 0, 0),
('1617b92c-4cd6-463b-8515-79cfefe0e539', '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),
('1634bd0d-94b2-44ac-acdf-5d2a0b60c3a9', 'project_tasks_modified_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('166174c0-9115-4f8b-96d1-e843504a50d7', '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),
('16848740-d5ba-45e8-b969-f53d25dc0318', '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),
('168b9b89-f32c-485d-b8ec-f023de31f77e', 'email_marketing_campaignlog', 'EmailMarketing', 'email_marketing', 'id', 'CampaignLog', 'campaign_log', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('16c383de-8644-49ba-a76d-8f3e3c372431', 'outbound_email_created_by', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('16e7f031-6161-40d8-8986-a2abf315f581', 'securitygroups_modified_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('17f54989-ae96-476b-81da-0e238b51ac81', '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),
('18173310-5113-4467-b583-7d0d8cb3198a', 'securitygroups_prospectlists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('1878d987-443c-46a2-a0df-1ee3f389425b', 'securitygroups_emailmarketing', 'SecurityGroups', 'securitygroups', 'id', 'EmailMarketing', 'email_marketing', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailMarketing', 0, 0),
('191aa4f2-8fe0-43c6-af0c-dd44644947f6', 'cases_modified_user', 'Users', 'users', 'id', 'Cases', 'cases', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1a090a47-95d0-41fd-b857-d347dd672da6', 'project_tasks_assigned_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1b5eb8ec-2bac-4ec2-9828-6df816b4d304', 'securitygroups_meetings', 'SecurityGroups', 'securitygroups', 'id', 'Meetings', 'meetings', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Meetings', 0, 0),
('1b8ffbb9-d761-4463-82b3-15e06f242397', 'aos_products_created_by', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1c2aa951-8ddc-4b35-bb46-dfa9de96d8e0', 'surveyquestionresponses_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1c39b9ab-bd4d-441b-aae6-dd445a60a373', 'campaign_leads', 'Campaigns', 'campaigns', 'id', 'Leads', 'leads', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1c9396d4-91d1-4d52-97f1-64b43d83300a', '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),
('1d15e0d9-06fe-482d-ad5e-431d3224fdec', '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),
('1d9cddf7-5be1-4ddb-818c-a278962dbf68', 'calls_leads', 'Calls', 'calls', 'id', 'Leads', 'leads', 'id', 'calls_leads', 'call_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('1e864adf-7d3c-4cf2-ae8b-afe120eb4863', '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),
('1ef747c9-4902-4699-8cee-1b06b516b6c7', 'mediaobjects_assigned_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1f083fc2-e8de-4700-a1f3-2b763ce0b489', 'calls_modified_user', 'Users', 'users', 'id', 'Calls', 'calls', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1f28fb60-5e1e-4bcd-a83c-42f33dbcf587', 'lead_campaign_log', 'Leads', 'leads', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Leads', 0, 0),
('1faaa19f-ba36-4fcd-9b27-e50f2e82ac74', '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),
('204b0a73-da01-4d0f-b0b4-45fb109bd118', 'projects_assigned_user', 'Users', 'users', 'id', 'Project', 'project', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2148a8c6-94a6-47cd-8c40-328fe89ccc98', 'surveyquestionresponses_created_by', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2186a482-4122-457b-8af6-f729bce6a79a', '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),
('227869dc-65e6-4e6a-b09f-5b1548b8a9db', 'aor_conditions_modified_user', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('23e42436-a04f-42bb-9fe9-a041da0596fd', 'templatesectionline_modified_user', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('24ad440f-bcb3-4125-8512-bd6beadd7952', 'accounts_opportunities', 'Accounts', 'accounts', 'id', 'Opportunities', 'opportunities', 'id', 'accounts_opportunities', 'account_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('24d52c42-442d-4699-8cbd-294bae10b99e', 'aok_knowledgebase_assigned_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2594a90c-911d-44dc-83e2-ee3c41be6782', 'meetings_assigned_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2618fe44-ac0e-45c5-a467-c96c2eecb8a7', 'tasks_modified_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('274ea525-80dc-45c9-9fb7-efb753bce434', '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),
('279d36e2-c90e-4b15-a63f-f5044512239d', '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),
('27b13098-b0dd-433e-b8fd-b7bd0a95a185', '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),
('27f5beaf-facb-40cd-b801-9e1a2951ea41', '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),
('282b7791-c62e-40eb-9b7a-ea240fd9e732', 'aow_workflow_assigned_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2990e3bb-114f-4695-a3be-65d4792308c1', 'sugarfeed_assigned_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2a4e12ee-2213-4368-b2cc-e7557fb3a4e5', 'bug_tasks', 'Bugs', 'bugs', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('2ae250df-96c4-4c40-b132-d47670cadfb0', 'securitygroups_surveyquestionresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionResponses', 0, 0),
('2b4e9162-c355-49d7-b515-fb7f5410563c', 'aobh_businesshours_modified_user', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2c99257c-294a-4cf5-bb83-b8c1557a23f3', 'bug_calls', 'Bugs', 'bugs', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('2ee673e8-0e53-4087-b2b4-0d00bdeb8739', 'contacts_modified_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2f06a2be-de9b-4654-abe8-610d3bcd1a36', '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),
('3071eb9f-2ffd-4526-94bc-cc8179214df3', 'accounts_bugs', 'Accounts', 'accounts', 'id', 'Bugs', 'bugs', 'id', 'accounts_bugs', 'account_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('31984dd0-a121-4c4a-9ee3-21eb20eb2da9', 'opportunity_emails', 'Opportunities', 'opportunities', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('32dddd71-b66f-43ab-9be8-9fd3deffc412', 'oauthkeys_created_by', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('335d3272-aa20-41cf-8fa5-892b05b15a4f', '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),
('3362d48a-fa78-4613-9a7b-738a999e5f99', 'aos_invoices_created_by', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('33d7d090-2858-4412-ab90-86a5a892375c', 'projects_meetings', 'Project', 'project', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('34218df9-de74-428f-9a7e-aeec4a68a553', '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),
('34950767-fbfa-4f3f-b844-8066b904215f', 'contact_tasks_parent', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('3550b45b-6718-4046-8537-6906c76aebc1', 'contact_direct_reports', 'Contacts', 'contacts', 'id', 'Contacts', 'contacts', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('35fe266f-c133-4e73-a5b7-4715d4969fdc', 'project_tasks_created_by', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('362704a9-8c1e-47cc-903e-2884b026edae', '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),
('36608193-fe30-42a3-8074-bc287b7428c9', 'outbound_email_assigned_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3662e0c6-92d9-40c3-bbc2-c5df3dadecf7', 'acl_roles_users', 'ACLRoles', 'acl_roles', 'id', 'Users', 'users', 'id', 'acl_roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('3731553c-0595-4a07-8eef-83c5c57e27e0', 'surveys_assigned_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('37d6f544-98f4-45f9-996a-e27af3dbf1c6', 'opportunity_notes', 'Opportunities', 'opportunities', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('37eeaa21-8e02-4c5f-a9a5-c687b45d0cde', 'campaign_notes', 'Campaigns', 'campaigns', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Campaigns', 0, 0),
('38da34f0-7671-46b9-ab45-939f9a42e8e8', 'aos_contracts_assigned_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3a84c254-6af6-4edf-8864-e713a05a72f5', 'contact_aos_contracts', 'Contacts', 'contacts', 'id', 'AOS_Contracts', 'aos_contracts', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3b6a3cd9-ab54-4bc1-9618-68e9d85c3a01', 'oauth2clients_created_by', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3b97a786-350e-472d-abf2-981e3ae30b8f', 'emails_modified_user', 'Users', 'users', 'id', 'Emails', 'emails', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3c0bcf78-25d0-4b57-8c0a-b5f1aa151efd', 'revisions_created_by', 'Users', 'users', 'id', 'DocumentRevisions', 'document_revisions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3c80a3f6-b7a0-4bd8-9b21-01bfcb969fb2', 'prospect_campaign_log', 'Prospects', 'prospects', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Prospects', 0, 0),
('3c95ba63-b18f-4594-8b3d-b10eb5d60c18', 'securitygroups_campaigns', 'SecurityGroups', 'securitygroups', 'id', 'Campaigns', 'campaigns', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Campaigns', 0, 0),
('3ca90635-3804-4a1e-8d32-077a7a1f1b26', 'securitygroups_bugs', 'SecurityGroups', 'securitygroups', 'id', 'Bugs', 'bugs', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Bugs', 0, 0),
('3caa80fd-aff9-46c8-93a5-9db5e35a550d', 'accounts_created_by', 'Users', 'users', 'id', 'Accounts', 'accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3cb75040-e95f-4d36-95c8-89370bf7b442', 'jjwg_Maps_prospects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Prospects', 'prospects', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('3cd99983-02d9-475f-ae51-06d55e5f5853', '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),
('3d3dbba2-7dc5-440a-b956-9143a0a2acd1', 'oauthkeys_modified_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3d4dceb8-de32-494e-8819-97a38f24d3bf', 'am_projecttemplates_modified_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3da47a6b-2ff6-41c8-ac85-1546997cceb6', 'calls_created_by', 'Users', 'users', 'id', 'Calls', 'calls', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3dbc9d06-cfde-4b78-8a59-64807973e70d', '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),
('3df1d0ea-af92-464a-8e16-7cca502cb2d0', '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),
('3f028ceb-b1ea-4482-90e4-a1d7be51c743', 'calls_reschedule_assigned_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3f6766a6-75be-459d-947b-ac5d79d6ab5d', '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),
('3f793942-b0e4-4901-be76-fd4bafdf45ec', '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),
('3fc2d2df-53fd-4af7-87a0-d32986bbbbb0', 'project_tasks_tasks', 'ProjectTask', 'project_task', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('418a6ab4-6dc7-48e1-8074-c510ac1e125c', 'surveyquestions_surveyquestionoptions', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'survey_question_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('419e413a-ec69-4654-a755-27637bea39d6', 'aor_fields_modified_user', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('41c0e36a-5c8d-4bfd-867d-79a182f5c44d', '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),
('42008728-ab65-4581-aac5-3a05da8b1032', 'securitygroups_projecttask', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('42933afb-61d8-4d7a-9541-a1809eb7ec4d', '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),
('42dcd6dc-77c3-42a4-95eb-1b2b9c14b298', 'leads_modified_user', 'Users', 'users', 'id', 'Leads', 'leads', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('43c310ac-fc51-4427-b207-15df55b90f84', '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),
('43f8db13-4dfb-42d8-90e7-bd29a60c27dc', 'meetings_contacts', 'Meetings', 'meetings', 'id', 'Contacts', 'contacts', 'id', 'meetings_contacts', 'meeting_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('443d7572-d77e-453a-aa25-4f1d93445e5f', 'aow_processed_modified_user', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('444a3be6-d1eb-4dd7-b963-f8a3fbbcba9f', 'eapm_assigned_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4467d7bb-e446-4331-8d2a-1482ffd278b1', '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),
('4530179e-a87c-4d0d-b65e-62fef3cf0c2b', 'consumer_tokens', 'OAuthKeys', 'oauth_consumer', 'id', 'OAuthTokens', 'oauth_tokens', 'consumer', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('47453431-7a4c-40be-b487-4a4361618a20', 'oauthtokens_assigned_user', 'Users', 'users', 'id', 'OAuthTokens', 'oauth_tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('48739eef-43e8-48ea-a93a-f6c360060a50', 'inbound_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'InboundEmail', 'inbound_email', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('489b71dd-7f62-4123-b560-3551d8c3a220', '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),
('4922d436-a1f5-4c34-b31b-f2d96e865037', 'account_calls', 'Accounts', 'accounts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('49667fb2-864d-4272-8da3-297244a2d84b', 'campaigns_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('49be50fc-dc76-40fe-82a0-cc31619f8f23', 'projects_tasks', 'Project', 'project', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('49f0485b-69e9-4ca9-8c6c-75a69028158b', '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),
('4a072c64-fedc-4fe2-89e2-6427cacc3af4', 'leads_created_by', 'Users', 'users', 'id', 'Leads', 'leads', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4a983f34-a0bf-4e78-963d-127f82c87804', 'account_aos_invoices', 'Accounts', 'accounts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4b0bc3e6-a433-47a7-b81a-217458b70f0b', 'inbound_emails_distribution_user', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'distribution_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4c4b9adb-ebfc-4ace-94ff-5bddbebeda22', 'jjwg_Maps_cases', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Cases', 'cases', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('4cf5364b-3afb-46ed-8b58-81a1f35d9f2f', 'campaignlog_sent_emails', 'CampaignLog', 'campaign_log', 'related_id', 'Emails', 'emails', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4d27218d-f31e-4afd-ba86-61436b88935d', '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),
('4de09449-ad52-48c2-990f-1672876fc0ec', 'opportunities_created_by', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4e24418a-43a0-4e75-8bc8-2fb9da0ea953', 'am_tasktemplates_assigned_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4f7aa915-29f6-41f2-9a2a-989e2914e2db', 'aos_invoices_assigned_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5010d94e-6d77-45b5-97b6-2ff5aefab5bb', 'emails_leads_rel', 'Emails', 'emails', 'id', 'Leads', 'leads', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Leads', 0, 0),
('50361c56-57bd-48b7-b320-20ee02e1d309', '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),
('509ec916-2e53-47dc-acea-7b7d1963a964', 'calls_contacts', 'Calls', 'calls', 'id', 'Contacts', 'contacts', 'id', 'calls_contacts', 'call_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('50c4b635-ba7a-4fb6-b951-d4bca110d6ab', 'emails_assigned_user', 'Users', 'users', 'id', 'Emails', 'emails', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('51188954-87f8-4d60-9189-38faec954ff7', 'emails_created_by', 'Users', 'users', 'id', 'Emails', 'emails', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5119097e-7eaf-4b78-9e98-2c4bf6898ef3', 'outbound_email_accounts_email_marketing', 'OutboundEmailAccounts', 'outbound_email', 'id', 'EmailMarketing', 'email_marketing', 'outbound_email_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('51cdeaab-f2b1-4ba8-b07d-f8f450b0a556', 'jjwg_maps_assigned_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('52b73cc0-91f4-4a13-aa30-76d998ea935a', 'securitygroups_leads', 'SecurityGroups', 'securitygroups', 'id', 'Leads', 'leads', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Leads', 0, 0),
('52c15df1-5f4e-499a-9137-aa10dce32810', '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),
('52fa8bd7-4aa3-4549-b346-c23ebcd93e64', 'contact_notes', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('534aff8d-b5b2-4bfc-a431-28edf3843203', 'lead_calls', 'Leads', 'leads', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('54cf3fdd-8733-48fb-83cc-5536c4743161', 'securitygroups_tasks', 'SecurityGroups', 'securitygroups', 'id', 'Tasks', 'tasks', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Tasks', 0, 0),
('5586bcfc-6096-4885-8797-da6e9dc1ebf2', 'jjwg_areas_modified_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5632edb5-8e71-4a88-8455-4ee5436b0ec6', 'jjwg_areas_created_by', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('569b033f-700b-4668-aed6-b4807fd7a382', 'inbound_email_created_by', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('570e82f8-623e-4205-b69a-e89475b62c0e', '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),
('57d3a223-867c-4213-94dd-434dab006db6', 'calls_reschedule_created_by', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('58467191-797f-49a9-966f-53f96ed478b4', '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),
('589bc5b4-4afd-4371-aa0a-d30492452489', 'saved_search_assigned_user', 'Users', 'users', 'id', 'SavedSearch', 'saved_search', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('58c02b82-ac85-4cff-a013-265ae4de3371', 'aos_invoices_modified_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5936337c-6468-4d7e-ab71-c10ec85f1e5a', '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),
('5991ba0d-89a6-4843-ac36-90d14724e963', 'campaign_prospects', 'Campaigns', 'campaigns', 'id', 'Prospects', 'prospects', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('599bdfdc-5119-4625-90dc-10587efcc08e', 'bugs_created_by', 'Users', 'users', 'id', 'Bugs', 'bugs', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5a6cc3bf-0a60-46a8-889f-8fd3a9f80256', '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),
('5b03e2ff-3600-443f-80aa-1b668d391ab3', '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),
('5b331831-eecc-433b-9fd5-2e8eee90d46d', 'emailtemplates_assigned_user', 'Users', 'users', 'id', 'EmailTemplates', 'email_templates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5bbfdddc-cbbd-4222-85dd-808e086931eb', '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),
('5c12678b-3108-4fe8-a9ca-04a9d1d14be5', 'securitygroups_prospect_lists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('5c4e9d07-f7c1-4c1e-bd91-54fae99794d9', 'projects_created_by', 'Users', 'users', 'id', 'Project', 'project', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5c7054ae-73c7-4d66-9c09-9d1bdb0794b0', '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),
('5d7c30e2-7924-46ca-8597-1a995b14cb61', 'unified_search', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('5dc42fe5-481a-4f4f-b1ae-932c744ab289', 'documents_contacts', 'Documents', 'documents', 'id', 'Contacts', 'contacts', 'id', 'documents_contacts', 'document_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('5ec85696-7c51-413c-ae7e-7dbacfa15c23', 'opportunity_meetings', 'Opportunities', 'opportunities', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('5f0f09e2-0131-47b3-a709-c1bb0f3128d4', '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),
('5fee1007-94dd-4119-bd4e-5fc9bfa396cb', 'prospect_emails', 'Prospects', 'prospects', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('6056da1c-ea36-412b-ab61-1d93fdd63e51', 'securitygroups_project', 'SecurityGroups', 'securitygroups', 'id', 'Project', 'project', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Project', 0, 0),
('60de4dbf-1b1b-4427-bde5-2c101a38815a', '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),
('61736d58-47b4-4db0-b188-97ec68f6990f', 'surveyquestionresponses_modified_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6270c985-47fc-4fd8-b06b-fa05f87b879b', '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),
('6322d709-bd5d-44f7-a2d7-36cb34d9030a', 'sugarfeed_modified_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('634c3686-fa7d-4ec0-9ea6-8837bc0647bb', 'jjwg_maps_modified_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('649c7b96-daf2-44af-b272-9e8c4eec0a3b', 'prospects_created_by', 'Users', 'users', 'id', 'Prospects', 'prospects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('64cbd1ff-071c-4ab2-aa7f-50c88290d257', 'am_tasktemplates_created_by', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('64dcd16e-1e2f-4798-a08e-6ef3a03b7bb9', 'campaign_contacts', 'Campaigns', 'campaigns', 'id', 'Contacts', 'contacts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('64e85022-24b5-4446-977c-07c26656b62a', 'securitygroups_surveyquestions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestions', 'surveyquestions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestions', 0, 0),
('64fb87d4-5153-48c1-bf1c-761a7f2b0755', 'surveyquestionoptions_surveyquestionresponses', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'surveyquestionoptions_surveyquestionresponses', 'surveyq72c7options_ida', 'surveyq10d4sponses_idb', 'many-to-many', NULL, NULL, 0, 0),
('652d89a4-63ab-4d51-9b7f-e56769471e9f', 'cases_created_contact', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'contact_created_by_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6638a3a5-5564-492d-acf7-2572e27f9ece', 'schedulersjobs_assigned_user', 'Users', 'users', 'id', 'SchedulersJobs', 'job_queue', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('66596c10-ca79-45d4-8805-263eab3d2c3b', '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),
('6787b1f1-6ced-4225-b58c-f1cdcbe46a1e', 'calls_users', 'Calls', 'calls', 'id', 'Users', 'users', 'id', 'calls_users', 'call_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('67d33d7d-1032-453b-8f44-deed315c68fc', 'securitygroups_mediaobjects', 'SecurityGroups', 'securitygroups', 'id', 'MediaObjects', 'archived_documents_media_objects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'MediaObjects', 0, 0),
('68c38cdb-c72a-4f3d-aeaf-1186bc305479', 'projects_project_tasks', 'Project', 'project', 'id', 'ProjectTask', 'project_task', 'project_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('69680b9a-ac4f-4a18-82c0-b1170b1f7c12', 'fp_events_created_by', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('69a92073-4969-410a-bb3f-8d3ecd3ce297', 'campaignlog_targeted_users', 'CampaignLog', 'campaign_log', 'target_id', 'Users', 'users', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('69aedcfa-dfb0-4bb5-adbd-2c78cd19bd3b', 'case_tasks', 'Cases', 'cases', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('69fc0243-954f-41ef-b920-1ff65aef4ffb', 'jjwg_Maps_contacts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('6a60c0e1-2542-46a9-ab57-ba239bf3c8a2', 'document_revisions', 'Documents', 'documents', 'id', 'DocumentRevisions', 'document_revisions', 'document_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6a652609-d15a-40d3-bda1-5f471b2f125f', '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),
('6b15c87d-4920-440e-bf7a-5bd6bc7a643f', 'securitygroups_surveyquestionoptions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionOptions', 0, 0),
('6b176288-f212-4e19-8a87-7fca48f700e7', 'aobh_businesshours_created_by', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6b645d7c-0ba6-47c5-b70a-23b916d9c6c3', '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),
('6c50df28-cd5a-4fa0-997d-14f72596d611', 'externaloauthconnection_created_by', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6c9ca6d3-abd9-4973-93ea-65b028d18908', 'securitygroups_users', 'SecurityGroups', 'securitygroups', 'id', 'Users', 'users', 'id', 'securitygroups_users', 'securitygroup_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('6d6d4f1d-26f4-4f63-865c-a0bd5d084339', 'leads_assigned_user', 'Users', 'users', 'id', 'Leads', 'leads', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6dd8f104-5ce0-4a0f-8311-58ab3c0115dd', 'campaign_accounts', 'Campaigns', 'campaigns', 'id', 'Accounts', 'accounts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6ee6e1c4-918e-4654-afb4-53f8d8c4e7b6', 'campaigns_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6f28f383-2ecf-4f4a-89dc-dca062ec0bce', 'account_notes', 'Accounts', 'accounts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('7010717f-1cbe-48e9-b71e-36a3eda2c5fc', 'email_marketing_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'EmailMarketing', 'email_marketing', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('70627097-2773-4ce9-b991-ebc0679a44c0', 'account_emails', 'Accounts', 'accounts', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('70e40dc6-8822-406e-875e-4515a58f33d4', 'surveys_modified_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('71605f54-d960-49cd-8088-7ffcf453d41e', '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),
('71b5a5b4-00a0-4d9d-b38c-56b87a474b06', 'projects_opportunities', 'Project', 'project', 'id', 'Opportunities', 'opportunities', 'id', 'projects_opportunities', 'project_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('721254b0-f60c-4303-a96c-11ce4d5bfbb5', 'campaign_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('722ef8f3-6960-4fb6-b1d8-b0af473f1dc9', 'campaigns_created_by', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('726556db-f42b-4c3f-a692-32f7dfd923d1', 'aos_products_modified_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('74735510-d97f-4515-a770-cff08a3cc70a', 'surveyresponses_created_by', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('75a8355f-4399-4acb-9221-a8437f0b8717', 'accounts_assigned_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('75e225d6-b776-4cbd-9c1f-5007386c1bb3', 'contacts_users', 'Contacts', 'contacts', 'id', 'Users', 'users', 'id', 'contacts_users', 'contact_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('77b40b4f-c3f2-4e02-b90a-a3ef3f9f3fa2', 'oauth2clients_oauth2tokens', 'OAuth2Clients', 'oauth2clients', 'id', 'OAuth2Tokens', 'oauth2tokens', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('77b885cf-f2a2-4411-be61-1367b9fb520e', 'meetings_notes', 'Meetings', 'meetings', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('782a6a06-49a5-4885-920c-f210d8bec826', 'am_projecttemplates_assigned_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7860504e-f1b0-4e1e-993e-d5bb1c9f54a9', '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),
('7965b6ec-3efb-4ee1-9d5e-a06f72b1ef4a', 'email_marketing_emailman', 'EmailMarketing', 'email_marketing', 'id', 'EmailMan', 'emailman', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7a8417dc-f588-4233-ab80-cc75df04bea1', 'oauthkeys_assigned_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0);
INSERT INTO `relationships` VALUES
('7ac449b1-b178-46f0-93c9-f2f806a7d894', 'campaignlog_lead', 'CampaignLog', 'campaign_log', 'related_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7aed926a-249b-4884-b931-5d9ea1608c27', 'aor_conditions_created_by', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7b423c9e-3a48-4e75-b05f-b986907399db', '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),
('7c0d5879-089a-4697-8623-ccc5acad17d8', 'securitygroups_documents', 'SecurityGroups', 'securitygroups', 'id', 'Documents', 'documents', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Documents', 0, 0),
('7c522698-a64d-4565-917b-4079f593fae9', 'jjwg_markers_assigned_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7d29deb4-66c5-41d2-bd0b-708838097c3d', 'opportunity_calls', 'Opportunities', 'opportunities', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('7d5426fe-9147-4b5a-b3c1-58f23c452c10', '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),
('7e3608be-3699-4e85-ba8b-bc3dfc3a4309', 'securitygroups_contacts', 'SecurityGroups', 'securitygroups', 'id', 'Contacts', 'contacts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Contacts', 0, 0),
('80597fad-a565-42c1-9ba0-dbd79c34a5a7', 'campaign_campaignlog', 'Campaigns', 'campaigns', 'id', 'CampaignLog', 'campaign_log', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('80b6cb21-29fc-4b7e-8aaf-ca97fdc93008', 'alerts_modified_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8108262a-d42f-40e0-a731-c31da7e29efb', 'contact_aos_quotes', 'Contacts', 'contacts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8170abf4-833a-4c14-8b74-bec64e418b04', '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),
('81e9c1bd-f27f-42d3-aaa6-cddf1d3ebc10', 'surveyquestions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('82039103-21b2-4020-b057-5613838c5d1d', '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),
('826be0dd-d105-43dc-8d10-4d1f4f6f3d74', 'emails_projects_rel', 'Emails', 'emails', 'id', 'Project', 'project', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Project', 0, 0),
('829f4e99-32ff-448e-9a2c-cf16b16819da', 'aok_knowledgebase_created_by', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('844cac0e-4bf9-4098-96ec-4990df579752', 'leads_documents', 'Leads', 'leads', 'id', 'Documents', 'documents', 'id', 'linked_documents', 'parent_id', 'document_id', 'many-to-many', 'parent_type', 'Leads', 0, 0),
('8576198b-14c0-486a-9d4f-2959904b209f', 'aor_fields_created_by', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('85f4df8a-cec2-461b-b245-ccdeb6d1bc49', '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),
('85ffccb8-1051-4f2c-9905-220b2962cf47', '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),
('863c7171-21f9-4f7c-a87d-c53c0714b86d', 'notes_assigned_user', 'Users', 'users', 'id', 'Notes', 'notes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('866ecdb7-f111-4a63-8060-8827702c0f47', '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),
('86bc5d2b-847f-43f3-9eae-6c9643ee87f5', 'oauth2clients_assigned_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('872e266d-552d-485d-99b9-4a1951a9f5d4', '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),
('87749163-36ed-487e-99b0-79c6520cdc7a', 'aor_reports_created_by', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('87bfc031-fff5-4deb-98ee-224ced0fb376', 'account_cases', 'Accounts', 'accounts', 'id', 'Cases', 'cases', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8871b242-fd27-4e8e-aea7-f9e46a98edc1', 'projects_notes', 'Project', 'project', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('88c6649d-8f9d-4a97-8d16-1a6bd80dd3ac', 'securitygroups_inboundemail', 'SecurityGroups', 'securitygroups', 'id', 'InboundEmail', 'inbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'InboundEmail', 0, 0),
('88c71784-fa48-453a-9434-4dd872618bd0', 'case_emails', 'Cases', 'cases', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('8957ba18-f37e-4fc8-9ed4-038fc4b628a8', '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),
('8973d9f1-fed3-4826-b2f0-2be2648f0632', 'bug_emails', 'Bugs', 'bugs', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('89b31950-69c8-4fa2-9c44-a09bfea6c40f', 'emailman_assigned_user', 'Users', 'users', 'id', 'Emailman', 'emailman', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8a4b7f61-7d6d-4915-8135-fd5e76166259', 'aor_reports_assigned_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8b108ec5-ea64-4ae2-8f3b-e93174a178d4', 'eapm_modified_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8d11f00e-b1ca-4083-9be7-d7f1b79cef91', 'projects_emails', 'Project', 'project', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('8d3bb5c0-9b8c-474a-aeec-c5e7e84138f2', '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),
('8d69f3b1-682f-4374-acf3-3e140e5b4e30', 'aor_charts_created_by', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8d7c0135-5f31-441a-9163-bfa73c4b3560', 'contact_campaign_log', 'Contacts', 'contacts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Contacts', 0, 0),
('8d8a872b-d235-4bc7-8a2a-3cd5421af92c', 'opportunities_campaign', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8ec530ce-4f48-43f4-963d-625dd63bdf23', 'notes_created_by', 'Users', 'users', 'id', 'Notes', 'notes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8f46923f-6ccd-4d38-a5e3-2e23e4bdc799', 'calls_notes', 'Calls', 'calls', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Calls', 0, 0),
('8fca503a-ffcb-462a-a23f-8b5d75d54aec', 'securitygroups_calls', 'SecurityGroups', 'securitygroups', 'id', 'Calls', 'calls', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Calls', 0, 0),
('8fdb9c6c-d046-4d0d-a7a2-4c080893ee5c', 'oauth2tokens_created_by', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('90cb3126-a2b2-43d4-9657-791e8acab62e', 'projects_accounts', 'Project', 'project', 'id', 'Accounts', 'accounts', 'id', 'projects_accounts', 'project_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('91d01266-c551-4ff8-97f8-fc244abab1fe', 'surveyquestions_created_by', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9301065f-6317-4315-a3d2-a3c369434bde', '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),
('93aaea1f-7721-4316-897b-7f38029f27b1', 'securitygroups_externaloauthprovider', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthProvider', 0, 0),
('94c04752-57f4-4809-91b5-4ead7706949e', '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),
('94dfa243-3905-48ba-8bf4-1d96b36ecaff', 'jjwg_Maps_projects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Project', 'project', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('94ea73c2-7201-42ed-b969-6f50218c28a5', '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),
('956e0634-80df-421e-af1c-bee232b95858', '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),
('95d7f6bf-ff7e-485b-97d9-4636aaaaa261', 'aow_actions_modified_user', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('95ee51a3-e13c-4f04-be3b-1f6411f4e90c', '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),
('96666af2-7356-45fa-b43c-3dfe0b005fe6', 'projects_bugs', 'Project', 'project', 'id', 'Bugs', 'bugs', 'id', 'projects_bugs', 'project_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('96be51b6-4cf8-4149-9c5d-4d8fd49f02b3', 'emails_meetings_rel', 'Emails', 'emails', 'id', 'Meetings', 'meetings', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Meetings', 0, 0),
('96ccb92c-879a-4a02-9365-39cd579a99c9', 'contact_leads', 'Contacts', 'contacts', 'id', 'Leads', 'leads', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9743394f-02ba-46fa-90bb-6f44a9ab776c', 'opportunities_modified_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('97638187-5c69-4b08-8f6e-4d25d2246f73', 'fp_events_assigned_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('977fe1e5-773e-458d-a789-f3a9ed1aaa7d', 'surveyresponses_accounts', 'Accounts', 'accounts', 'id', 'SurveyResponses', 'surveyresponses', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('97b8a3e5-a9ae-43d9-bc36-4da80895e6db', 'bugs_fixed_in_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'fixed_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9876cfc4-f240-4029-89db-dcbc7b2fb3f8', '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),
('98a37bcb-350b-4688-89bf-b773a76adcc0', 'jjwg_areas_assigned_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('98e5cae9-0a41-4beb-be25-5ecbc3913d4f', 'cases_assigned_user', 'Users', 'users', 'id', 'Cases', 'cases', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9b5b2610-3b1f-4b73-a31a-a1c493ecc98b', 'bugs_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'found_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9c4949b0-4a4d-4263-b5c1-f4941ee79b28', 'surveyresponses_campaigns', 'Campaigns', 'campaigns', 'id', 'SurveyResponses', 'surveyresponses', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9d1c423a-80fa-4ec0-9995-c158d3b5fbe1', 'aos_contracts_meetings', 'AOS_Contracts', 'aos_contracts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('9d2e5510-45ae-42f6-8e92-920ffbcf8ca3', 'bugs_modified_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9d31cb50-1f84-4422-8b44-2241ad483b50', 'account_aos_contracts', 'Accounts', 'accounts', 'id', 'AOS_Contracts', 'aos_contracts', 'contract_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9d58048e-fc64-4b0e-ab06-bcc8c85121b1', 'documents_modified_user', 'Users', 'users', 'id', 'Documents', 'documents', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9d8698bb-c881-4bb8-ae5f-514499722a16', 'am_tasktemplates_modified_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9dd86b66-df1f-4ce6-9f38-9f3f6a04ef56', 'account_campaign_log', 'Accounts', 'accounts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Accounts', 0, 0),
('9e99ce1d-d72e-4dcb-8098-d76886ae78cf', 'inbound_email_modified_user_id', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('9fd4c055-46f7-4cdd-b717-0210bfcb4308', '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),
('a0ff65af-ff7d-4f4a-a2e6-2b00cdbefbb9', 'documents_opportunities', 'Documents', 'documents', 'id', 'Opportunities', 'opportunities', 'id', 'documents_opportunities', 'document_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('a1555a03-e76d-4ad6-a947-5412c98c3bb7', '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),
('a15a8f01-f8de-4b4e-865d-28174ec48416', 'surveyquestionoptions_created_by', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a1637070-679a-491f-92d5-f633304a8127', 'surveyresponses_contacts', 'Contacts', 'contacts', 'id', 'SurveyResponses', 'surveyresponses', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a3f2ca85-c9de-4e7b-98aa-45d294ccbd92', 'aos_contracts_notes', 'AOS_Contracts', 'aos_contracts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('a442635a-b334-4e19-8356-cb2632318f5d', 'documents_cases', 'Documents', 'documents', 'id', 'Cases', 'cases', 'id', 'documents_cases', 'document_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('a46c6f3d-08ea-44ce-ba27-440d8c0dc034', 'securitygroups_prospects', 'SecurityGroups', 'securitygroups', 'id', 'Prospects', 'prospects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Prospects', 0, 0),
('a55cd6a7-0dae-404c-9d98-520cf46b38e2', '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),
('a5bcd188-0b03-4891-85b0-d84360b8a103', 'jjwg_Maps_accounts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Accounts', 'accounts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('a5e7befe-ced1-4053-88fb-d288596ec343', '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),
('a636d7de-2668-4c94-a0d9-d82413c05355', 'cases_created_by', 'Users', 'users', 'id', 'Cases', 'cases', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a688b648-e73a-4fb5-8a70-4e4140e42044', '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),
('a688c3b5-456b-493e-b7aa-b17a579b00af', 'project_tasks_emails', 'ProjectTask', 'project_task', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('a70bfdcb-1e54-4d3c-b4fe-d08d2358568c', '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),
('a761da62-d61f-4d2b-a8c0-bb776254722a', 'projects_contacts', 'Project', 'project', 'id', 'Contacts', 'contacts', 'id', 'projects_contacts', 'project_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('a76c34af-d6a4-4f6c-bb71-814d748c6258', 'contacts_created_by', 'Users', 'users', 'id', 'Contacts', 'contacts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a78adfb1-dcb2-4f70-9735-fbd7b07b4891', 'templatesectionline_created_by', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a7ae022f-51ac-4079-871f-187aeb6e817c', 'reminders_assigned_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a7e2e2b3-50ba-4718-845d-8891f7eda017', 'aos_contracts_created_by', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a854f9ef-1f65-4793-b908-fde9df945c80', 'documents_assigned_user', 'Users', 'users', 'id', 'Documents', 'documents', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a898b080-4dc7-4d3b-8a2f-b24f98f19de6', 'opportunities_contacts', 'Opportunities', 'opportunities', 'id', 'Contacts', 'contacts', 'id', 'opportunities_contacts', 'opportunity_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('aa043663-dc1a-46d3-94a8-ac2405e8de46', 'securitygroups_surveyresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyResponses', 'surveyresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyResponses', 0, 0),
('aa4f647b-14e6-4f52-92e0-1817800f8917', 'contacts_assigned_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ac9285cd-a2c1-48ba-97c6-49667b21e1a0', 'aos_contracts_tasks', 'AOS_Contracts', 'aos_contracts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('ad1fc43d-90ec-428e-a85f-a231435bff24', '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),
('af368bd0-146e-4b9f-97e7-7ecf00e84dd5', 'email_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'Emails', 'emails', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('af633ba5-2290-4df5-8e63-d80ca69426b1', 'oauth2tokens_modified_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('af7de0e9-803b-463a-98c5-c8527163793e', 'emails_bugs_rel', 'Emails', 'emails', 'id', 'Bugs', 'bugs', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Bugs', 0, 0),
('afb81e41-5e50-4703-9ec5-d135ef203d53', 'externaloauthprovider_modified_user', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b0bb51a6-74a6-4deb-a24e-6bc5558ef99b', '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),
('b2327044-dec3-4ed4-aec0-0638aa1e17bb', 'reminders_created_by', 'Users', 'users', 'id', 'Reminders', 'reminders', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b2b5f99e-859d-4e37-b51f-cd04983a42f1', 'case_notes', 'Cases', 'cases', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('b31ae118-cd63-4395-a245-35f4913166e7', 'surveys_campaigns', 'Surveys', 'surveys', 'id', 'Campaigns', 'campaigns', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b37440fa-0f5d-4a02-bf10-c5c64c42ec6d', 'externaloauthconnection_modified_user', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b37f281b-4ff5-4174-8a26-593f4d92bf22', 'securitygroups_outboundemailaccounts', 'SecurityGroups', 'securitygroups', 'id', 'OutboundEmailAccounts', 'outbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'OutboundEmailAccounts', 0, 0),
('b3975d7c-ce84-4616-93c7-d509d9d43ff7', 'securitygroups_emailtemplates', 'SecurityGroups', 'securitygroups', 'id', 'EmailTemplates', 'email_templates', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailTemplates', 0, 0),
('b4029d30-ef06-48b4-857a-2657dcb1054e', 'calls_reschedule_modified_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b54f8213-cdae-403e-8771-b864a2fa1f6f', 'surveyquestionoptions_modified_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b5ee5f5f-2d48-4bd4-86e0-3c4586ca54b0', 'bug_meetings', 'Bugs', 'bugs', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('b639da7d-563c-4dde-8486-da3ae0b716c6', 'prospects_assigned_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b685eac4-c31c-4b17-8001-132887974fbc', 'aok_knowledgebase_modified_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b69a7835-a70d-4863-9e9a-41eaa8e461e3', 'tasks_notes', 'Tasks', 'tasks', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b7ed28b3-2ad2-4492-b96b-8ea0642eb89e', 'prospect_tasks', 'Prospects', 'prospects', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('b842f55d-e11f-478c-b303-fcf497183fbd', '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),
('b87e7082-ac5f-4c6a-844c-15da86369145', 'surveyresponses_surveyquestionresponses', 'SurveyResponses', 'surveyresponses', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyresponse_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b8b63ab8-0b8c-46b8-967c-20a00c0286b2', 'projects_modified_user', 'Users', 'users', 'id', 'Project', 'project', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b8c99344-1899-42b4-94b3-653ca9badee4', 'account_leads', 'Accounts', 'accounts', 'id', 'Leads', 'leads', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b8dc612d-d06d-416a-ae30-272d06bb0c9a', 'account_aos_quotes', 'Accounts', 'accounts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b9212242-002b-4724-af14-7e618ad1dcde', 'inbound_emails_autoreply_email_templates', 'EmailTemplates', 'email_templates', 'id', 'InboundEmail', 'inbound_email', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b9601d2c-9e47-4416-84ac-d9b5472225eb', 'securitygroups_emails', 'SecurityGroups', 'securitygroups', 'id', 'Emails', 'emails', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Emails', 0, 0),
('b9d21b6d-c12f-4c78-8f96-18e4d843a82e', '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),
('ba65a683-1c56-47f7-ae7a-ce0aacd2b094', 'aos_quotes_created_by', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ba6d7652-64f0-4566-a000-090909fa7f2d', 'projects_calls', 'Project', 'project', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('bb24ca6d-d959-4f8d-b486-46810e9d58ed', 'opportunity_aos_contracts', 'Opportunities', 'opportunities', 'id', 'AOS_Contracts', 'aos_contracts', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bb67d3a5-a26f-4914-b45b-f1bebcbaad7e', 'roles_users', 'Roles', 'roles', 'id', 'Users', 'users', 'id', 'roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('bc7345fd-970e-43a5-bf22-36cfc8ef0fc4', 'jjwg_markers_created_by', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bd366325-6e0a-4695-a828-facc08638e78', '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),
('bd57fab3-557c-4cc0-b945-e2dcac7b4763', 'aos_contracts_calls', 'AOS_Contracts', 'aos_contracts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('bd98c3d0-ef53-47a7-922c-18953a72639b', '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),
('bdf694f2-9a54-4db5-9114-9b3085b835e0', 'lead_meetings', 'Leads', 'leads', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('bf882bd4-90f3-4fc9-bad0-bc1bf1ffe336', '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),
('bfb319ab-5805-4a4d-9bcf-62fdf5d4bb9f', '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),
('bfc9f5c7-49d3-4c3e-95b7-d9ef8386d575', 'mediaobjects_created_by', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bff0b725-f0de-4208-8a0c-dc8839c123bc', 'surveyresponses_modified_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c07ab67a-94d4-4c0d-8509-e128c6c6b5a2', 'campaignlog_created_opportunities', 'CampaignLog', 'campaign_log', 'related_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c0e3de0c-0a7e-4810-8589-5e625efe09e2', '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),
('c3afe977-7a82-45f7-ac51-f52db889b7e2', '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),
('c3e42197-45e1-4540-9004-f81e47372e25', 'surveys_surveyresponses', 'Surveys', 'surveys', 'id', 'SurveyResponses', 'surveyresponses', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c4a8578d-fbc4-4c22-8d5c-9eba10356753', 'schedulers_jobs_rel', 'Schedulers', 'schedulers', 'id', 'SchedulersJobs', 'job_queue', 'scheduler_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c540c300-5a9c-4793-8de3-98a5762a91f9', 'jjwg_Maps_opportunities', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('c62683ad-610b-4c46-aa1d-93d96af220d9', 'securitygroups_project_task', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('c638ce67-cbe4-4fc7-92cd-9ddcc0975170', 'campaign_campaigntrakers', 'Campaigns', 'campaigns', 'id', 'CampaignTrackers', 'campaign_trkrs', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c64338b1-87f6-4856-bc8b-6d77a8e8d60b', 'documents_created_by', 'Users', 'users', 'id', 'Documents', 'documents', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c66df1cb-e9a5-437f-afd0-7334c7b45dc5', 'schedulers_modified_user_id_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c6eb42c9-0ef6-4a10-915d-ef958ed2c289', 'eapm_created_by', 'Users', 'users', 'id', 'EAPM', 'eapm', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c6fd608f-ef60-4eed-8272-049f17336e6f', 'mediaobjects_modified_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c712cb04-79b9-4cfe-b588-2ee318886e81', 'campaign_emailman', 'Campaigns', 'campaigns', 'id', 'EmailMan', 'emailman', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c71fffba-3c44-4b50-a7a3-dd92665f2ca0', 'tasks_assigned_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c74892c5-3d00-432e-a70d-2dfdf45581c4', '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),
('c771a888-baef-447e-814b-3b4bae00fb5e', 'sugarfeed_created_by', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c7ee68bb-e8b5-4dab-9bb4-80bac64e81ee', 'reminders_invitees_assigned_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c816f33c-24b9-4c2f-8df7-a34e21cff30a', 'contact_aos_invoices', 'Contacts', 'contacts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c8381828-eb7e-49b5-993d-0930764fa34e', '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),
('cb3b7065-1819-42ba-a05b-7cf223e9fef1', 'lead_direct_reports', 'Leads', 'leads', 'id', 'Leads', 'leads', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cb7bfafd-b0ff-4875-abe5-17282b44cc1a', 'emails_contacts_rel', 'Emails', 'emails', 'id', 'Contacts', 'contacts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Contacts', 0, 0),
('cd6b80f1-e86b-448e-838d-3224eb7b3c08', 'campaignlog_contact', 'CampaignLog', 'campaign_log', 'related_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cd8fe53b-6c8f-4891-af67-b206b5a119ff', 'opportunity_leads', 'Opportunities', 'opportunities', 'id', 'Leads', 'leads', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ce1ab526-5581-4c1e-9949-f4cb80e6f8d6', '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),
('ce3b30ca-3149-40e5-ade0-2678a8d99b6b', 'emails_cases_rel', 'Emails', 'emails', 'id', 'Cases', 'cases', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Cases', 0, 0),
('ce5687eb-0b79-4cad-9bed-34b9211a5c35', '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),
('ced9f596-339e-476f-a8c5-ac3255f1c01e', 'surveyresponses_assigned_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cfa7e652-e771-411e-8db4-a9bb6a5eda07', '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),
('d0fb2471-7d62-4b2f-ab76-f029fd5b84c9', '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),
('d181fd5e-f5d8-42cb-adfd-6e0bff5767fc', 'aow_workflow_created_by', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d224336f-31db-4f0e-87f6-7693ac2600e7', 'alerts_created_by', 'Users', 'users', 'id', 'Alerts', 'alerts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d344b5d0-b55c-418f-9503-a8a6919ec227', 'project_tasks_notes', 'ProjectTask', 'project_task', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('d34d0f67-aff8-44fb-b0c5-96d448d4bdf2', '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),
('d3570af4-3073-4946-b8fc-a61f2b9b88c3', 'emails_users_rel', 'Emails', 'emails', 'id', 'Users', 'users', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Users', 0, 0),
('d390f5b0-7cd3-4ab3-9912-e7e663e1c71f', 'oauth2clients_modified_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d3b80035-6704-43b8-8fc6-a256b97e0364', '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),
('d4d2c9ae-5ee4-4d61-b499-77e4104abc9d', 'jjwg_maps_created_by', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d525b0ea-53fa-4ddc-a23f-3e267bed0668', 'reminders_invitees_modified_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d6bc0a44-0771-46d6-bb39-69cf222833b4', 'campaign_email_marketing', 'Campaigns', 'campaigns', 'id', 'EmailMarketing', 'email_marketing', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d76951f1-39ab-45a4-8ab2-1c8f1ac096e2', 'emails_prospects_rel', 'Emails', 'emails', 'id', 'Prospects', 'prospects', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Prospects', 0, 0),
('d76bebad-515e-41ee-889e-2c3d22d12a85', 'aos_contracts_modified_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d802398a-d12f-474b-ad04-b829c6e2abe6', 'surveys_created_by', 'Users', 'users', 'id', 'Surveys', 'surveys', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d821c471-f188-46ce-a148-c3665f6bb696', 'aor_charts_modified_user', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d932bb93-f90a-4e03-9dea-dcfddb5328b0', '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),
('d96fd3ef-9c52-456d-878a-d5696809d259', 'securitygroups_externaloauthconnection', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthConnection', 0, 0),
('d9bfee49-cfbb-4b2b-bdf4-e27cc38a8c54', 'surveyquestions_surveyquestionresponses', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyquestion_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d9da7e81-0720-4cd4-baf3-afcf631c1525', 'email_template_email_marketings', 'EmailTemplates', 'email_templates', 'id', 'EmailMarketing', 'email_marketing', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('da67474d-38cb-435f-bf10-6dc4b1c48c70', 'cases_bugs', 'Cases', 'cases', 'id', 'Bugs', 'bugs', 'id', 'cases_bugs', 'case_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('daca04ae-5ea2-4a3e-ae3e-e378ebd1926e', 'emails_opportunities_rel', 'Emails', 'emails', 'id', 'Opportunities', 'opportunities', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Opportunities', 0, 0),
('dae9bce1-bbe5-41fd-b891-e7022bfe6964', '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),
('dcdefb9d-b423-429a-99e0-c6afaaf2d93b', '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),
('dce29adb-9e25-42ef-854d-a0ecf4243088', '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),
('dcf8304c-d6b0-44e9-b7df-faba8d0be676', 'securitygroups_notes', 'SecurityGroups', 'securitygroups', 'id', 'Notes', 'notes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Notes', 0, 0),
('dd01d559-5b4d-49d9-98eb-3637703cce22', 'contact_tasks', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ddc8e6de-49da-4d9b-a085-05789a942e64', 'outbound_email_modified_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e1c1b987-9a86-40c9-a7dc-06e4510bf420', '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),
('e1c3bf22-0b8f-47a3-9329-cc2010dadb4b', 'prospectlists_assigned_user', 'Users', 'users', 'id', 'ProspectLists', 'prospect_lists', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e1edb65c-9b1a-4cbe-b50d-19a15da0957c', 'oauth2tokens_assigned_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e21ff0fd-b47b-47a8-bac8-cfb43e2d7f6a', 'notes_modified_user', 'Users', 'users', 'id', 'Notes', 'notes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e3652bfe-54e9-4e25-86ff-44e29decf5cc', 'emails_tasks_rel', 'Emails', 'emails', 'id', 'Tasks', 'tasks', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Tasks', 0, 0),
('e448eca3-e6aa-4021-bb47-59ad8ee7060c', 'meetings_modified_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e5423663-319c-452c-9514-e64cc84182f3', 'jjwg_Maps_leads', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('e6467d80-f448-4a2e-9609-6da46fe4139c', '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),
('e64ac731-8f2b-4909-8534-3cf8f4ad1c69', 'users_users_password_link', 'Users', 'users', 'id', NULL, 'users_signatures', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e6833b7f-2ad3-4d05-bfe4-172ad1957a1d', 'opportunity_currencies', 'Opportunities', 'opportunities', 'currency_id', 'Currencies', 'currencies', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e6df21e8-b837-48d9-8971-296d256789cd', '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),
('e726c87c-311e-4ac1-855a-838e7caf6673', 'meetings_users', 'Meetings', 'meetings', 'id', 'Users', 'users', 'id', 'meetings_users', 'meeting_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('e74562c6-db78-488c-b2ee-a40cf1925f0e', 'accounts_modified_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e76c2264-0923-4753-b774-7ec470e154ec', '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),
('e900c01f-80ea-4d4a-8142-7bbdf1e5fc0d', 'aow_actions_created_by', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e91496b2-3596-4d9c-a7dc-f6d9404e9555', 'alerts_assigned_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ea78db30-c4bd-402f-9f0b-217450230ec9', 'aor_reports_modified_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('eab92c2f-ad97-474b-99e0-6e889183f6e8', 'calls_assigned_user', 'Users', 'users', 'id', 'Calls', 'calls', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('eb13e240-dd80-4709-813d-0563aa372064', '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),
('eb8ddba0-2bb0-4b0a-9899-f0540f938f7e', 'favorites_modified_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ec6c9ace-4c1a-455c-814e-72af5c999cf1', 'meetings_leads', 'Meetings', 'meetings', 'id', 'Leads', 'leads', 'id', 'meetings_leads', 'meeting_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('ec9b8330-aa78-4cdd-adf0-6a693c5dcf1f', 'account_tasks', 'Accounts', 'accounts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('edbadb84-5a32-416c-a1b4-cfbc7618fb35', 'campaign_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ee4440ea-2aaf-4af0-8004-9c5ec37e63e6', 'projects_cases', 'Project', 'project', 'id', 'Cases', 'cases', 'id', 'projects_cases', 'project_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('ee6504e5-588c-4d27-babd-6f4a77a7f4c1', '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),
('eea02914-9793-4e96-904d-31a223983386', 'prospect_notes', 'Prospects', 'prospects', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('f02c7bac-2a6b-4367-a778-b07b09f7decf', '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),
('f184a8a8-a902-4d91-b8d5-b0ae4abc372b', 'opportunity_tasks', 'Opportunities', 'opportunities', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('f1fb3e87-b7ff-4241-bac6-6581bfdd5bf9', 'project_tasks_calls', 'ProjectTask', 'project_task', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('f264c6c6-d866-4ebe-8f8e-396c10a8d71a', '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),
('f29cdc0a-25f9-4658-8c9f-d1fdcc15fcae', 'optimistic_locking', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('f31e30f0-2fe6-4ca7-b1af-40e6b8a1cf7a', 'securitygroups_cases', 'SecurityGroups', 'securitygroups', 'id', 'Cases', 'cases', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Cases', 0, 0),
('f345b0e9-dc17-436b-a8cf-3888182b934c', 'lead_emails', 'Leads', 'leads', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('f4165947-92d5-4743-b9d0-d72207497902', 'meetings_created_by', 'Users', 'users', 'id', 'Meetings', 'meetings', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f48bfe31-357c-409c-8003-19fa75c14eaa', 'emails_notes_rel', 'Emails', 'emails', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f493443e-3ed8-4e46-b17d-dec0e9a3a0e3', 'surveyquestions_modified_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f57e6314-9c7d-4740-857c-9d77ef7d2d3f', 'tasks_created_by', 'Users', 'users', 'id', 'Tasks', 'tasks', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f62b6b26-08b6-4568-b17c-259147a266c8', 'campaign_opportunities', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f8ddfa07-3489-4a21-adbd-45435b86e934', 'prospect_meetings', 'Prospects', 'prospects', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('f961dca4-655b-4400-b7c4-a1c40bc6f962', 'contact_notes_parent', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('f9cc201e-df2d-45ce-9885-0abc662fb3e9', 'documents_bugs', 'Documents', 'documents', 'id', 'Bugs', 'bugs', 'id', 'documents_bugs', 'document_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('fa6b8baa-5504-4014-89e3-0a6d7451a3eb', 'am_projecttemplates_created_by', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fa95227e-982a-45c9-a75a-163a753b6c01', 'reminders_invitees_created_by', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fb16a9ba-89a8-42d2-9500-952659004400', 'securitygroups_accounts', 'SecurityGroups', 'securitygroups', 'id', 'Accounts', 'accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Accounts', 0, 0),
('fb47a64f-62b7-4389-bae9-5c409a861dfc', 'jjwg_Maps_meetings', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Meetings', 'meetings', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('fb4f650f-5af2-4a43-a88b-b6645e07eea7', '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),
('fcb28608-259e-4f5e-81a8-72e2533a57cc', 'favorites_assigned_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fdcce554-9de3-471f-aba2-e92d89ebd8d5', '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),
('fe4197e8-85ac-441c-98d5-aedd773f7090', '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);
INSERT INTO `relationships` VALUES
('fe78812c-f296-44da-aada-4bd63a23a7d2', 'aow_processed_created_by', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ff740542-8ba5-4305-9cea-1d98d7c89e31', 'user_direct_reports', 'Users', 'users', 'id', 'Users', 'users', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ffbab847-e1ea-4b39-b5a3-9d3689b47430', 'opportunities_assigned_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `releases`
--
CREATE TABLE `releases` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`list_order` int(4) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_releases` (`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `reminders`
--
CREATE TABLE `reminders` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`popup` tinyint(1) DEFAULT NULL,
`email` tinyint(1) DEFAULT NULL,
`email_sent` tinyint(1) DEFAULT NULL,
`timer_popup` varchar(32) DEFAULT NULL,
`timer_email` varchar(32) DEFAULT NULL,
`related_event_module` varchar(32) DEFAULT NULL,
`related_event_module_id` char(36) NOT NULL,
`date_willexecute` int(60) 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=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `reminders_invitees`
--
CREATE TABLE `reminders_invitees` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`reminder_id` char(36) NOT NULL,
`related_invitee_module` varchar(32) DEFAULT NULL,
`related_invitee_module_id` char(36) NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_reminder_invitee_name` (`name`),
KEY `idx_reminder_invitee_assigned_user_id` (`assigned_user_id`),
KEY `idx_reminder_invitee_reminder_id` (`reminder_id`),
KEY `idx_reminder_invitee_related_invitee_module` (`related_invitee_module`),
KEY `idx_reminder_invitee_related_invitee_module_id` (`related_invitee_module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(150) DEFAULT NULL,
`description` text,
`modules` text,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_role_id_del` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `roles_modules`
--
CREATE TABLE `roles_modules` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`module_id` varchar(36) DEFAULT NULL,
`allow` tinyint(1) DEFAULT '0',
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_role_id` (`role_id`),
KEY `idx_module_id` (`module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `roles_users`
--
CREATE TABLE `roles_users` (
`id` varchar(36) NOT NULL,
`role_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_ru_role_id` (`role_id`),
KEY `idx_ru_user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `saved_search`
--
CREATE TABLE `saved_search` (
`id` char(36) NOT NULL,
`name` varchar(150) DEFAULT NULL,
`search_module` varchar(150) DEFAULT NULL,
`quick_filter` tinyint(1) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`contents` text,
`description` text,
PRIMARY KEY (`id`),
KEY `idx_desc` (`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `schedulers`
--
CREATE TABLE `schedulers` (
`id` varchar(36) NOT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`job` varchar(255) DEFAULT NULL,
`date_time_start` datetime DEFAULT NULL,
`date_time_end` datetime DEFAULT NULL,
`job_interval` varchar(100) DEFAULT NULL,
`time_from` time DEFAULT NULL,
`time_to` time DEFAULT NULL,
`last_run` datetime DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`catch_up` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`),
KEY `idx_schedule` (`date_time_start`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `schedulers`
--
INSERT INTO `schedulers` VALUES
('0c0b5fb5-8255-41b0-b733-efb195e1111c', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Queue Campaign Emails', 'scheduler::email-to-queue', '2015-01-01 13:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('29921125-45f2-43f2-9e3b-7db7151c7181', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Email Reminder Notifications', 'function::sendEmailReminders', '2015-01-01 10:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('33685e09-d132-4ae0-b8d8-b46fb6be6e2e', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Check Inbound Mailboxes', 'function::pollMonitoredInboxesAOP', '2015-01-01 14:45:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('5afe7fcc-74d6-4eaa-a2ab-9ca941e4f266', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Removal of documents from filesystem', 'function::removeDocumentsFromFS', '2015-01-01 08:45:01', NULL, '0::3::1::*::*', NULL, NULL, NULL, 'Active', 0),
('62e6a080-64eb-440f-8f42-b9ca63de7568', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Send Campaign Emails', 'scheduler::send-from-queue', '2015-01-01 09:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('6f605f88-7e7b-45ed-b884-67978ef5c7fe', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Tracker Tables', 'function::trimTracker', '2015-01-01 08:30:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('7f1730a7-471b-44e3-bc9d-d802c8024896', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Process Bounced Campaign Emails', 'function::pollMonitoredInboxesForBouncedCampaignEmails', '2015-01-01 16:45:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1),
('9e5392fe-3602-482d-9ff6-b2d3055c65c1', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Elasticsearch Index', 'function::runElasticSearchIndexerScheduler', '2015-01-01 07:00:01', NULL, '30::4::*::*::*', NULL, NULL, NULL, 'Active', 0),
('a36ccbd4-cd0e-4fe7-ba15-20fba20b9073', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Google Calendar Sync', 'function::syncGoogleCalendar', '2015-01-01 13:45:01', NULL, '*/15::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('bb1693e5-5672-4735-9444-d89baebc31ca', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Database on 1st of Month', 'scheduler::prune-database', '2015-01-01 10:30:01', NULL, '0::4::1::*::*', NULL, NULL, NULL, 'Inactive', 0),
('bbe369f8-2abe-47fe-b751-9059caa26b1f', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune SuiteCRM Feed Tables', 'function::trimSugarFeeds', '2015-01-01 19:30:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('c9714f66-cd45-4fe2-9dd8-79649b7cd0f8', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Process Workflow Tasks', 'function::processAOW_Workflow', '2015-01-01 08:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1),
('e539e952-6668-4a7b-a100-4b2f2f816fbc', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Up Temporary Files', 'scheduler::clean-up-temporary-files', '2015-01-01 09:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('efb47d97-3993-4205-a498-8ed4ee0563ae', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Mass Email Campaigns', 'function::runMassEmailCampaign', '2015-01-01 12:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Inactive', 1),
('f39b638e-7af7-4b0b-a873-7773cc0fddf7', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Jobs Queue', 'function::cleanJobQueue', '2015-01-01 15:45:01', NULL, '0::5::*::*::*', NULL, NULL, NULL, 'Active', 0),
('fe5b3579-e368-4c11-a49f-620bdd6d1d44', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Report Generation Scheduled Tasks', 'function::aorRunScheduledReports', '2015-01-01 14:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1);
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups`
--
CREATE TABLE `securitygroups` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`noninheritable` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_acl_roles`
--
CREATE TABLE `securitygroups_acl_roles` (
`id` char(36) NOT NULL,
`securitygroup_id` char(36) DEFAULT NULL,
`role_id` char(36) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_audit`
--
CREATE TABLE `securitygroups_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_securitygroups_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_default`
--
CREATE TABLE `securitygroups_default` (
`id` char(36) NOT NULL,
`securitygroup_id` char(36) DEFAULT NULL,
`module` varchar(50) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_records`
--
CREATE TABLE `securitygroups_records` (
`id` char(36) NOT NULL,
`securitygroup_id` char(36) DEFAULT NULL,
`record_id` char(36) DEFAULT NULL,
`module` varchar(100) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_securitygroups_records_mod` (`module`,`deleted`,`record_id`,`securitygroup_id`),
KEY `idx_securitygroups_records_del` (`deleted`,`record_id`,`module`,`securitygroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups_users`
--
CREATE TABLE `securitygroups_users` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`securitygroup_id` varchar(36) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`primary_group` tinyint(1) DEFAULT NULL,
`noninheritable` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `securitygroups_users_idxa` (`securitygroup_id`),
KEY `securitygroups_users_idxb` (`user_id`),
KEY `securitygroups_users_idxc` (`user_id`,`deleted`,`securitygroup_id`,`id`),
KEY `securitygroups_users_idxd` (`user_id`,`deleted`,`securitygroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `sugarfeed`
--
CREATE TABLE `sugarfeed` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`related_module` varchar(100) DEFAULT NULL,
`related_id` char(36) DEFAULT NULL,
`link_url` varchar(255) DEFAULT NULL,
`link_type` varchar(30) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `sgrfeed_date` (`date_entered`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionoptions`
--
CREATE TABLE `surveyquestionoptions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`sort_order` int(255) DEFAULT NULL,
`survey_question_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionoptions_audit`
--
CREATE TABLE `surveyquestionoptions_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyquestionoptions_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionoptions_surveyquestionresponses`
--
CREATE TABLE `surveyquestionoptions_surveyquestionresponses` (
`id` varchar(36) NOT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`surveyq72c7options_ida` varchar(36) DEFAULT NULL,
`surveyq10d4sponses_idb` varchar(36) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `surveyquestionoptions_surveyquestionresponses_alt` (`surveyq72c7options_ida`,`surveyq10d4sponses_idb`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionresponses`
--
CREATE TABLE `surveyquestionresponses` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`answer` text,
`answer_bool` tinyint(1) DEFAULT NULL,
`answer_datetime` datetime DEFAULT NULL,
`surveyquestion_id` char(36) DEFAULT NULL,
`surveyresponse_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestionresponses_audit`
--
CREATE TABLE `surveyquestionresponses_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyquestionresponses_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestions`
--
CREATE TABLE `surveyquestions` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`sort_order` int(255) DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`happiness_question` tinyint(1) DEFAULT NULL,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyquestions_audit`
--
CREATE TABLE `surveyquestions_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyquestions_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyresponses`
--
CREATE TABLE `surveyresponses` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`happiness` int(11) DEFAULT NULL,
`email_response_sent` tinyint(1) DEFAULT NULL,
`account_id` char(36) DEFAULT NULL,
`campaign_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`survey_id` char(36) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveyresponses_audit`
--
CREATE TABLE `surveyresponses_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveyresponses_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveys`
--
CREATE TABLE `surveys` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'LBL_DRAFT',
`submit_text` varchar(255) DEFAULT 'Submit',
`satisfied_text` varchar(255) DEFAULT 'Satisfied',
`neither_text` varchar(255) DEFAULT 'Neither Satisfied nor Dissatisfied',
`dissatisfied_text` varchar(255) DEFAULT 'Dissatisfied',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `surveys_audit`
--
CREATE TABLE `surveys_audit` (
`id` char(36) NOT NULL,
`parent_id` char(36) NOT NULL,
`date_created` datetime DEFAULT NULL,
`created_by` varchar(36) DEFAULT NULL,
`field_name` varchar(100) DEFAULT NULL,
`data_type` varchar(100) DEFAULT NULL,
`before_value_string` varchar(255) DEFAULT NULL,
`after_value_string` varchar(255) DEFAULT NULL,
`before_value_text` text,
`after_value_text` text,
PRIMARY KEY (`id`),
KEY `idx_surveys_parent_id` (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `tasks`
--
CREATE TABLE `tasks` (
`id` char(36) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`status` varchar(100) DEFAULT 'Not Started',
`date_due_flag` tinyint(1) DEFAULT '0',
`date_due` datetime DEFAULT NULL,
`date_start_flag` tinyint(1) DEFAULT '0',
`date_start` datetime DEFAULT NULL,
`parent_type` varchar(255) DEFAULT NULL,
`parent_id` char(36) DEFAULT NULL,
`contact_id` char(36) DEFAULT NULL,
`priority` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_tsk_name` (`name`),
KEY `idx_task_con_del` (`contact_id`,`deleted`),
KEY `idx_task_par_del` (`parent_id`,`parent_type`,`deleted`),
KEY `idx_task_assigned` (`assigned_user_id`),
KEY `idx_task_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `templatesectionline`
--
CREATE TABLE `templatesectionline` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`thumbnail` varchar(255) DEFAULT NULL,
`grp` varchar(255) DEFAULT NULL,
`ord` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `tracker`
--
CREATE TABLE `tracker` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`monitor_id` char(36) NOT NULL,
`user_id` varchar(36) DEFAULT NULL,
`module_name` varchar(255) DEFAULT NULL,
`item_id` varchar(36) DEFAULT NULL,
`item_summary` varchar(255) DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`action` varchar(255) DEFAULT NULL,
`session_id` varchar(36) DEFAULT NULL,
`visible` tinyint(1) DEFAULT '0',
`deleted` tinyint(1) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_tracker_iid` (`item_id`),
KEY `idx_tracker_userid_vis_id` (`user_id`,`visible`,`id`),
KEY `idx_tracker_userid_itemid_vis` (`user_id`,`item_id`,`visible`),
KEY `idx_tracker_monitor_id` (`monitor_id`),
KEY `idx_tracker_date_modified` (`date_modified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `upgrade_history`
--
CREATE TABLE `upgrade_history` (
`id` char(36) NOT NULL,
`filename` varchar(255) DEFAULT NULL,
`md5sum` varchar(32) DEFAULT NULL,
`type` varchar(30) DEFAULT NULL,
`status` varchar(50) DEFAULT NULL,
`version` varchar(64) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`description` text,
`id_name` varchar(255) DEFAULT NULL,
`manifest` longtext,
`date_entered` datetime DEFAULT NULL,
`enabled` tinyint(1) DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `upgrade_history_md5_uk` (`md5sum`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` char(36) NOT NULL,
`user_name` varchar(60) DEFAULT NULL,
`user_hash` varchar(255) DEFAULT NULL,
`system_generated_password` tinyint(1) DEFAULT NULL,
`pwd_last_changed` datetime DEFAULT NULL,
`authenticate_id` varchar(100) DEFAULT NULL,
`sugar_login` tinyint(1) DEFAULT '1',
`first_name` varchar(255) DEFAULT NULL,
`last_name` varchar(255) DEFAULT NULL,
`is_admin` tinyint(1) DEFAULT '0',
`external_auth_only` tinyint(1) DEFAULT '0',
`receive_notifications` tinyint(1) DEFAULT '1',
`description` text,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`title` varchar(50) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`department` varchar(50) DEFAULT NULL,
`phone_home` varchar(50) DEFAULT NULL,
`phone_mobile` varchar(50) DEFAULT NULL,
`phone_work` varchar(50) DEFAULT NULL,
`phone_other` varchar(50) DEFAULT NULL,
`phone_fax` varchar(50) DEFAULT NULL,
`status` varchar(100) DEFAULT NULL,
`address_street` varchar(150) DEFAULT NULL,
`address_city` varchar(100) DEFAULT NULL,
`address_state` varchar(100) DEFAULT NULL,
`address_country` varchar(100) DEFAULT NULL,
`address_postalcode` varchar(20) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`portal_only` tinyint(1) DEFAULT '0',
`show_on_employees` tinyint(1) DEFAULT '1',
`employee_status` varchar(100) DEFAULT NULL,
`messenger_id` varchar(100) DEFAULT NULL,
`messenger_type` varchar(100) DEFAULT NULL,
`reports_to_id` char(36) DEFAULT NULL,
`is_group` tinyint(1) DEFAULT NULL,
`factor_auth` tinyint(1) DEFAULT NULL,
`factor_auth_interface` varchar(255) DEFAULT NULL,
`totp_secret` varchar(255) DEFAULT NULL,
`is_totp_enabled` tinyint(1) DEFAULT NULL,
`backup_codes` text,
PRIMARY KEY (`id`),
KEY `idx_user_name` (`user_name`,`is_group`,`status`,`last_name`(30),`first_name`(30),`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `users`
--
INSERT INTO `users` VALUES
('1', '[[admin_username]]', '[[admin_pass]]', 0, NULL, NULL, 1, '[[admin_fname]]', '[[admin_lname]]', 1, 0, 1, NULL, '[[regtime]]', '[[regtime]]', '1', '1', 'Administrator', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, NULL, NULL, NULL, 0, 0, 1, 'Active', NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `users_feeds`
--
CREATE TABLE `users_feeds` (
`user_id` varchar(36) DEFAULT NULL,
`feed_id` varchar(36) DEFAULT NULL,
`rank` int(11) 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=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `users_last_import`
--
CREATE TABLE `users_last_import` (
`id` char(36) NOT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`import_module` varchar(36) DEFAULT NULL,
`bean_type` varchar(36) DEFAULT NULL,
`bean_id` char(36) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_user_id` (`assigned_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `users_password_link`
--
CREATE TABLE `users_password_link` (
`id` char(36) NOT NULL,
`keyhash` varchar(255) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`username` varchar(36) DEFAULT NULL,
`date_generated` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_username` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `users_signatures`
--
CREATE TABLE `users_signatures` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`user_id` varchar(36) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`signature` text,
`signature_html` text,
PRIMARY KEY (`id`),
KEY `idx_usersig_uid` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `user_preferences`
--
CREATE TABLE `user_preferences` (
`id` char(36) NOT NULL,
`category` varchar(50) DEFAULT NULL,
`deleted` tinyint(1) DEFAULT '0',
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`assigned_user_id` char(36) DEFAULT NULL,
`contents` longtext,
PRIMARY KEY (`id`),
KEY `idx_userprefnamecat` (`assigned_user_id`,`category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `user_preferences`
--
INSERT INTO `user_preferences` VALUES
('0a8588af-a2e7-4b41-923e-f006c3f0d62f', 'GoogleSync', 0, '[[regtime]]', '[[regtime]]', '1', 'YToxOntzOjg6InN5bmNHQ2FsIjtpOjA7fQ=='),
('cd82fe5a-828a-481f-b6e8-a1a9809998fb', 'global', 0, '[[regtime]]', '[[regtime]]', '1', 'YTo0NTp7czoyMDoiY2FsZW5kYXJfcHVibGlzaF9rZXkiO3M6MzY6IjkzYTQyYmY0LTEyMTgtNDk3MS04YTNhLTgxNjFlOGQyNjhmNiI7czoxMjoibWFpbG1lcmdlX29uIjtzOjM6Im9mZiI7czoyNDoic3VicGFuZWxfcGFnaW5hdGlvbl90eXBlIjtzOjEwOiJwYWdpbmF0aW9uIjtzOjI0OiJsaXN0dmlld19wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6Mjg6InJlY29yZF9tb2RhbF9wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6MTg6InNub296ZV9hbGVydF90aW1lciI7aTo2MDA7czoxNjoic3dhcF9sYXN0X3ZpZXdlZCI7YjowO3M6MTQ6InN3YXBfc2hvcnRjdXRzIjtiOjA7czoxOToibmF2aWdhdGlvbl9wYXJhZGlnbSI7czoxOiJtIjtzOjIwOiJzb3J0X21vZHVsZXNfYnlfbmFtZSI7czowOiIiO3M6MTM6InN1YnBhbmVsX3RhYnMiO2I6MTtzOjI1OiJjb3VudF9jb2xsYXBzZWRfc3VicGFuZWxzIjtzOjA6IiI7czoxMDoidXNlcl90aGVtZSI7czo2OiJzdWl0ZTgiO3M6MTQ6Im1vZHVsZV9mYXZpY29uIjtiOjA7czo5OiJoaWRlX3RhYnMiO2E6MDp7fXM6MTE6InJlbW92ZV90YWJzIjthOjA6e31zOjc6Im5vX29wcHMiO3M6Mzoib2ZmIjtzOjEzOiJyZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE5OiJlbWFpbF9yZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE2OiJyZW1pbmRlcl9jaGVja2VkIjtzOjE6IjAiO3M6MjI6ImVtYWlsX3JlbWluZGVyX2NoZWNrZWQiO3M6MToiMCI7czo4OiJ0aW1lem9uZSI7TjtzOjI6InV0IjtzOjE6IjEiO3M6ODoiY3VycmVuY3kiO047czozNToiZGVmYXVsdF9jdXJyZW5jeV9zaWduaWZpY2FudF9kaWdpdHMiO3M6MToiMiI7czoxMToibnVtX2dycF9zZXAiO047czo3OiJkZWNfc2VwIjtzOjE6Ii4iO3M6NDoiZmRvdyI7TjtzOjU6ImRhdGVmIjtzOjU6Im0vZC9ZIjtzOjU6InRpbWVmIjtzOjM6Ikg6aSI7czo4OiJsYW5ndWFnZSI7czo1OiJlbl91cyI7czoyNjoiZGVmYXVsdF9sb2NhbGVfbmFtZV9mb3JtYXQiO3M6NToicyBmIGwiO3M6MTY6ImV4cG9ydF9kZWxpbWl0ZXIiO3M6MToiLCI7czoyMjoiZGVmYXVsdF9leHBvcnRfY2hhcnNldCI7czo1OiJVVEYtOCI7czoxNDoidXNlX3JlYWxfbmFtZXMiO2I6MTtzOjE3OiJtYWlsX3NtdHBhdXRoX3JlcSI7czowOiIiO3M6MTI6Im1haWxfc210cHNzbCI7aTowO3M6MTc6InNpZ25hdHVyZV9kZWZhdWx0IjtzOjA6IiI7czoxNzoic2lnbmF0dXJlX3ByZXBlbmQiO3M6MDoiIjtzOjE1OiJlbWFpbF9saW5rX3R5cGUiO3M6NToic3VnYXIiO3M6MTE6ImVkaXRvcl90eXBlIjtzOjc6InRpbnltY2UiO3M6MTc6ImVtYWlsX3Nob3dfY291bnRzIjtpOjA7czoxOToiZW1haWxfZWRpdG9yX29wdGlvbiI7czo3OiJ0aW55bWNlIjtzOjIxOiJkZWZhdWx0X2VtYWlsX2NoYXJzZXQiO3M6NToiVVRGLTgiO3M6ODoic3VidGhlbWUiO3M6MDoiIjt9');
-- --------------------------------------------------------
--
-- Table structure for table `vcals`
--
CREATE TABLE `vcals` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`user_id` char(36) NOT NULL,
`type` varchar(100) DEFAULT NULL,
`source` varchar(100) DEFAULT NULL,
`content` text,
PRIMARY KEY (`id`),
KEY `idx_vcal` (`type`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!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 */;