File: //proc/self/root/var/softaculous/suitecrm/suitecrm.sql
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `suitecrm891`
--
-- --------------------------------------------------------
--
-- 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
('001b6879-cec3-44bd-aa3b-3df5c78643a6', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Reports', 'module', 89, 0),
('00c09425-bad6-4da1-9b5f-6a60d6aadb12', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Reports', 'module', 90, 0),
('01225c08-d787-4edb-bd5c-21a7d1fd5cc7', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Areas', 'module', 90, 0),
('01b0d056-5e9f-4622-8754-77aeaf092344', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls', 'module', 90, 0),
('0207727c-d5c6-4f1c-bfc2-f3b16e26e4fa', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Invoices', 'module', 90, 0),
('02356f54-820d-4a0e-bd1b-5db0a4967ad8', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionResponses', 'module', 90, 0),
('024b5cec-b31b-4797-86be-253135c02e03', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_KnowledgeBase', 'module', 90, 0),
('027c34e2-d92d-42bf-b05f-c4bdf98f2078', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Alerts', 'module', 90, 0),
('037b5443-5cda-4390-a659-4d150d18f5b2', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionResponses', 'module', 89, 0),
('0386270d-2d96-4f6a-8ce5-65616a5a262a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Updates', 'module', 90, 0),
('03eba247-2c32-40b5-8ce2-d9f304fb63f3', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_Event_Locations', 'module', 90, 0),
('05f7d262-4d74-4ae6-b3c9-2dccfbc24bf8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Documents', 'module', 90, 0),
('06cd026f-46b3-410e-8e72-d453bda23d53', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Contacts', 'module', 90, 0),
('070cd2f4-b2cf-4357-878d-701604a6fd5a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Surveys', 'module', 90, 0),
('0897a1e0-c9d9-4e68-bc9d-7d6f0be418f6', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Updates', 'module', 90, 0),
('09b05d3d-3185-41bd-9f9f-c75b6eb5295b', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Address_Cache', 'module', 90, 0),
('0a1a0425-90be-471d-9c3e-7f2fc4caff00', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Emails', 'module', 90, 0),
('0a707422-9c0b-4d07-9e1d-f9f13eebb12c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Opportunities', 'module', 89, 0),
('0afaab89-4348-4d43-9f47-1f49e6b1a564', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Emails', 'module', 89, 0),
('0afe68db-4876-46eb-8d89-9cfd8e9bdb89', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Products', 'module', 90, 0),
('0b355faa-b50d-4e2a-b2a3-7068e4a67049', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Campaigns', 'module', 90, 0),
('0b622f24-c242-48ba-8770-54b4825d56eb', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_KnowledgeBase', 'module', 90, 0),
('0c17d9b5-8aa4-48d0-9d30-cb837701e23e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Meetings', 'module', 90, 0),
('0e02cfa5-b0ce-414e-abbf-2866f75c5a17', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Leads', 'module', 90, 0),
('0e308917-67ad-4ed1-b9f0-cb7f52f72631', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOR_Scheduled_Reports', 'module', 90, 0),
('0e325952-1f83-4571-94f0-90151670dcc2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProjectTask', 'module', 90, 0),
('0f7da8a3-fa1f-489e-94f3-d23589d97fb7', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_Processed', 'module', 90, 0),
('0fe7ec95-43e6-47a9-90e6-9525efd9df54', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Address_Cache', 'module', 89, 0),
('103217b5-c352-40a2-a562-fbff06a025f2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_PDF_Templates', 'module', 90, 0),
('1077c465-1c74-4809-9863-dfa9b0737341', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionResponses', 'module', 90, 0),
('115912d7-ae58-4a95-b9bc-656fb2a2b3c9', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_KnowledgeBase', 'module', 90, 0),
('11c1df8b-a2c0-4884-a587-9c528b925697', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionResponses', 'module', 90, 0),
('12747cb6-3f14-432d-bf84-87bbcdd157a5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Project', 'module', 90, 0),
('127efdcd-980e-48a0-8554-cf2d4b183e9e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthProvider', 'module', 89, 0),
('12e6415d-67fd-4e7b-af98-30a095629861', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'InboundEmail', 'module', 90, 0),
('13caa5ba-0d02-4778-9c8b-52c44352335d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Emails', 'module', 90, 0),
('149735aa-4510-44b6-a598-1154e1e2ca8a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Invoices', 'module', 90, 0),
('1536c3e3-3f0b-486f-a82b-6127d56c0e32', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Leads', 'module', 89, 0),
('1626f6fa-412c-47e3-82b9-94f6957bb81a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'OutboundEmailAccounts', 'module', 90, 0),
('162ce96b-a15b-4876-aa87-5ca93d97bf73', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_TaskTemplates', 'module', 90, 0),
('1711e058-ad74-4c94-97fe-dd142a39e554', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Meetings', 'module', 90, 0),
('177193b4-5998-4916-848d-2757cc6f4e0f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_TaskTemplates', 'module', 90, 0),
('181d2d04-0cfe-495e-bca5-a3f845b7e196', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Events', 'module', 90, 0),
('194f70cd-54db-4398-8554-68f166188579', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Tasks', 'module', 90, 0),
('1b7a039a-9fb0-4890-a10c-74dd6ea6a487', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SecurityGroups', 'module', 90, 0),
('1bd717c5-bf0c-4251-9695-3bcea224cdce', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProjectTask', 'module', 90, 0),
('1ca7ec9a-3cf7-4a18-ba5c-50e3f7d18cb2', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Campaigns', 'module', 90, 0),
('1cc2055f-8d3b-4ec5-b1fd-98ab783173fa', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyResponses', 'module', 90, 0),
('1da5a1bc-b94b-4a06-8136-ca44c10f2157', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Alerts', 'module', 90, 0),
('1ef43a3b-ade9-49ec-9319-144143a45aad', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Markers', 'module', 90, 0),
('1fa610db-b5f8-4d89-8d67-78a70462adec', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailTemplates', 'module', 90, 0),
('1fef2a84-9e3c-49fb-b176-5c7be166e25c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Address_Cache', 'module', 90, 0),
('208e3a2e-1c35-48d4-8848-e1402154ca9a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProjectTask', 'module', 90, 0),
('21bf3d28-ab07-466b-85fa-66c39fc88b41', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyResponses', 'module', 90, 0),
('21f903f5-97ba-4e9b-a9d4-3948dc6c1644', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Documents', 'module', 90, 0),
('2233ee93-889d-4056-aaf8-106dc56967c6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_Processed', 'module', 90, 0),
('232d731b-9e5f-44f7-9a17-ac16bad09726', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Notes', 'module', 90, 0),
('2378e9ac-47b9-4e79-8ae7-f5bbedd8e5fa', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Accounts', 'module', 90, 0),
('23e56404-2b59-4797-aabd-9abb12fc67f6', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls', 'module', 90, 0),
('242ee361-4cb4-4606-adac-17bb57136adb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Contacts', 'module', 90, 0),
('24bbafcd-a8de-4704-91f2-b212a7fc8602', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthProvider', 'module', 90, 0),
('254121e5-5e3c-45d4-a1f2-67e578406e54', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailTemplates', 'module', 90, 0),
('25cc5bbd-1d78-4755-8ba5-5a5546d5b08e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_Processed', 'module', 90, 0),
('26301207-1640-4a8a-b560-ad4ad2b6d3ed', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Contracts', 'module', 90, 0),
('28029c91-086b-4657-9f6c-d2305428c6a9', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Project', 'module', 90, 0),
('2825006c-d76e-4196-83a2-e81c9994006c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Opportunities', 'module', 90, 0),
('28dfde88-29a4-484a-9fe7-077fbea2d9c3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'OutboundEmailAccounts', 'module', 90, 0),
('2990ca59-4233-4362-8654-baad45fa4192', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_WorkFlow', 'module', 90, 0),
('2a42103f-be74-4b7f-aa8b-cadfc53fd59f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'MediaObjects', 'module', 90, 0),
('2a61c4e9-d44b-4ba3-bd0b-8138cb8e7234', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestions', 'module', 89, 0),
('2ac0f21d-5f9d-4e0f-9304-80c486a1505e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_Event_Locations', 'module', 89, 0),
('2ace592b-c54b-46d9-9154-c2e4b1fdbe8a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Contacts', 'module', 90, 0),
('2bedf3e8-868b-43d7-a793-cb425273936f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Products', 'module', 90, 0),
('2c1f0f36-5d32-4e74-8c5c-c61b4bee5218', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Users', 'module', 90, 0),
('2c658f34-5c5c-4fb3-8df6-b4ea616eb90f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailTemplates', 'module', 90, 0),
('2d9b5500-fc4f-403d-b627-51106b3e2764', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EAPM', 'module', 89, 0),
('2dd2cad0-131c-4575-92b9-8865dcfc658f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Contracts', 'module', 89, 0),
('2e328e35-6f63-45eb-bfde-180d97d44192', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Bugs', 'module', 90, 0),
('2e368e44-2321-4861-921e-590edf9707e2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Areas', 'module', 90, 0),
('2ec72923-932d-4273-9403-0a39ba9684b6', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Products', 'module', 90, 0),
('2fbe942d-55f0-4be2-ac73-3ed2de5cccfd', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailMarketing', 'module', 90, 0),
('30585465-e354-4e97-886d-a1cb04d215b9', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_Processed', 'module', 90, 0),
('30b9ba10-cac1-4649-851e-5616b02ce74b', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailMarketing', 'module', 90, 0),
('317d9073-56b1-409c-9989-bc0791145c40', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProspectLists', 'module', 89, 0),
('32424381-ce9d-41a3-aad7-a53859c855ab', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Surveys', 'module', 90, 0),
('32e39bba-e506-430e-9c39-7a72fb7234a4', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthProvider', 'module', 90, 0),
('334f4e45-1977-4a4f-897b-007006b5460a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SecurityGroups', 'module', 90, 0),
('3379344f-7c2c-4cc0-a1ba-aff6eb0a91f8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Emails', 'module', 90, 0),
('33d31b50-daf1-4892-b87f-a2f6139f1475', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Emails', 'module', 90, 0),
('341d5a19-3969-45e4-9c5c-af29b439431d', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_ProjectTemplates', 'module', 90, 0),
('342a1662-363d-4e3c-9faa-a74b3b065f9d', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SecurityGroups', 'module', 89, 0),
('3479d962-61c9-41b0-8a7c-f8234a2d4728', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Surveys', 'module', 90, 0),
('348d3cb3-ec46-4d49-a18f-26cf9e8d175e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Areas', 'module', 90, 0),
('35f81b54-30f1-4e8d-a7d1-876c08603a67', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Campaigns', 'module', 90, 0),
('360b7f46-9bfb-4f55-9cfb-a7bea26a1952', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'InboundEmail', 'module', 90, 0),
('367beba6-11ff-4261-9278-42e3aa4f4e38', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Contacts', 'module', 90, 0),
('36cad564-02c5-4011-b974-98b985a8e3fb', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Quotes', 'module', 90, 0),
('36e35a9f-05f5-4185-b845-c596821cdd1e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_ProjectTemplates', 'module', 90, 0),
('376377fa-09df-4317-9de7-a7c71e2d16ba', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls_Reschedule', 'module', 89, 0),
('37cde56d-516f-4e98-a6ba-71198932f29d', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Product_Categories', 'module', 90, 0),
('3c171ee4-0b39-455d-a2cb-f649acd4c3b1', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Notes', 'module', 90, 0),
('3c5752bd-b6de-40f2-83ff-e5045533e43d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Opportunities', 'module', 90, 0),
('3cec1ecd-d2ca-4556-a906-7edd5e6dbade', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailTemplates', 'module', 90, 0),
('3cfb6749-1c60-4807-a627-124d968fd6cd', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SecurityGroups', 'module', 90, 0),
('3d188c2d-c323-4b50-9502-c8c2011eb7b5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOR_Scheduled_Reports', 'module', 89, 0),
('3d236d81-8513-404c-b4a8-b27df956b03a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Product_Categories', 'module', 90, 0),
('3e3ee88f-2f0d-447f-9972-66f721479dcf', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Calls', 'module', 89, 0),
('3ef8090e-f7cc-485d-9a80-d6dc6ceff3ec', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_ProjectTemplates', 'module', 90, 0),
('3fdbbe81-a095-4e5c-a8f0-5bc5c46d889f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Project', 'module', 90, 0),
('3fe017a2-c62c-428a-84f7-69c07dfdaa4e', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestions', 'module', 90, 0),
('4088667d-8d23-4096-9749-dd6ce3448acf', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProspectLists', 'module', 90, 0),
('42093360-f9fc-4ecd-9039-8f561f653ad2', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_PDF_Templates', 'module', 90, 0),
('423d9357-5fea-4808-aa07-ecbd8d41b63e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Users', 'module', 90, 0),
('426feef1-0785-4a2a-8b50-527641f5a5be', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Address_Cache', 'module', 90, 0),
('428829cf-6577-48f0-8e75-14a98509c5ec', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_KnowledgeBase', 'module', 90, 0),
('436d4c4d-7c22-41e1-8a11-35e4f0efa37c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'InboundEmail', 'module', 90, 0),
('43b6649c-9674-474f-8a7e-79bdad59323a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Meetings', 'module', 90, 0),
('43dd4067-9427-466a-ada8-09f2828199df', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailTemplates', 'module', 89, 0),
('441a052f-7e08-4b3e-b97f-3c9c24064711', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProjectTask', 'module', 90, 0),
('4497dff0-02e6-4336-98cd-f6a8acf6bdf1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Prospects', 'module', 90, 0),
('4529469a-2554-46d7-8f09-318ffc1e9bef', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Product_Categories', 'module', 90, 0),
('4606587d-b909-4252-acbc-0b12781d93a8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Alerts', 'module', 90, 0),
('4615b9ec-11ba-4cbd-aaa7-aa3e964c8863', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('466048e9-93df-46f7-822e-8d81fd9783d2', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Notes', 'module', 90, 0),
('471db65d-9a5a-414a-bdde-89a637ff326b', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyResponses', 'module', 90, 0),
('487a2d02-33a2-46e1-b8b2-5c341f99f032', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ExternalOAuthConnection', 'module', 90, 0),
('4896c7f7-55d4-48ea-8b01-15e8d8e31b2a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls', 'module', 90, 0),
('48c96d1c-6f91-4dc9-9515-dd82bf32ee71', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ProspectLists', 'module', 90, 0),
('49425c49-8a75-4987-82dc-36f0696b6d51', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Contracts', 'module', 90, 0),
('49c14088-889d-4493-a2be-46a780fbc27b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ProjectTask', 'module', 90, 0),
('4a442a61-6c9f-4523-8ff6-93424c5d312c', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Maps', 'module', 90, 0),
('4a4bbd4d-b695-449c-94c3-30a73288ac7e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Updates', 'module', 90, 0),
('4b0670bf-959f-4b73-bbb1-169807e78343', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Calls_Reschedule', 'module', 90, 0),
('4bbd06ee-a158-4b3d-8640-3ae33e39325d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Meetings', 'module', 90, 0),
('4bc4c542-49e6-4660-a0d6-fdc4537b67cb', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'TemplateSectionLine', 'module', 90, 0),
('4bf78e1b-e45c-46d1-8028-5cc5499bcb9b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Calls_Reschedule', 'module', 90, 0),
('4c27d0a1-b98d-4b4e-96ef-400f7558e6d7', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_KnowledgeBase', 'module', 90, 0),
('4ca28656-cbfc-4d86-8f0c-81ccafea4044', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOW_WorkFlow', 'module', 90, 0),
('4cf6d89d-dc46-4827-93b1-196bfd11bc2f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'InboundEmail', 'module', 90, 0),
('4e22c380-f816-43ce-989c-299e223c4f10', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Notes', 'module', 90, 0),
('4e339d7c-fef9-42bb-b8c0-cc648f6e139f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOW_WorkFlow', 'module', 90, 0),
('4e88c087-d050-49a6-8775-fc7a149e4166', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Contracts', 'module', 90, 0),
('4f49e5f5-e7af-4282-ac3e-e59842d5685b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Events', 'module', 90, 0),
('4f9ec508-7f56-498e-8865-9a14c40c2ced', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Events', 'module', 89, 0),
('5169a785-fad9-4743-a1e3-cb3cd646ba14', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyResponses', 'module', 90, 0),
('5230b9e1-6540-44d7-bcb4-0953d1d3931d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Tasks', 'module', 90, 0),
('5338fcaf-fc23-4c02-9d6d-401a6f923f88', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Leads', 'module', 90, 0),
('5366c7b4-c40c-48fc-982a-f692347ff380', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Users', 'module', 90, 0),
('53a27fd4-ed65-4baa-8711-82eb4b83e0c6', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Notes', 'module', 89, 0),
('55d8901d-fc6e-4d0a-9570-eddfe14d9223', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Product_Categories', 'module', 90, 0),
('56dd3d60-3a08-4877-b9a4-fe8c79495045', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_Event_Locations', 'module', 90, 0),
('5705d650-d87f-4ad2-8b25-5e945c776734', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Alerts', 'module', 90, 0),
('574832c7-7b60-4b5a-b9c3-9a6383c40159', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Quotes', 'module', 90, 0),
('58fd6a08-1149-47f1-8ff8-c06b259f0230', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionResponses', 'module', 90, 0),
('59b08fda-548f-4b18-9e58-29c4ad3499e5', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Alerts', 'module', 89, 0),
('5a7375df-9d95-4d55-aff6-3ef07baf8223', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Products', 'module', 89, 0),
('5bc21a99-2632-48b3-a897-75b05e947867', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Product_Categories', 'module', 89, 0),
('5ddcac0e-adc5-4bc2-b68a-64ef99dc09d2', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('5f0e3776-350b-45eb-a382-71d84066ce8a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Leads', 'module', 90, 0),
('5f8c6f02-abe2-4fb8-a396-8a1fc0eff8b7', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOW_WorkFlow', 'module', 90, 0),
('5fdb5248-cd27-4797-bee6-cb32fe98af90', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionOptions', 'module', 90, 0),
('6011a965-6847-4ab3-808e-3ef1ab04b3df', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Emails', 'module', 90, 0),
('60135411-26ea-48ae-bde0-0c78a157f846', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'FP_events', 'module', 89, 0),
('606810f9-d923-4883-a811-ed91ed3c49ef', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Accounts', 'module', 90, 0),
('6165084c-e896-4120-b9c7-03ad20d950fe', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Cases', 'module', 90, 0),
('61fdd816-41b6-40ec-81bd-eafc49e49431', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Accounts', 'module', 90, 0),
('621e37df-b386-4d2a-8284-62577c25ce32', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Accounts', 'module', 90, 0),
('62ce06d1-0bc0-445a-a1dd-0e5c5b449f6d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Cases', 'module', 90, 0),
('639d959f-b712-4e2f-a96a-8afe9c2cb4e4', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Notes', 'module', 90, 0),
('6403c1fd-7c4b-4f01-a42f-a0e117c3f322', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestions', 'module', 90, 0),
('64c9347f-98ad-489c-9337-b65c9b33748d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'TemplateSectionLine', 'module', 90, 0),
('657fd673-fe3e-48c6-95d8-2746a300e668', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('65b5abc8-959a-4a85-9222-c729e446e08c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_TaskTemplates', 'module', 89, 0),
('6852bf8f-bb90-46f9-8d7b-0462693be379', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Calls_Reschedule', 'module', 90, 0),
('68ae30c8-f376-42cb-bda2-131e251c4cd9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOK_KnowledgeBase', 'module', 90, 0),
('68b1da6c-e93e-4d1d-8e55-f9c6df4c63e8', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EAPM', 'module', 90, 0),
('6919fba3-720b-4254-9d5c-495b8624ebce', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProspectLists', 'module', 90, 0),
('697b995d-f06a-4bc1-a488-183950fb9172', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthProvider', 'module', 90, 0),
('697ca8a3-9f63-44ca-b19f-27e6d7d9a5cb', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EAPM', 'module', 90, 0),
('69fe3c9c-c85e-41f5-9a9e-fb7539e366b5', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyResponses', 'module', 90, 0),
('6a062930-3a8c-4152-9536-2eeb54fe36ae', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Surveys', 'module', 89, 0),
('6b00e30f-1641-4468-ba1b-663121c9280e', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('6b81cb80-0036-41a6-9cd7-054be58f35a4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyQuestionOptions', 'module', 89, 0),
('6be40240-f4b8-4e70-8651-0bde547e95af', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Invoices', 'module', 90, 0),
('6c264802-a2c2-4bc3-9526-2d0245523530', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'MediaObjects', 'module', 90, 0),
('6c38c50e-7802-4d23-900a-a7a1b0a47604', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthProvider', 'module', 90, 0),
('6c6b4d5b-5bae-4896-8b3b-ed61040b62d6', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Surveys', 'module', 90, 0),
('6d176236-ff78-434a-8b38-0bf6a0cea1cc', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestions', 'module', 90, 0),
('6d2d9177-1ca8-44ca-b0a1-14813356490c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'MediaObjects', 'module', 90, 0),
('6dca3feb-ba79-4875-a347-dd907a077e2c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Documents', 'module', 90, 0),
('6e3c60ae-d990-457b-8ee4-affd5f2beef1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Prospects', 'module', 90, 0),
('6f2926b6-58f9-4e00-9a08-f9731590571f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Documents', 'module', 90, 0),
('71dff95b-15fe-43b8-bba5-8b213d22b89d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Prospects', 'module', 90, 0),
('726ee022-1e13-456e-95e6-ff0855b590ba', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'InboundEmail', 'module', 89, 0),
('736bab9c-d290-4aaa-8423-babd13764360', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AM_ProjectTemplates', 'module', 90, 0),
('7386d3f2-e765-4c9b-821d-c0bbbef08868', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Invoices', 'module', 90, 0),
('73a55563-156e-4a3c-b832-c06f95b611fa', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailMarketing', 'module', 90, 0),
('74a1e783-9492-4716-a397-6af698a1b947', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Contracts', 'module', 90, 0),
('754ada93-9d1f-4a37-8c2e-19600c33c21c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionOptions', 'module', 90, 0),
('75643506-c79a-461c-929b-46cffc1b7527', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Maps', 'module', 90, 0),
('75870d46-143c-487d-b832-eea8a1cf99eb', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'InboundEmail', 'module', 90, 0),
('76262d81-4a2f-47e3-a282-2d48abc23ffa', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Products', 'module', 90, 0),
('7640131f-7d6d-4789-9a0d-6bd89e2028ec', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'TemplateSectionLine', 'module', 90, 0),
('765a0e83-34d0-439a-aca8-ea87f5565e8c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Products', 'module', 90, 0),
('765fd35a-ba55-4cb8-9d7a-605ba61555f6', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Users', 'module', 90, 0),
('76a1555c-153e-43f3-b9b3-b8bdd9e0bc7a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Prospects', 'module', 89, 0),
('76ef7062-6af2-490d-a42d-6d13f8f6cfb7', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyResponses', 'module', 90, 0),
('76f8892c-89b1-4671-8613-87e69834c67a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Alerts', 'module', 90, 0),
('772d1831-2c88-4b1d-9b5a-87f6d11dad6e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Maps', 'module', 90, 0),
('7772fab3-1023-4d09-81fe-969a96ee2a8c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Markers', 'module', 90, 0),
('777e1a69-02ec-48e2-b2cf-12aae4f79f31', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Prospects', 'module', 90, 0),
('791c16bd-5d06-443f-ae25-ddc87b9c80af', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls', 'module', 90, 0),
('797856e7-301e-402d-8aaf-abb6444cbf72', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProspectLists', 'module', 90, 0),
('79998708-06d8-4580-83b4-10858b31f394', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('7a662d75-f7b9-438d-ae20-17f72eb7aa7f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Updates', 'module', 90, 0),
('7ac8ba49-e805-49bb-8870-e5f24b90c027', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Documents', 'module', 89, 0),
('7c27f9a8-680f-4046-9dae-639a7a759181', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Tasks', 'module', 90, 0),
('7c5ca4ea-db57-4e7f-85bd-c2a3551a6898', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Address_Cache', 'module', 90, 0),
('7c96bd1b-8243-4391-a87f-29df7a76337d', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_PDF_Templates', 'module', 89, 0),
('7cce53aa-80a1-4f47-b99a-1f3a6fe10c8c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Campaigns', 'module', 89, 0),
('7ce8ff9d-73cb-4292-98f0-a48d5138558d', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'TemplateSectionLine', 'module', 90, 0),
('7d1be595-36b2-4878-9eed-6d2db22ed81c', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Project', 'module', 90, 0),
('808285d7-ae12-4129-9aff-b3163654ba92', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Tasks', 'module', 90, 0),
('80c16432-9c16-4e6c-a369-621e8d089d91', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ExternalOAuthConnection', 'module', 90, 0),
('8136152a-3517-4b6a-88b5-9f8e8f06be6f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Prospects', 'module', 90, 0),
('81947cce-1950-4fd4-863a-6be8a6b9678a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_events', 'module', 90, 0),
('8247b453-922e-420c-a787-6c428ade4cc2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_PDF_Templates', 'module', 90, 0),
('826a7acd-197f-43ad-b096-d745c883b6db', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'OutboundEmailAccounts', 'module', 90, 0),
('828a9bc6-e4b8-42fb-8987-0ff61cb80793', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Campaigns', 'module', 90, 0),
('83d4548e-66c7-4a30-8709-844b203727f8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ProjectTask', 'module', 90, 0),
('845c1fce-accc-4562-8ad4-08d04ba3fefd', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ExternalOAuthConnection', 'module', 89, 0),
('8513a667-80bf-4dae-8301-dfbe86fba2ff', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SecurityGroups', 'module', 90, 0),
('85836fcf-5903-4bb1-a6ca-4e856a470751', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthProvider', 'module', 90, 0),
('85a7e79f-c6b8-443d-b975-b3dfb360b281', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Maps', 'module', 90, 0),
('863d7535-4efb-4c63-9271-2f447b9d5f7d', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Documents', 'module', 90, 0),
('866ee35b-497c-4bb7-8c6e-59595e56c828', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_WorkFlow', 'module', 89, 0),
('87185eb1-722a-4854-b7da-9bea46003d63', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Campaigns', 'module', 90, 0),
('8944148b-3439-4520-baec-d2c3f8cd3b3b', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'InboundEmail', 'module', 90, 0),
('89b9a1e9-6ed9-4943-96b0-e5ac6b6a2d14', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EAPM', 'module', 90, 0),
('89cf8587-1202-407a-bbcd-7161dccb1e12', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_PDF_Templates', 'module', 90, 0),
('8adf25b6-7285-43ff-87e8-e3be36ad6828', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EmailMarketing', 'module', 90, 0),
('8b0104fb-aee1-47e7-b55c-21140e7db7bb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SurveyQuestionOptions', 'module', 90, 0),
('8c1aa2a8-10f9-4c58-8a1d-47f6c504f280', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOK_KnowledgeBase', 'module', 90, 0),
('8c3dcf8a-2613-42b2-9fab-99a07816ff2b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Markers', 'module', 90, 0),
('8db03a36-6d3a-4f4c-91dc-a3591c6ebdd6', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Opportunities', 'module', 90, 0),
('8f2e454b-4017-4e11-b332-31e172612106', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls_Reschedule', 'module', 90, 0),
('8f50b2b3-6ad7-4968-b678-3943cc84cfb5', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestions', 'module', 90, 0),
('8f52a88f-d06d-44d0-88d8-941c9220c173', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Surveys', 'module', 90, 0),
('902ffd94-f30e-43b9-a477-d15be291cfb8', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Areas', 'module', 89, 0),
('904fb245-f40f-423f-a4ad-a366ba749b7c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EAPM', 'module', 90, 0),
('90b45e81-2829-48cd-b38c-cc000b2960d5', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Scheduled_Reports', 'module', 90, 0),
('90ce7eb6-1311-4724-8349-08a85db2f3b7', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SecurityGroups', 'module', 90, 0),
('919b9612-9169-4fc6-8b73-ce4ef9801037', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Quotes', 'module', 90, 0),
('91f0233c-15f7-4ca7-84e2-66f99cf79d3a', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Meetings', 'module', 89, 0),
('93c75387-1e49-419d-ad02-9d2c435f72a0', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'SurveyResponses', 'module', 89, 0),
('952acf40-8994-48a4-8040-9db5323b4607', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Bugs', 'module', 90, 0),
('953feaf8-dfb9-433c-a40c-13ffa1d49a91', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestionOptions', 'module', 90, 0),
('959e25da-1030-4433-be23-209bb1523516', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestions', 'module', 90, 0),
('95babf73-bab2-47b4-9fc1-6374bc0f565a', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestionOptions', 'module', 90, 0),
('96854c95-ddea-497f-ba3f-d126bdb0fbce', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'TemplateSectionLine', 'module', 90, 0),
('972e805e-67c6-4900-8153-214e83bc9739', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'EAPM', 'module', 90, 0),
('97f976fc-07f0-4031-8862-355d486045c2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_events', 'module', 90, 0),
('9953caa1-742c-4f0f-a69f-f70d9629cbe9', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Users', 'module', 90, 0),
('999f139f-d015-4150-85fa-8fdbf58625c2', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'EmailMarketing', 'module', 90, 0),
('9a255f77-5d9e-4c2c-8ad4-c4a5f943abce', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_Product_Categories', 'module', 90, 0),
('9a37f732-f57a-4eb1-9ad8-c25bd3d308ec', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Cases', 'module', 89, 0),
('9bf49c66-f30c-45e5-95f4-d033740844d9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Quotes', 'module', 90, 0),
('9cc1a509-34e1-4c77-bf19-260c0e0be36d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Calls_Reschedule', 'module', 90, 0),
('9e2a6d1e-db82-46e2-985a-1137bbc8a04f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'jjwg_Markers', 'module', 90, 0),
('9e2f6b05-3d42-41e2-a783-b08fb6d056c0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthConnection', 'module', 90, 0),
('9e7eaea2-638b-4115-a8ef-023715bfbc80', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'OutboundEmailAccounts', 'module', 90, 0),
('9e960be4-63c7-40cd-b63a-2442ed065c45', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Areas', 'module', 90, 0),
('9ed8edae-e532-4b36-aed1-df07a8160dee', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Invoices', 'module', 90, 0),
('9f51ce0e-c5f3-471a-b3f7-49c8df56acc3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOP_Case_Events', 'module', 90, 0),
('a05c09ef-4970-479f-a990-2ed9b215da6e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ExternalOAuthConnection', 'module', 90, 0),
('a0620cc5-ba5d-41b2-80be-1b4f80eef2b8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'TemplateSectionLine', 'module', 90, 0),
('a06a9e9c-ff24-402d-8a9e-cbd440a5b04e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOS_Products', 'module', 90, 0),
('a16c9b93-389a-4c20-96df-0da53c447dc4', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_KnowledgeBase', 'module', 89, 0),
('a273d2da-271f-4fe6-b631-dd8ce48baa90', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'TemplateSectionLine', 'module', 89, 0),
('a3a35402-c424-40c1-a4b2-8528b29c80e6', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'jjwg_Markers', 'module', 90, 0),
('a4068328-20f8-4552-8b3f-67e651fd8858', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOP_Case_Events', 'module', 90, 0),
('a425503b-6e92-466d-8b87-be992f88a8a6', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'jjwg_Maps', 'module', 90, 0),
('a50591b9-c561-46d6-9839-82024ad6d8aa', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'FP_Event_Locations', 'module', 90, 0),
('a65e69e5-e6c5-4539-845e-4c7a51235108', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOP_Case_Events', 'module', 90, 0),
('a6c44a2b-1852-418a-a46f-de44ae0f7c45', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'OutboundEmailAccounts', 'module', 90, 0),
('a8a51f9c-dd79-4140-b5f1-88df12f81677', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'SurveyQuestions', 'module', 90, 0),
('a8c0b28d-27b9-4d7a-ba8b-7a4e1521f4e6', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Calls', 'module', 90, 0),
('a93830e2-1d56-4225-9f0d-4dd3305676d0', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Bugs', 'module', 90, 0),
('a940aa86-d7e4-417d-a343-58cad9a5e39f', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Contacts', 'module', 89, 0),
('aa2d40b2-0000-4e14-ad21-cacbedf926e9', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AM_TaskTemplates', 'module', 90, 0),
('aabc3922-c384-4728-b01f-bbd878e84b8f', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Notes', 'module', 90, 0),
('aabe7596-e42d-417d-a204-cdf87c9dfd56', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Project', 'module', 90, 0),
('ab114999-ab28-4653-b548-ce5d60dab5b1', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Reports', 'module', 90, 0),
('ab4889b8-47d1-42c1-924c-ab337a4c2629', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Markers', 'module', 90, 0),
('ab87ebcc-f950-43e2-91bd-6bfe1911e3d8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Alerts', 'module', 90, 0),
('ac100fa3-0a73-4723-a29a-5be93bc1c4b1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Contacts', 'module', 90, 0),
('ac2d3e50-c099-482b-87dc-39180f049859', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'MediaObjects', 'module', 90, 0),
('ac3e8a8c-b9b5-4a06-a485-37e5e7faf068', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Updates', 'module', 90, 0),
('ac640d1f-216c-4478-ac55-b702adea049c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'EmailMarketing', 'module', 90, 0),
('acd26c66-c10e-4424-bd3e-60b565d7502e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOK_Knowledge_Base_Categories', 'module', 89, 0),
('ad1cd7c0-b44d-405a-b0f4-f530a36b330f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Tasks', 'module', 90, 0),
('ad324ffe-0639-4033-abe8-6bdab877c345', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Scheduled_Reports', 'module', 90, 0),
('ad71b03e-558d-4957-bbe1-8c33d6f6688f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Contracts', 'module', 90, 0),
('adc0a880-fee7-4f5d-9433-5840ac40067f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Reports', 'module', 90, 0),
('aeb24776-a50d-45a9-b136-05c18eb3a372', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_TaskTemplates', 'module', 90, 0),
('af0be7da-415d-435a-b50e-1cca45dd80a9', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Meetings', 'module', 90, 0),
('af9b2efe-b26b-4167-bdfe-0f35f7b8da9f', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Prospects', 'module', 90, 0),
('b02ff1bf-0019-4784-a656-ce553209ff55', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOW_Processed', 'module', 90, 0),
('b0443f34-c547-48d2-abca-45f26ea1a32f', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'ProspectLists', 'module', 90, 0),
('b238e298-4ea6-477c-93ca-d934c4edff88', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOP_Case_Updates', 'module', 90, 0),
('b24cce9c-8a82-4263-8fa3-06097919a8ec', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'TemplateSectionLine', 'module', 90, 0),
('b27fa439-cd3f-43ce-9d1b-96bab7985d74', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'SurveyQuestions', 'module', 90, 0),
('b3ae8724-f83f-4349-a2f0-ed581dfb02f0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_PDF_Templates', 'module', 90, 0),
('b4b76768-5677-484b-a5f7-f1ce11c62639', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Scheduled_Reports', 'module', 90, 0),
('b640d63f-356d-4be9-97b8-1436ab3a8688', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Areas', 'module', 90, 0),
('b6e1d43e-fbae-4886-85ec-bdb3392f4c2e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_Event_Locations', 'module', 90, 0),
('b6ebf197-60e8-4a7e-9c83-6b4c5fb96c7b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Scheduled_Reports', 'module', 90, 0),
('b6f03256-a3d4-4b81-82b3-53c730d244e2', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Accounts', 'module', 90, 0),
('b702e592-0693-49b9-9c24-426f55930e6a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_events', 'module', 90, 0),
('b75aaf93-eb62-40f1-a893-fcc4832c3930', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'SurveyQuestionResponses', 'module', 90, 0),
('b82db060-10c8-48b5-9385-e9e9f574022a', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_events', 'module', 90, 0),
('b84b0951-3568-4146-b7ad-d296d101d719', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'ExternalOAuthConnection', 'module', 90, 0),
('b897dcd9-1a8a-4774-b60b-761e78ebbf53', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Accounts', 'module', 90, 0),
('b8c923ad-f1f0-474b-b428-38a12de4918c', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_Processed', 'module', 90, 0),
('b96c2a2f-711b-4c18-93d6-4533991eaec1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Tasks', 'module', 90, 0),
('b9d4e758-c89b-4407-8d60-e350c89299be', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_TaskTemplates', 'module', 90, 0),
('ba61e308-2692-4083-87a1-d461b4f2f86b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOW_Processed', 'module', 89, 0),
('bacbca5d-fe56-4b3d-9afc-271c7301ea5a', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOS_PDF_Templates', 'module', 90, 0),
('bd989a9e-e4b4-4a54-a276-eb96b656754e', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'InboundEmail', 'module', 90, 0),
('bd9fa2b9-c893-4fe7-8b2b-7fb2c40ff130', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EmailTemplates', 'module', 90, 0),
('bdbc917e-86e6-4585-b29b-bb7cbaeff74a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthProvider', 'module', 90, 0),
('bdc772ae-717d-475e-8f01-ad380e2a3821', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'FP_Event_Locations', 'module', 90, 0),
('bed13039-e8ba-4e80-adac-cc13c9377b96', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Areas', 'module', 90, 0),
('bfc5c6db-a252-45e8-a208-a35c8ef109b6', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Meetings', 'module', 90, 0),
('bfd081de-ac03-48af-a31b-25e3e74307ba', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Contracts', 'module', 90, 0),
('bffb652e-4227-4f9e-b0b1-c4cb89effec2', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Project', 'module', 89, 0),
('c1c65aa0-0743-4bdc-bdae-c1e6b65ff0ea', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'FP_events', 'module', 90, 0),
('c1e7200a-6115-4d9a-a2c7-ffb01d766e83', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'SecurityGroups', 'module', 90, 0),
('c1fd27fb-524c-44fa-b7c8-5f6302155e1d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Leads', 'module', 90, 0),
('c226e692-d4c4-4010-b389-feadb8dccdae', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_Processed', 'module', 90, 0),
('c2369257-96e9-46ee-854c-c27298c0fe45', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Campaigns', 'module', 90, 0),
('c2b06474-6a2b-45f5-ab2d-d17b0dde057b', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'EmailMarketing', 'module', 90, 0),
('c486afb3-fb06-4ea0-96f6-b65f61db2f8b', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'OutboundEmailAccounts', 'module', 89, 0),
('c4cfa278-94b4-4125-90a3-ad4591c95d43', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_PDF_Templates', 'module', 90, 0),
('c4d8c8e3-d92b-4944-ad29-9598fe8a3580', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AM_TaskTemplates', 'module', 90, 0),
('c65ce5bf-72b6-409f-a525-428a46a50118', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EmailTemplates', 'module', 90, 0),
('c7174b73-3e14-4040-addb-7bd0a0da8823', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOP_Case_Updates', 'module', 90, 0),
('c7cc11ce-8d44-45d2-b0a5-a1d8955b1da7', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'EAPM', 'module', 90, 0),
('c7e75d08-c134-4f22-a8a6-5158e41d70bc', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Maps', 'module', 89, 0),
('c907231f-dcd7-463b-86d5-6e7d0e52071f', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AM_ProjectTemplates', 'module', 90, 0),
('c995545f-84cd-4e7e-931e-c1ea6bb0853c', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOR_Reports', 'module', 90, 0),
('cae3949e-ffae-4177-8b65-e72a7f7b68f8', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Users', 'module', 90, 0),
('caf2a60e-9a42-4e5c-bdd5-f69eaf0de63e', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Address_Cache', 'module', 90, 0),
('cb7829a0-adbf-4d8f-8e45-c7b4a6702902', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AM_ProjectTemplates', 'module', 90, 0),
('cbdbf593-84cb-42c9-8888-e7a077957b5d', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Bugs', 'module', 90, 0),
('cc47c6b3-99a9-418e-a336-a4fcdd64bded', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Invoices', 'module', 90, 0),
('cc5ef5e9-bddd-4b5f-9401-c27b4b3ca933', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ProspectLists', 'module', 90, 0),
('cd96f5a8-f375-43f6-8d5f-6877eb334cf1', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyResponses', 'module', 90, 0),
('cddb5e24-ea58-47b5-ad57-190e02a6e97d', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Invoices', 'module', 90, 0),
('cdecbf9f-fb5b-49ae-96a8-3488b3b55914', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Contracts', 'module', 90, 0);
INSERT INTO `acl_actions` VALUES
('ce4cc835-72fd-49f7-bbbb-322f6202a801', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'EAPM', 'module', 90, 0),
('ce6ae186-5a5e-4cb7-9aaa-ad66b77652dd', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'MediaObjects', 'module', 89, 0),
('cedf1738-7b04-47ac-a938-50cc64578b52', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'ExternalOAuthConnection', 'module', 90, 0),
('cf2a71c0-e914-46e3-a75a-d441aa4bcaee', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOR_Scheduled_Reports', 'module', 90, 0),
('cf92e6cc-76c8-4763-8fbf-37ce1a809e57', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Users', 'module', 89, 0),
('cffa4e03-3c48-45d8-b9e9-7914b7e203f1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Notes', 'module', 90, 0),
('d08f8a1b-b1f9-48d3-ba34-4774c30f4992', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOW_WorkFlow', 'module', 90, 0),
('d0f34899-a2b8-481a-98df-963e2e42358c', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Cases', 'module', 90, 0),
('d142de81-7c44-4d01-8af3-e63e200f4e3c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Cases', 'module', 90, 0),
('d1b99383-e960-42c9-9281-539399c5833e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Bugs', 'module', 90, 0),
('d2360e79-db7b-4f9d-b20a-33e0b4be473f', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'SurveyQuestionResponses', 'module', 90, 0),
('d252799b-f64e-4acf-bc8e-f276a0c49325', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOS_Quotes', 'module', 90, 0),
('d2aece30-eb73-428b-a92b-271186faf9d7', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Opportunities', 'module', 90, 0),
('d31dbfc8-a783-47e3-b763-b92991658d30', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Quotes', 'module', 90, 0),
('d3bb883c-31ee-445e-ac0b-bba30220dc0f', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOS_Product_Categories', 'module', 90, 0),
('d408e24e-1dae-4856-abed-e9b040e39eb1', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Leads', 'module', 90, 0),
('d472410a-2fd3-406c-8c68-e0a3fa76d7f3', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOW_WorkFlow', 'module', 90, 0),
('d5476b0a-d677-43ac-9e32-a61719e69294', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'EmailTemplates', 'module', 90, 0),
('d562335b-a99a-43ed-8af6-098105a541ad', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOP_Case_Updates', 'module', 89, 0),
('d668e12e-32fd-4f5a-9347-f520e06e20fd', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('d6f2b54c-b41c-4701-9d36-57e8177bcf4a', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'OutboundEmailAccounts', 'module', 90, 0),
('d7825e17-df71-4eeb-b833-13a2c21cf1ad', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls', 'module', 90, 0),
('d7b2e9c9-47bf-47aa-9912-4fbcce38f8c6', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Maps', 'module', 90, 0),
('d7d5a999-0a51-48b5-9cc0-ecd825ca4a9b', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Accounts', 'module', 90, 0),
('d894e27a-7b59-4c0a-aed1-f27d30034e64', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'MediaObjects', 'module', 90, 0),
('d8dbcca2-1c21-4f87-b2f1-1378dd192ae4', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'ExternalOAuthProvider', 'module', 90, 0),
('da80e2d5-dd95-46dd-a8e5-50de45fcf4c8', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Cases', 'module', 90, 0),
('da989888-a4d2-4047-a3ab-5ea1ee11c701', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AM_ProjectTemplates', 'module', 89, 0),
('db8ccf1c-3dca-45fd-8b9c-8d98d29460e1', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls_Reschedule', 'module', 90, 0),
('dcd7be2e-f4e9-494d-9a5e-229156e044d5', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Surveys', 'module', 90, 0),
('dd0784dd-650d-44f7-a44f-8eba406af75c', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOR_Reports', 'module', 90, 0),
('dde7dc6e-e671-46ac-8d2a-cc4de36bce7e', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'jjwg_Markers', 'module', 89, 0),
('dea469ed-9c0c-45d3-aa58-d2f1de2f1124', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Contacts', 'module', 90, 0),
('df0fcba9-822e-46c7-bcd7-ef86850a375a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'MediaObjects', 'module', 90, 0),
('dfb8015d-c0af-429d-8fac-9bc968abda56', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AM_ProjectTemplates', 'module', 90, 0),
('e0448cf5-78dc-4370-8189-dd2d7228e47e', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'AOP_Case_Events', 'module', 90, 0),
('e193629d-36d4-4760-9664-c4e821af23be', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Opportunities', 'module', 90, 0),
('e1d16d50-ff44-4c42-8c8e-e96fe79ff3a0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Calls_Reschedule', 'module', 90, 0),
('e1d9e149-11ad-4cf1-8cc2-56360fcc9c0c', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'EmailMarketing', 'module', 89, 0),
('e2015c0d-d0ed-4337-880c-b8fee8f1f877', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Project', 'module', 90, 0),
('e235efa8-ce40-42a9-9796-8c4510c597c0', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'jjwg_Maps', 'module', 90, 0),
('e245250e-493c-4b4a-831d-fe978a9cac43', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Surveys', 'module', 90, 0),
('e2a2573d-570b-4795-8a0b-bf26f2afc7a7', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOR_Reports', 'module', 90, 0),
('e2d1fff4-8bfd-49d0-bfce-192f64f013b2', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'jjwg_Markers', 'module', 90, 0),
('e3bf3330-00a2-405b-9db6-d86c22157ce7', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'Emails', 'module', 90, 0),
('e3d162e2-6ea1-4733-8234-203201627e36', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOS_Product_Categories', 'module', 90, 0),
('e4c71197-1576-4bf4-9e56-5b89e7e6e1ee', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Invoices', 'module', 89, 0),
('e4e0aa20-bd98-445f-ae49-78e677012db0', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Leads', 'module', 90, 0),
('e5143b10-5a5d-4827-869e-2180d03c34f2', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Bugs', 'module', 90, 0),
('e5512bdb-312b-4328-9ecd-d242b6bccc2a', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Contacts', 'module', 90, 0),
('e5913e2f-0f42-4e62-97b5-0bd3d5619974', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'ProjectTask', 'module', 89, 0),
('e6f8ed6b-266a-435c-b99a-e019aa133223', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'Documents', 'module', 90, 0),
('e7942c16-42c5-4b38-b672-2fa66e1fdca9', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Project', 'module', 90, 0),
('e8359762-7154-42a7-a068-0838c4ed645b', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'AOW_WorkFlow', 'module', 90, 0),
('e8df11e0-adbf-48d6-8c38-45390b7d86ad', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Documents', 'module', 90, 0),
('e8fc316d-0ae0-4af9-baec-654c23e0e9df', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'AOS_Quotes', 'module', 89, 0),
('e9a71b1a-f441-4c33-89ed-2da45a909004', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Users', 'module', 90, 0),
('e9b9e7d2-3a7c-4bb3-8dfe-e76b56978db3', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'ExternalOAuthConnection', 'module', 90, 0),
('eabc7bad-b45e-4430-865e-cdbfd1061899', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'AOR_Scheduled_Reports', 'module', 90, 0),
('ead7a819-339b-4842-8d11-271025d13b00', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Opportunities', 'module', 90, 0),
('eae8ad4a-6f6b-40cd-b3ab-4d01631b07e8', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Bugs', 'module', 89, 0),
('eaef22a3-e322-4455-8a8f-76f401e2522d', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Meetings', 'module', 90, 0),
('eb1624f3-7f2a-4781-9178-d16bafbb81d4', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'ProjectTask', 'module', 90, 0),
('eda8cecb-f7f3-4930-b1fd-882930113e13', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SecurityGroups', 'module', 90, 0),
('ee4a18f1-643f-43cb-9486-37f36de432c1', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'AOR_Reports', 'module', 90, 0),
('ee9cfb52-4d1a-49a1-861a-46a6b108da80', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'FP_events', 'module', 90, 0),
('eee058aa-17b7-4094-9ace-f73a0045b725', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Leads', 'module', 90, 0),
('eeef8df0-d1ec-442f-8cb3-d133a84c838e', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Prospects', 'module', 90, 0),
('ef3fce70-9835-46dd-bb41-b4cc410a85b7', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'FP_Event_Locations', 'module', 90, 0),
('f0c77e02-aa49-4759-9f8e-f74a7d490bac', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionOptions', 'module', 90, 0),
('f2413d3c-5079-4567-a232-a968aa2048a5', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AM_TaskTemplates', 'module', 90, 0),
('f355f738-535a-4efe-a24c-216504b4c1b3', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'FP_Event_Locations', 'module', 90, 0),
('f42f0118-f79c-4338-adbd-47be0e0a3764', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'SurveyQuestionResponses', 'module', 90, 0),
('f54d7b19-06a7-4c0a-8b0d-40899b3e7b4c', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'ProspectLists', 'module', 90, 0),
('f59a8607-fa8e-4221-84f8-7469405c45a8', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Tasks', 'module', 90, 0),
('f64b6c53-20bd-4ca8-97a1-9414caa418c2', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Calls', 'module', 90, 0),
('f68dbe50-cff7-44f7-9584-d0d1328e1025', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Cases', 'module', 90, 0),
('f7fc62a5-b625-4137-8174-8dca92600499', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'Emails', 'module', 90, 0),
('f8b1bab4-88b8-477f-acca-5052d23298bb', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'Cases', 'module', 90, 0),
('f970a8f6-5eec-4436-8b84-4767d61222db', '[[regtime]]', '[[regtime]]', '1', '', 'massupdate', 'FP_events', 'module', 90, 0),
('f9c99ada-7721-4fde-9a20-3de08966e408', '[[regtime]]', '[[regtime]]', '1', '', 'list', 'AOP_Case_Events', 'module', 90, 0),
('fa198f93-5ced-4bbc-9e9d-24dd232d92c1', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Address_Cache', 'module', 90, 0),
('fa23bdd3-a751-4b8d-8ae1-1b735130cc24', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOS_Quotes', 'module', 90, 0),
('fa2ef909-0140-450e-be31-c977b7cdedab', '[[regtime]]', '[[regtime]]', '1', '', 'edit', 'Bugs', 'module', 90, 0),
('fa51f857-4432-48b2-a6a0-b537e6f0bcc9', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Tasks', 'module', 89, 0),
('fbb6089e-e401-491c-9a35-b912289ea363', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'OutboundEmailAccounts', 'module', 90, 0),
('fc4f5d4a-31a4-47a7-a8cf-8e21803946fc', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'AOK_Knowledge_Base_Categories', 'module', 90, 0),
('fc5553cd-9ef2-42f3-876f-10ba07e8c0b1', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'jjwg_Address_Cache', 'module', 90, 0),
('fcb6b293-5b47-4d02-8be1-d16bc579b575', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Opportunities', 'module', 90, 0),
('fcc4fff0-796f-43b8-90f1-3c10b02defd8', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'AOS_Products', 'module', 90, 0),
('fe0a0f33-902d-4921-b9a6-318dff07a32a', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'Campaigns', 'module', 90, 0),
('fee562f1-fc17-4b13-bc96-330c6607e488', '[[regtime]]', '[[regtime]]', '1', '', 'import', 'SurveyQuestionOptions', 'module', 90, 0),
('feee6863-76a5-43e1-9bc1-525a31c8e6b1', '[[regtime]]', '[[regtime]]', '1', '', 'view', 'Alerts', 'module', 90, 0),
('ff0ed774-6102-4c96-8bab-4e895c786c60', '[[regtime]]', '[[regtime]]', '1', '', 'delete', 'MediaObjects', 'module', 90, 0),
('ff42f42b-0226-4020-9dd2-93956311792a', '[[regtime]]', '[[regtime]]', '1', '', 'export', 'jjwg_Areas', 'module', 90, 0),
('fff45be7-e79f-40aa-a7b3-6329b20e64cd', '[[regtime]]', '[[regtime]]', '1', '', 'access', 'Accounts', 'module', 89, 0);
-- --------------------------------------------------------
--
-- Table structure for table `acl_roles`
--
CREATE TABLE `acl_roles` (
`id` char(36) NOT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`name` varchar(150) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_aclrole_id_del` (`id`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=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_creation_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Case Creation', 'Template to send to a contact when a case is received from them.', '$acase_name [CASE:$acase_case_number]', 'Hi $contact_first_name $contact_last_name,\n\n We''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered\n Status: $acase_status\n Reference: $acase_case_number\n Description: $acase_description', '<p> Hi $contact_first_name $contact_last_name,</p>\n <p>We''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered</p>\n <table border="0"><tbody>\n <tr><td>Status</td><td>$acase_status</td></tr>\n <tr><td>Reference</td><td>$acase_case_number</td></tr>\n <tr><td>Description</td><td>$acase_description</td></tr>\n </tbody></table>', 0, NULL, NULL, 'system'),
('[[case_closure_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Case Closure', 'Template for informing a contact that their case has been closed.', '$acase_name [CASE:$acase_case_number] closed', 'Hi $contact_first_name $contact_last_name,\n\n Your case $acase_name (# $acase_case_number) has been closed on $acase_date_entered\n Status: $acase_status\n Reference: $acase_case_number\n Resolution: $acase_resolution', '<p> Hi $contact_first_name $contact_last_name,</p>\n <p>Your case $acase_name (# $acase_case_number) has been closed on $acase_date_entered</p>\n <table border="0"><tbody>\n <tr><td>Status</td><td>$acase_status</td></tr>\n <tr><td>Reference</td><td>$acase_case_number</td></tr>\n <tr><td>Resolution</td><td>$acase_resolution</td></tr>\n </tbody></table>', 0, NULL, NULL, 'system'),
('[[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'),
('ba49f96e-4443-4998-9c24-3b8f2709b590', '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'),
('[[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'),
('[[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'),
('[[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'),
('[[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');
-- --------------------------------------------------------
--
-- 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
('69dd0ce1-71a8-40db-a1d1-11671c87cf84', '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
('00a5b372-d4c7-4a53-8a3b-627da3355f9d', 'meetings_notes', 'Meetings', 'meetings', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('00a97e75-1d0e-4281-8f85-bf407684e6eb', '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),
('00cbf89f-8caf-4580-b740-84f6c291751c', 'surveyresponses_created_by', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('02d7709c-8fba-44b5-a4fd-a47b088916c3', 'campaign_campaigntrakers', 'Campaigns', 'campaigns', 'id', 'CampaignTrackers', 'campaign_trkrs', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('040353aa-89ac-4fc9-9793-3e919005ec58', 'aos_contracts_tasks', 'AOS_Contracts', 'aos_contracts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('040c1080-485a-4f45-8266-901421c18e4e', 'aos_products_created_by', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('05742c93-9ab1-49e4-b836-4b8f821c781a', 'project_tasks_meetings', 'ProjectTask', 'project_task', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('06069e21-e215-44b3-9a60-ee49eba74dfe', 'emails_bugs_rel', 'Emails', 'emails', 'id', 'Bugs', 'bugs', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Bugs', 0, 0),
('0682f4c1-dc08-42df-9e3e-17b4f2011863', 'calls_leads', 'Calls', 'calls', 'id', 'Leads', 'leads', 'id', 'calls_leads', 'call_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('068a0b07-69ee-4f0b-bb7d-41f612397a9d', 'email_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'Emails', 'emails', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('06ad03a9-4e75-4843-9138-fa623ca79658', '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),
('06ccd79f-9f92-408c-801d-cd1a91cd3fbd', 'project_tasks_modified_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0751bee9-1e0f-41fa-9bca-dc222e089e30', 'contacts_created_by', 'Users', 'users', 'id', 'Contacts', 'contacts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('078b760b-3cc3-4693-9dde-e67dad0e7ac0', '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),
('08104f6e-ac20-49ee-a832-a77a5bab79e8', 'surveyquestions_modified_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('08c6e971-63ba-402b-927c-c34c4be3fabe', 'jjwg_Maps_leads', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('09d04d5f-cb70-43bc-8715-855325435cb0', '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),
('0a556f49-4d01-40b9-8f54-2fcbb3be86b0', 'documents_assigned_user', 'Users', 'users', 'id', 'Documents', 'documents', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0b095366-a2c8-4931-8673-10208c507cb5', 'contact_notes_parent', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('0b2b98c1-36a6-486e-b0a2-f0931bd4412c', 'lead_direct_reports', 'Leads', 'leads', 'id', 'Leads', 'leads', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0b88807d-e681-432e-a26c-36bd9adf6cbe', '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),
('0ba7556a-c8da-4755-90c7-eac06c79bf3d', 'aor_reports_assigned_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0bd8223d-e9e2-4291-a957-288606f0da2c', '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),
('0c1a3f64-24a3-4e4c-adec-99a4191a5cce', '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),
('0cd62152-bc2a-4588-8d04-b0f705476e55', 'schedulersjobs_assigned_user', 'Users', 'users', 'id', 'SchedulersJobs', 'job_queue', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0dd334f4-aa3b-43b9-a580-25da56785e40', 'calls_users', 'Calls', 'calls', 'id', 'Users', 'users', 'id', 'calls_users', 'call_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('0dd7cd50-73d9-4872-9c58-559ba10ccbc4', 'opportunities_created_by', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0e3e13bf-bb2b-4db7-8875-527055e16d9e', 'bugs_modified_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0e9306a5-9932-4e0b-9b3d-2120254a3935', 'project_tasks_emails', 'ProjectTask', 'project_task', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('0f38581f-aaef-44d1-833b-671cfb663650', 'campaign_contacts', 'Campaigns', 'campaigns', 'id', 'Contacts', 'contacts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('0fed634c-b27e-4951-9983-b74a1de1cbc4', 'opportunities_contacts', 'Opportunities', 'opportunities', 'id', 'Contacts', 'contacts', 'id', 'opportunities_contacts', 'opportunity_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('1079dcab-f8e9-4d62-8788-8b84a405599c', 'eapm_modified_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('123d5851-e6b1-4d3a-9a6a-a2efd6f4bc7a', '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),
('12e1bf7e-2801-49d7-a563-45793535430f', 'unified_search', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('133c3aca-b609-4dd0-b9a2-2c56095bda28', 'campaigns_created_by', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('142b6371-9fa6-4582-8a15-57528dde8089', 'accounts_created_by', 'Users', 'users', 'id', 'Accounts', 'accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('14e89c08-d415-4a38-b5b6-f9124b86cb22', 'campaign_campaignlog', 'Campaigns', 'campaigns', 'id', 'CampaignLog', 'campaign_log', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('158758bb-9fee-498d-8e93-189327c93076', 'calls_modified_user', 'Users', 'users', 'id', 'Calls', 'calls', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('15e5e56e-cf53-4389-8930-6b0f5a6d4ab8', 'campaign_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('15fb1d68-6f72-4062-92ff-66ddcb8dd480', '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),
('162a88d4-6c5a-4a28-809c-bfbc21c5718f', '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),
('1730eaf7-2341-4660-bdc0-62aa2275b931', 'jjwg_areas_modified_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('17ed5c27-c18c-4c9e-91f0-875ae2ed80dc', '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),
('183e79b3-41e4-48e8-bc39-b5c22565d249', 'prospect_calls', 'Prospects', 'prospects', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('188d2ea6-001b-4a0b-93f0-f0254f019523', 'aow_workflow_created_by', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('191ddd1b-7a88-4e74-9484-b3aa871f45b8', 'contacts_bugs', 'Contacts', 'contacts', 'id', 'Bugs', 'bugs', 'id', 'contacts_bugs', 'contact_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('1b5f9fcb-6453-4692-906e-527ee23cb10e', 'lead_campaign_log', 'Leads', 'leads', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Leads', 0, 0),
('1c964d35-5f9e-4be7-a28a-d0ef67e7f055', 'securitygroups_surveyresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyResponses', 'surveyresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyResponses', 0, 0),
('1ea248c1-8b20-4dea-90c9-fec4918cb0e3', 'surveys_surveyresponses', 'Surveys', 'surveys', 'id', 'SurveyResponses', 'surveyresponses', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('1f8aecd1-7e06-4da6-9983-2da8cf3f54e2', 'securitygroups_outboundemailaccounts', 'SecurityGroups', 'securitygroups', 'id', 'OutboundEmailAccounts', 'outbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'OutboundEmailAccounts', 0, 0),
('1fa7f407-2a9f-4647-9a48-65c9fc0fdaf3', 'prospects_created_by', 'Users', 'users', 'id', 'Prospects', 'prospects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2088b16b-68c8-4341-8062-f69e679faf5f', 'eapm_created_by', 'Users', 'users', 'id', 'EAPM', 'eapm', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('20bef2f2-a1a0-43b3-b6e7-8a32f3b761e8', 'surveyquestionoptions_created_by', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('216b2584-6af7-42ba-bb07-16ee5ed6e9fc', 'sugarfeed_created_by', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('227b465d-f728-4fa6-8fab-970e4eb1d676', 'contact_direct_reports', 'Contacts', 'contacts', 'id', 'Contacts', 'contacts', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('228ebf97-fa9e-4cae-b062-07017b8d1c96', 'jjwg_areas_assigned_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('240ac8e4-122b-4eed-9c0e-506f0c1cfd68', '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),
('241ceecc-0416-408e-b7d9-e6ab9c9aeaf0', 'securitygroups_surveys', 'SecurityGroups', 'securitygroups', 'id', 'Surveys', 'surveys', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Surveys', 0, 0),
('2497a05d-bbaf-42bf-ab04-1739e37297de', '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),
('24f4a033-fb6d-4f7d-8383-7ac45799bafc', 'mediaobjects_created_by', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('24fd1f02-82d2-4f9a-83a9-f3927b0d6f3f', 'inbound_email_modified_user_id', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('2506432d-32ec-48dc-98b0-fb87557ae82a', 'oauth2clients_created_by', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('25cf228e-58ee-4263-99ef-a40df2d03b22', 'surveys_modified_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2617d069-31b7-4aa2-9097-2fb16900a421', 'oauthkeys_created_by', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('26e152ce-6f60-4150-9eb7-3390dc6dbe7f', 'opportunity_meetings', 'Opportunities', 'opportunities', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('27a317d4-e40b-4f01-ac12-c0ddd0c31656', '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),
('28d5e6be-666b-497c-a338-363aeae29faa', 'aor_fields_modified_user', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2909beab-c3a7-4a45-816b-42da94b2a4da', '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),
('29c0f44a-55ff-41ad-b72d-019ba9c37a0e', '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),
('2a9f0c0e-c072-45ca-a2f1-0f63399b4d5b', 'aor_reports_modified_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2b199dc2-b5c4-4c9a-b3cb-3a7255369927', 'surveys_surveyquestions', 'Surveys', 'surveys', 'id', 'SurveyQuestions', 'surveyquestions', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2b9e303c-e816-40bd-8506-3be5aeba4b8e', 'leads_assigned_user', 'Users', 'users', 'id', 'Leads', 'leads', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2d0b2013-6244-46ef-a98b-d1b977e993a8', 'contacts_users', 'Contacts', 'contacts', 'id', 'Users', 'users', 'id', 'contacts_users', 'contact_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('2d2144d6-8505-4aa5-8c24-9c81414ee881', 'emails_leads_rel', 'Emails', 'emails', 'id', 'Leads', 'leads', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Leads', 0, 0),
('2d56ebdf-644d-4f2c-9f2c-5cc5be32d33f', 'projects_contacts', 'Project', 'project', 'id', 'Contacts', 'contacts', 'id', 'projects_contacts', 'project_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('2d6f0188-313d-4e28-ac32-90a1d424318f', 'accounts_opportunities', 'Accounts', 'accounts', 'id', 'Opportunities', 'opportunities', 'id', 'accounts_opportunities', 'account_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('2e1392f5-e431-4ce1-8247-6abfa4467331', 'contacts_modified_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2e75eaa7-90a7-4f13-aa6c-6555e41d8458', 'am_tasktemplates_assigned_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2f702d15-e277-4b38-99db-bac5729c83ed', 'opportunities_modified_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('2fbd98f0-6426-47af-b9a0-53611fe6edcc', 'cases_modified_user', 'Users', 'users', 'id', 'Cases', 'cases', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('303546b7-4499-4adf-8ffa-789b11cb3f49', 'prospectlists_assigned_user', 'Users', 'users', 'id', 'ProspectLists', 'prospect_lists', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('304f4a88-9b4d-46f0-aecf-21a7ef76fc42', 'aos_invoices_created_by', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('30df06ff-f474-499f-ab6f-c4ded7ad3669', 'aok_knowledgebase_assigned_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3179069d-27f1-48da-964d-295bd4064d32', '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),
('31976b42-14a0-4b90-a379-8c34d22d4e91', 'opportunity_emails', 'Opportunities', 'opportunities', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('33896ed4-fa01-40af-b131-145817017ea2', 'accounts_contacts', 'Accounts', 'accounts', 'id', 'Contacts', 'contacts', 'id', 'accounts_contacts', 'account_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('33cbc9c4-884c-4124-956c-25b65ff78f32', 'aok_knowledgebase_created_by', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3441f66e-9fa2-41f6-9ca8-42ea0d277599', 'securitygroups_prospect_lists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('349dac86-a857-42be-93d7-e6eebbe8aa96', 'fp_events_assigned_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('34add106-87ee-4413-9d6f-af5534d1d983', 'securitygroups_prospects', 'SecurityGroups', 'securitygroups', 'id', 'Prospects', 'prospects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Prospects', 0, 0),
('34be3ffb-fddd-4b1f-a502-6b3e0e302b69', 'projects_assigned_user', 'Users', 'users', 'id', 'Project', 'project', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('34cdf485-25f8-4ce3-9f99-c6583ca39532', 'securitygroups_surveyquestionoptions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionOptions', 0, 0),
('34f2a0f3-a3c5-4094-90ce-6f0658241f92', '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),
('3583ea8a-d87f-419f-aebb-1b97ea031cd9', 'aow_conditions_created_by', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('36572c5c-84f4-4d92-b63d-21d897ec7d5a', 'bug_notes', 'Bugs', 'bugs', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('368ff6e3-90ab-49f5-a4a2-918d9c3bef85', '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),
('36b316bb-4602-4b36-9e59-2289f6618957', 'securitygroups_meetings', 'SecurityGroups', 'securitygroups', 'id', 'Meetings', 'meetings', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Meetings', 0, 0),
('37b90aac-9efa-47f0-bfc5-69ab35a42545', 'accounts_assigned_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('385f29a1-e281-48db-85ca-79015e93ec5c', 'jjwg_Maps_opportunities', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('38904d67-38fa-4991-9f2f-62a173761bf4', 'account_notes', 'Accounts', 'accounts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('3953d82b-c63d-4e16-8d81-a73d51b02d79', 'emailman_assigned_user', 'Users', 'users', 'id', 'Emailman', 'emailman', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('39fcb7a6-bceb-4e54-89ec-d1d88633060b', 'aos_products_assigned_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3aa44e9f-6cf6-4ffc-bb03-038fb4ab7198', 'securitygroups_externaloauthconnection', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthConnection', 0, 0),
('3ac75bae-977c-4a5b-be0d-5fac47eb8a73', '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),
('3ade54c9-398d-490c-bc9f-a79f7dfcd627', 'lead_emails', 'Leads', 'leads', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('3bff4d75-2586-4dc1-be3f-bb304e1e4dc2', 'emails_notes_rel', 'Emails', 'emails', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3c78a361-d65e-427e-9f8f-71883bbb7d57', 'oauth2clients_modified_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3d8df59d-c458-49ba-85d6-08d463096f91', 'opportunity_notes', 'Opportunities', 'opportunities', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('3dc2c016-6074-4ef4-ba35-700c461c49da', 'jjwg_markers_assigned_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3de0daf8-2101-49f0-a894-180b89312a19', 'notes_created_by', 'Users', 'users', 'id', 'Notes', 'notes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3e341bdb-c722-47f0-83c1-acefa66671d1', 'oauth2tokens_modified_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('3e415ffe-4e73-404d-ae6e-2c6c41d69575', 'alerts_assigned_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('40b88c75-0ab3-4a64-abfb-8d41e9e57d92', 'projects_notes', 'Project', 'project', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('40ff728d-4ee0-4edf-8d9b-f1e104965960', '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),
('4184f659-07d6-4039-bdb7-cefca22259c3', '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),
('41bcc891-a22b-4bbd-a420-33ea045c3bcb', 'meetings_users', 'Meetings', 'meetings', 'id', 'Users', 'users', 'id', 'meetings_users', 'meeting_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('42271731-df01-4fc5-92ec-a5aecead903a', 'contact_tasks_parent', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('42546b5d-8320-4d70-a252-4bcfacce8421', 'oauth2clients_assigned_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4259bc15-8d05-4a53-aba7-3503533e940c', '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),
('4490a703-44e6-42ad-87b8-c2b7a32f476b', 'reminders_modified_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('456f95c2-9123-409f-9c9b-8b62298c4c75', 'aow_conditions_modified_user', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4628501a-0b36-46c2-85ac-864d6bb390d4', 'tasks_notes', 'Tasks', 'tasks', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('46f96643-1f5a-44f3-b5f3-77cf59911012', '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),
('47f43cb3-0d5d-4f6c-a827-ac731c89966c', 'project_tasks_tasks', 'ProjectTask', 'project_task', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('4816f13a-339f-4dca-abdd-cf7ec7d91679', '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),
('49226393-602f-4051-b537-c60a3e48a62f', 'account_tasks', 'Accounts', 'accounts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('49362fb6-bb11-45ff-a9e7-64f957648e01', 'securitygroups_bugs', 'SecurityGroups', 'securitygroups', 'id', 'Bugs', 'bugs', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Bugs', 0, 0),
('49b49470-08d3-4fb5-a99f-40217aaaa8bd', 'aow_actions_modified_user', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4a065df6-8be7-4dbf-9045-bbcbc69be5f2', '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),
('4a126758-88a2-4ad7-99ca-48e48911c1bf', '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),
('4a2428c0-f748-4961-910a-e087e7bd0dfe', 'leads_documents', 'Leads', 'leads', 'id', 'Documents', 'documents', 'id', 'linked_documents', 'parent_id', 'document_id', 'many-to-many', 'parent_type', 'Leads', 0, 0),
('4b3eb7a9-c7c4-4aa5-848c-62ca2e9d0bc2', 'securitygroups_inboundemail', 'SecurityGroups', 'securitygroups', 'id', 'InboundEmail', 'inbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'InboundEmail', 0, 0),
('4b54bc26-bff9-41b4-bc89-36f6b5f8c8df', 'securitygroups_prospectlists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0),
('4b726a4b-17b6-4b1b-80fc-bb9d38605ab8', 'account_meetings', 'Accounts', 'accounts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('4c2694dd-1d27-4d53-a531-3bb97cde3cce', 'optimistic_locking', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0),
('4e27ae06-1eb2-4311-a963-4535288b778c', 'projects_cases', 'Project', 'project', 'id', 'Cases', 'cases', 'id', 'projects_cases', 'project_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('4f2c1dee-db36-4249-a878-ca503c70aa8b', 'tasks_assigned_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('4f390f8e-7067-4c14-9b32-7443a0353d4c', '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),
('4f7500d2-0d01-4d0c-805e-d79a04f8d053', '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),
('502d4bc1-594f-440a-9cd6-038386976078', 'aos_quotes_assigned_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('50571c5f-e821-4d3c-aa73-c6fed0c66189', 'accounts_modified_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('50c62793-12dc-4e9d-b42b-09dc5bb486f9', 'surveyresponses_accounts', 'Accounts', 'accounts', 'id', 'SurveyResponses', 'surveyresponses', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('50cd0994-ea06-4a47-acf7-efd8fabbeec3', '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),
('514a6898-cac0-4434-b7ae-479af79a4545', '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),
('519b6c9b-63e8-486d-b6c6-95f18ac48677', '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),
('52c25f0a-9042-4c67-81a0-c6e902ca4308', 'calls_reschedule_created_by', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5343bd35-9a86-4f5d-97bd-d735f1f616fd', 'surveyquestions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('534659bf-d706-4b7b-bb7c-4e165e5d6f5d', '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),
('53bea4aa-48c6-4845-9afa-50eda7fc7df5', '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),
('53e933dc-af5e-40c4-8d4b-702d5dc2e2c9', '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),
('54bb8057-8f78-4ae9-b634-475e85abdf16', 'oauthkeys_modified_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('54eb39ce-06fe-46af-890e-0bf37efaa50d', 'documents_accounts', 'Documents', 'documents', 'id', 'Accounts', 'accounts', 'id', 'documents_accounts', 'document_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('54f4caf7-8703-4825-91a6-c8ae97064174', 'fp_events_created_by', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('55748792-537f-46e4-b562-26c9c7268eaf', 'alerts_modified_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('56069793-e99c-4984-997d-8ed094819610', 'projects_accounts', 'Project', 'project', 'id', 'Accounts', 'accounts', 'id', 'projects_accounts', 'project_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0),
('5695f5e9-37f6-4870-a81e-984943c81285', '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),
('5750d901-30bc-4eb4-a4d8-8d43cf2176df', 'schedulers_created_by_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('57701b8f-d22a-42e2-9d81-ef0593c3d46b', 'aok_knowledgebase_modified_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('586b9fa8-0959-48c2-baf6-4c2d9446498f', 'campaignlog_lead', 'CampaignLog', 'campaign_log', 'related_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('594d3e10-7685-496f-84ff-3d838dee2958', 'emails_opportunities_rel', 'Emails', 'emails', 'id', 'Opportunities', 'opportunities', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Opportunities', 0, 0),
('5c11f80c-e2ae-4f55-a59e-a4a38086ba73', '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),
('5c7b4591-6c6b-493b-b2bc-ec7bdedc6ad5', 'surveyquestionresponses_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5c9cb6ae-edf3-4ea9-ab40-1d2ead744145', 'calls_reschedule_assigned_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5ce3a0a8-8e9a-435d-8390-a9e6ec8ba88a', 'securitygroups_surveyquestions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestions', 'surveyquestions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestions', 0, 0),
('5d8e114e-63f5-4db2-a870-e5d963ce3bee', 'aow_workflow_assigned_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5d93edde-5d97-4eae-98b3-be358bba7f83', '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),
('5d9a8410-71bc-442c-ad27-03f63389ed7f', 'securitygroups_emails', 'SecurityGroups', 'securitygroups', 'id', 'Emails', 'emails', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Emails', 0, 0),
('5dd8a7a2-f693-42b1-83e5-49e1238d54cb', 'securitygroups_documents', 'SecurityGroups', 'securitygroups', 'id', 'Documents', 'documents', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Documents', 0, 0),
('5e2f5669-dd48-46e1-9a91-387b6ffc9b59', 'opportunity_currencies', 'Opportunities', 'opportunities', 'currency_id', 'Currencies', 'currencies', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5e35c942-90cd-4c99-b6ce-4961abb93417', 'contact_aos_quotes', 'Contacts', 'contacts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5e4cc87e-4175-4825-88da-5ba92ce86561', '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),
('5e7dcfe8-f88a-4dd9-b25c-864ab3502953', 'aobh_businesshours_created_by', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('5f8e86a6-8be7-4f79-9a62-2675457f4268', 'cases_created_by', 'Users', 'users', 'id', 'Cases', 'cases', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('602c343e-dae3-4a76-8292-503b8da7eccc', 'aor_charts_modified_user', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('60953938-2012-4ada-ad48-deeafc691898', '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),
('60a0f7df-fecc-49f5-9e00-75b8c7fb9532', 'projects_modified_user', 'Users', 'users', 'id', 'Project', 'project', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('60acebc8-f8e1-41f0-942f-27ac3fa68919', 'account_campaign_log', 'Accounts', 'accounts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Accounts', 0, 0),
('60f540ff-4560-4d61-b50c-2d05f374de4e', 'securitygroups_emailmarketing', 'SecurityGroups', 'securitygroups', 'id', 'EmailMarketing', 'email_marketing', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailMarketing', 0, 0),
('6113e69d-4ad0-479f-b421-8b1a528798f3', 'favorites_assigned_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('611793ef-a7c2-494c-9154-b2f40cc724f6', 'surveyresponses_modified_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6202405d-5ff4-4347-b23c-0d1c1216edd9', '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),
('62b79745-e4cd-48ab-8747-084015ae7acf', 'calls_assigned_user', 'Users', 'users', 'id', 'Calls', 'calls', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('62e73c9e-1edd-418a-a87d-db845a52a26b', '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),
('647255b3-8526-4857-9f8e-2a8e7bee6cf5', '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),
('657bacf2-4015-4f1b-8e94-422fc711cf86', 'securitygroups_cases', 'SecurityGroups', 'securitygroups', 'id', 'Cases', 'cases', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Cases', 0, 0),
('657be4d9-b863-4d14-9d53-bc0e54f518d1', 'alerts_created_by', 'Users', 'users', 'id', 'Alerts', 'alerts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('65dd7e1d-cbb2-434a-9538-44f75fc49e03', 'inbound_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'InboundEmail', 'inbound_email', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6608fe17-415c-4465-91fd-9e954d198b1b', 'email_template_email_marketings', 'EmailTemplates', 'email_templates', 'id', 'EmailMarketing', 'email_marketing', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('66208e1a-4b40-4365-be6f-65cbba13cc54', '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),
('6631a7fe-f858-4fde-bbbb-35cc41732792', 'opportunity_calls', 'Opportunities', 'opportunities', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('665eecc7-2c59-464b-8061-e2d74e0bd9f2', 'emails_prospects_rel', 'Emails', 'emails', 'id', 'Prospects', 'prospects', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Prospects', 0, 0),
('67600dce-91cd-4e60-a838-23bfc7ae7fac', '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),
('67a03cdb-6d31-4213-87b2-278bbfab9ccb', '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),
('687a461b-011f-4f7a-884c-b386bff31d07', 'calls_notes', 'Calls', 'calls', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Calls', 0, 0),
('69400ebc-128b-4975-86f2-3f5be9781903', '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),
('694a7ea3-96e6-44fb-81b2-de41caf1b33f', 'opportunity_aos_contracts', 'Opportunities', 'opportunities', 'id', 'AOS_Contracts', 'aos_contracts', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('694c02b6-7bd5-480b-a1f6-655fb64fd2e0', '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),
('69990dcd-fd1f-414e-9121-91e3fa0d4cc0', 'securitygroups_leads', 'SecurityGroups', 'securitygroups', 'id', 'Leads', 'leads', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Leads', 0, 0),
('69b0c30c-ddbf-4159-b654-12692822a42d', 'schedulers_jobs_rel', 'Schedulers', 'schedulers', 'id', 'SchedulersJobs', 'job_queue', 'scheduler_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6a1168d5-2a07-4036-9086-7ef9349fd31d', 'meetings_leads', 'Meetings', 'meetings', 'id', 'Leads', 'leads', 'id', 'meetings_leads', 'meeting_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0),
('6a506d3f-a2d8-42dd-b1b5-ec23b7d5dc14', 'prospects_assigned_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6a5eb15e-f70c-4bcb-8323-a8fddb0c7570', 'externaloauthconnection_modified_user', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6a855810-6cb9-40e7-9d5b-017e99e3aa8a', 'prospect_campaign_log', 'Prospects', 'prospects', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Prospects', 0, 0),
('6c77e610-8d4e-477a-92a2-2ebddfbdf9cb', 'contact_aos_contracts', 'Contacts', 'contacts', 'id', 'AOS_Contracts', 'aos_contracts', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6cbc845f-3891-44e5-82f3-5ac49775b1cb', 'account_cases', 'Accounts', 'accounts', 'id', 'Cases', 'cases', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6cc75978-31ac-4f6c-b1e8-edb877a0005e', '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),
('6d07943e-9ebb-408b-8dc9-17742f796acd', '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),
('6d42a946-d835-4ff1-912f-7887f0b341d4', '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),
('6df55c22-1574-4db1-b395-b98af3e0cd22', 'account_aos_contracts', 'Accounts', 'accounts', 'id', 'AOS_Contracts', 'aos_contracts', 'contract_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6e230eaa-4af7-4774-a262-ba29b48dc5f7', 'surveyresponses_contacts', 'Contacts', 'contacts', 'id', 'SurveyResponses', 'surveyresponses', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6e298006-cd23-4532-ac21-e053dcdc39ba', 'aos_contracts_modified_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6fb72bc4-f9c7-4ae3-bf0d-0fb6bd670879', 'outbound_email_created_by', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6fe103a5-6a7d-47cc-9999-9f2d690e5bb3', 'surveyquestions_surveyquestionoptions', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'survey_question_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('6ff3b096-486d-4c56-a1d6-14fc7bd51c48', 'surveys_assigned_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('70202144-214c-44af-a862-e01d2ba001bc', 'favorites_modified_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('70baca17-e45b-4ff6-94e1-1de74dac00a5', 'aow_actions_created_by', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('71704836-af71-4be0-8fcd-095dae3e9bd9', 'account_leads', 'Accounts', 'accounts', 'id', 'Leads', 'leads', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('737484fc-6453-4dc4-9a5b-ac4063751a41', 'jjwg_markers_created_by', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('74172494-0f62-47d5-aee0-8c7d251d11dd', 'aobh_businesshours_modified_user', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('74567f19-78c3-43fc-b0d6-e141f39d830f', '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),
('748eb566-02b8-4497-a543-52dd8cc1268d', '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),
('75099c07-d1f0-4c6f-a138-3fac301769e3', 'surveyquestionresponses_modified_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('75209f2f-b96c-4c31-95ed-0486db532070', 'bugs_fixed_in_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'fixed_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('75f30050-d925-4df7-be4e-f2c8967c5dab', '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),
('7627f59f-8ae9-4d21-8c2e-b547b4b114ae', 'jjwg_maps_created_by', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7631e9d1-3e0b-4ec8-ab4d-34f3e3b454bc', 'notes_modified_user', 'Users', 'users', 'id', 'Notes', 'notes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('766ef6b8-5574-4723-9ba6-3fc534aecafa', 'bug_calls', 'Bugs', 'bugs', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('767f1bff-38a4-4618-ab8b-b992678b0287', 'inbound_emails_autoreply_email_templates', 'EmailTemplates', 'email_templates', 'id', 'InboundEmail', 'inbound_email', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('76cca9f7-653a-4214-9e30-fb49fd8eff86', 'leads_modified_user', 'Users', 'users', 'id', 'Leads', 'leads', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('76f31045-0c07-4674-9737-d0311c4b2ba1', 'projects_project_tasks', 'Project', 'project', 'id', 'ProjectTask', 'project_task', 'project_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('782582ed-9b9a-474c-9cbd-a7c2b0a2d0cd', '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),
('783241ee-6dc7-4322-8d75-18b0e7bf376c', 'meetings_created_by', 'Users', 'users', 'id', 'Meetings', 'meetings', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7904956c-b262-4ee2-a0d3-b3750b9cb002', 'campaignlog_contact', 'CampaignLog', 'campaign_log', 'related_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7a47481a-fe8b-4e81-832f-9e8ebdaf24d5', 'lead_notes', 'Leads', 'leads', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('7a7e6184-9b62-41c5-bc07-e80fbc28e460', 'bugs_created_by', 'Users', 'users', 'id', 'Bugs', 'bugs', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7a9cb69b-05d7-43e2-a978-277135b0c465', 'oauth2tokens_assigned_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7c8838f2-1ba5-4bdb-b415-657377a6b3a7', 'am_projecttemplates_modified_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7c9d2b5c-fbc1-4a12-9ea3-d8f72a0c1dd1', 'projects_meetings', 'Project', 'project', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('7d1bf473-bf03-46c3-9365-58f60259d25a', 'outbound_email_owner_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('7d4cb589-a435-47e1-81c9-8ccdda4d92e1', 'securitygroups_notes', 'SecurityGroups', 'securitygroups', 'id', 'Notes', 'notes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Notes', 0, 0);
INSERT INTO `relationships` VALUES
('7e3b161d-ba3f-4151-bd18-6990ab9821f9', '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),
('7ea4b832-f4be-45c9-88c6-cfed2a95ec07', 'project_tasks_calls', 'ProjectTask', 'project_task', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('80e7a643-37b8-4c31-95b9-7eae2a856bd1', '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),
('81834b75-ab67-453c-9e5c-60200417a2a1', 'project_tasks_notes', 'ProjectTask', 'project_task', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0),
('819baad7-419d-422f-b586-fb1d44f6acec', '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),
('81db6886-6f0a-469d-a173-b1450f7a0e01', 'campaign_opportunities', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('828e960a-4ccf-48ff-a3db-48662230e258', 'saved_search_assigned_user', 'Users', 'users', 'id', 'SavedSearch', 'saved_search', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('82dbe2db-d27a-4d80-817e-fcc02bf5cf4d', 'contact_aos_invoices', 'Contacts', 'contacts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8368ba29-05b8-4035-bbe3-b496f9a9e7b7', 'emails_meetings_rel', 'Emails', 'emails', 'id', 'Meetings', 'meetings', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Meetings', 0, 0),
('83d5a36e-fb8a-449f-ad2d-ccd4084436e0', 'securitygroups_externaloauthprovider', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthProvider', 0, 0),
('8402233d-d9d5-4407-a37f-8a57db787f71', '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),
('846d98e5-1c47-4f35-9d82-38a77081ee96', 'sugarfeed_assigned_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('846fd706-a4db-4d11-a369-8b0ed586a627', 'surveyquestionoptions_surveyquestionresponses', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'surveyquestionoptions_surveyquestionresponses', 'surveyq72c7options_ida', 'surveyq10d4sponses_idb', 'many-to-many', NULL, NULL, 0, 0),
('84f5d2d9-400d-4b33-bb25-24a6bb66ddb1', 'templatesectionline_created_by', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('84fd1cc2-d637-4a8c-809f-09152b233723', '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),
('8516b6ed-0397-4675-8a80-9b9b2523524a', '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),
('855b122b-fbe8-4fb9-ab11-5aa43b843427', 'project_tasks_created_by', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('859b6216-cc45-47c7-8660-5e6d25e04da1', 'account_aos_invoices', 'Accounts', 'accounts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8613e040-5a4c-40ac-9cbc-8e832c35c933', 'opportunity_tasks', 'Opportunities', 'opportunities', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0),
('866a2a87-f2c8-4fc7-9ac6-83c23f42e3e9', 'externaloauthprovider_modified_user', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('890dfbac-e5c8-4214-b3c0-9d2018734abb', 'case_meetings', 'Cases', 'cases', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('89666a8e-63d4-4bc7-9439-9fdb89023275', '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),
('89782603-01e4-445e-add3-c824dd38b510', 'securitygroups_assigned_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('89f8144b-5aa0-42f5-9979-0d09e0272233', 'contact_tasks', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8a76a71c-b1e3-41ea-98a3-863c3e2d3007', '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),
('8a9bd271-fda4-43de-80d5-89f96facf586', '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),
('8ae08e2b-1b8a-4037-97f1-c443ae332915', 'bug_meetings', 'Bugs', 'bugs', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('8ae85a9e-6a17-4af6-8005-18d76dfab702', '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),
('8c39c4f6-e372-4620-b866-195df26b2fa0', '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),
('8d3921c6-138a-4aa9-a28a-dabe64c9263d', 'securitygroups_emailtemplates', 'SecurityGroups', 'securitygroups', 'id', 'EmailTemplates', 'email_templates', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailTemplates', 0, 0),
('8f624dae-142d-45f6-9c5a-0894e9904b40', 'bugs_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'found_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8f7fe36d-892f-4ed3-b104-f8121c034612', 'campaigns_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('8fe28c5f-b029-4e33-a190-6a8e18d408cf', 'reminders_created_by', 'Users', 'users', 'id', 'Reminders', 'reminders', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('90223411-0030-4524-a494-a01373f3d14f', 'opportunity_leads', 'Opportunities', 'opportunities', 'id', 'Leads', 'leads', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9022df80-15c4-4dee-a760-7e991f1fc8c9', 'projects_opportunities', 'Project', 'project', 'id', 'Opportunities', 'opportunities', 'id', 'projects_opportunities', 'project_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('9055c86f-2a4a-4a19-a966-495bbe80b021', 'sugarfeed_modified_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9065ac20-1183-4da6-af4c-f23f39ad517b', 'externaloauthconnection_created_by', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('90a61516-60ec-46f9-be0d-0c5badab120f', 'contact_leads', 'Contacts', 'contacts', 'id', 'Leads', 'leads', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('92a49b3b-e73a-473d-b08c-1f99b4ff77ca', 'securitygroups_project_task', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('936727b2-61d3-4ab9-91f1-c691c5f290db', 'aor_reports_created_by', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('93a673e4-b4d1-439f-ae08-d4541b618f2a', 'securitygroups_accounts', 'SecurityGroups', 'securitygroups', 'id', 'Accounts', 'accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Accounts', 0, 0),
('94147bf1-6e20-4954-9551-d0db8c7b9165', 'jjwg_maps_assigned_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('94314412-6304-4fd4-809d-ce5e98ab9cc6', 'case_emails', 'Cases', 'cases', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('948ebd61-8d14-4b5c-8b07-541383fa0518', 'revisions_created_by', 'Users', 'users', 'id', 'DocumentRevisions', 'document_revisions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('95333876-ed31-4ffd-93e8-6b72fdfeef85', 'jjwg_Maps_prospects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Prospects', 'prospects', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('9576a7cf-85f4-4c2e-b868-ce8fb183cf8e', 'surveyquestions_created_by', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('95836046-b7ac-4761-9184-bd7ddaa82419', 'prospects_modified_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('964d50c9-8fc9-47ad-8c4e-d61f6105ba09', 'documents_opportunities', 'Documents', 'documents', 'id', 'Opportunities', 'opportunities', 'id', 'documents_opportunities', 'document_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0),
('971f9454-551a-4d7b-8a36-5fdc537def7b', 'securitygroups_calls', 'SecurityGroups', 'securitygroups', 'id', 'Calls', 'calls', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Calls', 0, 0),
('97946417-fcc7-4a60-9630-093f7dca38b1', 'lead_tasks', 'Leads', 'leads', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('97da6054-d21d-47a8-b5bb-a57de9a8710f', 'inbound_email_created_by', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0),
('993f7cbd-0893-4553-b706-9a59b8d1d498', 'documents_cases', 'Documents', 'documents', 'id', 'Cases', 'cases', 'id', 'documents_cases', 'document_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('9a30e362-2379-4039-bab1-07dd83b0e3b2', '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),
('9acdd0fc-e022-4abb-be5f-490bbc30d971', 'user_direct_reports', 'Users', 'users', 'id', 'Users', 'users', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9beec2a7-5747-4abc-8488-48f45e8bf343', 'surveyresponses_campaigns', 'Campaigns', 'campaigns', 'id', 'SurveyResponses', 'surveyresponses', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9c3b0194-22fe-4881-8908-85654e569b9f', 'jjwg_areas_created_by', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9cff5cd7-9082-4d86-b20b-6a57a164001c', 'securitygroups_created_by', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9d6b7b8f-26da-4ffd-803d-079ff928ce75', '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),
('9d711d5a-2001-4d5e-9409-0d4e4fd15402', 'aor_fields_created_by', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9db0188f-f4f1-4b75-83c1-98251a40fe79', 'aos_contracts_meetings', 'AOS_Contracts', 'aos_contracts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('9eb6b2de-82e8-48f0-a470-08d22300863d', 'emails_modified_user', 'Users', 'users', 'id', 'Emails', 'emails', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9ee8313e-22d6-4a99-b2bb-4868e481894a', 'surveyquestionresponses_created_by', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('9ef466c2-a043-44fa-892d-f06818d1952c', 'meetings_assigned_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a0859633-571f-4db7-8f3b-8af3663634e1', 'leads_created_by', 'Users', 'users', 'id', 'Leads', 'leads', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a0f2fba8-836e-48fe-ba2e-6e2fc7c6cb58', '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),
('a1850f3f-6399-4b2d-97b4-20ed6c2c1f22', 'campaigns_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a1f80ebb-ae8e-4b33-889e-cc6263d83282', '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),
('a2e43a9a-de47-495a-9c6d-0ec6c06397b0', 'projects_created_by', 'Users', 'users', 'id', 'Project', 'project', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a32b9b2c-cf6d-4b05-8cb5-09b58e6fe3b9', 'surveyquestionoptions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a32fb265-b50e-4571-9b0e-64b529794e9f', 'users_users_password_link', 'Users', 'users', 'id', NULL, 'users_signatures', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a51647a9-66fb-4d3f-99cc-36a4932e9178', '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),
('a6104e22-0075-4253-ae63-7b5bd3696cdf', 'securitygroups_tasks', 'SecurityGroups', 'securitygroups', 'id', 'Tasks', 'tasks', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Tasks', 0, 0),
('a63ac69f-39e1-4e02-b644-d8f6da1ad2d5', '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),
('a78e75df-b3b0-45af-ae5f-e9b41434b793', 'campaign_accounts', 'Campaigns', 'campaigns', 'id', 'Accounts', 'accounts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a7c21d15-8bfa-4155-825d-c1996bda9f7c', 'campaignlog_sent_emails', 'CampaignLog', 'campaign_log', 'related_id', 'Emails', 'emails', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a7e82fff-9d60-4a8f-93d5-e6bfa1e6c2cb', 'meetings_modified_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a99a6ee6-3c68-4ac3-87d5-7e31c85a8463', 'tasks_modified_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('a9d30e8f-cdea-4982-b008-edca98d526c7', 'emails_tasks_rel', 'Emails', 'emails', 'id', 'Tasks', 'tasks', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Tasks', 0, 0),
('aa2a4fab-0f75-4dc9-95bd-ce5b93eea421', 'lead_meetings', 'Leads', 'leads', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('ab2942fb-c2ca-4239-a682-00bf16a64593', 'contacts_assigned_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ab611707-6eef-4211-addc-63a45ee7ad71', 'case_tasks', 'Cases', 'cases', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('ab6711ab-4930-47a9-b6aa-30ce0f554f98', 'favorites_created_by', 'Users', 'users', 'id', 'Favorites', 'favorites', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ab829742-d3b8-4c7f-8b64-795753f90947', 'oauthkeys_assigned_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ab913579-48b5-429e-87ba-2544d9ced06f', '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),
('ab9ba6f4-3c8f-4338-ad4e-3a40aa1639d9', 'fp_events_modified_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ac059e9e-a798-4741-8118-d3b2474888a3', 'aos_contracts_assigned_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ac338b24-2fe1-4038-95fb-183ca17d6426', 'securitygroups_project', 'SecurityGroups', 'securitygroups', 'id', 'Project', 'project', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Project', 0, 0),
('ac8d3c20-40ca-4f0e-bc8e-7033bcddd547', 'emails_created_by', 'Users', 'users', 'id', 'Emails', 'emails', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ae6b5d90-a6cb-43c4-8f35-107255542457', 'cases_assigned_user', 'Users', 'users', 'id', 'Cases', 'cases', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('aff972fc-92b4-400e-8c54-bca1d9ee34ac', 'calls_reschedule', 'Calls', 'calls', 'id', 'Calls_Reschedule', 'calls_reschedule', 'call_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b0078097-c863-461c-9f41-316fe832ecfd', 'projects_calls', 'Project', 'project', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('b2969d90-be3b-49f7-97da-53c22284cd6b', 'templatesectionline_modified_user', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b3141138-2023-4045-aff4-3872bfadf2ff', '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),
('b3eb2764-2bbc-4293-b6f7-417eb6841366', '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),
('b54807a9-92df-4d81-b953-c5c51295d9e6', 'roles_users', 'Roles', 'roles', 'id', 'Users', 'users', 'id', 'roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('b6916c78-4062-478c-b044-80a64b15c135', 'account_aos_quotes', 'Accounts', 'accounts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b6973f81-3f27-444b-86b4-6dc01da9b502', 'projects_emails', 'Project', 'project', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('b69b2145-9e65-4efc-b300-f79f23b41593', '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),
('b712526f-66ac-4ceb-ae18-74793ddd0482', 'campaignlog_created_opportunities', 'CampaignLog', 'campaign_log', 'related_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b74541ce-df50-469b-9c7e-f6f5590d5fae', 'cases_bugs', 'Cases', 'cases', 'id', 'Bugs', 'bugs', 'id', 'cases_bugs', 'case_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('b753c23b-ccd5-44c8-bab4-949fa814f534', 'email_marketing_survey', 'Surveys', 'surveys', 'id', 'EmailMarketing', 'email_marketing', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b81e45fe-6ed5-4d9c-a80c-e55592934da8', 'emails_cases_rel', 'Emails', 'emails', 'id', 'Cases', 'cases', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Cases', 0, 0),
('b86cd4f1-0d68-42fa-b683-08a9ec8df86c', 'am_tasktemplates_modified_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b95f5164-d4f8-4681-8b7e-e6e3e4a2468b', '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),
('b96200ee-d023-435f-924c-c3cb49cc0977', 'documents_bugs', 'Documents', 'documents', 'id', 'Bugs', 'bugs', 'id', 'documents_bugs', 'document_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('b98f2609-17d4-4d77-ac42-b889a16d6963', 'document_revisions', 'Documents', 'documents', 'id', 'DocumentRevisions', 'document_revisions', 'document_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('b9d123a9-2796-41cd-a317-15de86064815', 'surveyresponses_surveyquestionresponses', 'SurveyResponses', 'surveyresponses', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyresponse_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ba1007ce-ef8f-4d57-aa3c-ddadc486a440', '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),
('baa1a0c4-727a-4990-b753-3022d77c946b', 'aor_charts_created_by', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bafc2a0a-cca6-4b27-a994-78dbd263bc8a', 'projects_tasks', 'Project', 'project', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('bb0d9836-f343-4e67-a1c9-98a5d1f3e12b', '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),
('bb86f86d-71a4-44f5-a7f7-b11e7cce4f53', 'consumer_tokens', 'OAuthKeys', 'oauth_consumer', 'id', 'OAuthTokens', 'oauth_tokens', 'consumer', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bc328555-3e7d-4fe3-846c-fd5e929c6417', '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),
('bd4db483-632b-4429-b471-0007186cbd8b', 'eapm_assigned_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bda5f618-a678-4921-93ec-24285e1e1646', '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),
('bde6626c-df74-420e-a251-63f022b14ff2', 'securitygroups_users', 'SecurityGroups', 'securitygroups', 'id', 'Users', 'users', 'id', 'securitygroups_users', 'securitygroup_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('be26c250-db32-420e-95ba-714e0c3de254', 'email_marketing_emailman', 'EmailMarketing', 'email_marketing', 'id', 'EmailMan', 'emailman', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('beec8adc-585b-4809-bc58-a2b8c082d82c', 'aor_conditions_modified_user', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bf0de736-d04f-494a-875a-70a46433fc27', 'email_marketing_campaignlog', 'EmailMarketing', 'email_marketing', 'id', 'CampaignLog', 'campaign_log', 'marketing_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bf1e33d0-f49b-4e57-93bb-ffa623727079', 'contact_campaign_log', 'Contacts', 'contacts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Contacts', 0, 0),
('bf47e26b-6aa5-4789-8079-2c41d40ca2ea', 'oauthtokens_assigned_user', 'Users', 'users', 'id', 'OAuthTokens', 'oauth_tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('bf488ca8-55c8-4392-bff0-681a56efe5cf', 'meetings_contacts', 'Meetings', 'meetings', 'id', 'Contacts', 'contacts', 'id', 'meetings_contacts', 'meeting_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('bf8116bc-ab19-4c90-be89-bc06714aab6f', 'emails_contacts_rel', 'Emails', 'emails', 'id', 'Contacts', 'contacts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Contacts', 0, 0),
('c090f400-c01c-4339-a71d-36d374220a9b', 'campaign_email_marketing', 'Campaigns', 'campaigns', 'id', 'EmailMarketing', 'email_marketing', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c10aa772-d977-4e6e-bf82-a6363d4317ad', 'campaign_emailman', 'Campaigns', 'campaigns', 'id', 'EmailMan', 'emailman', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c10f9f44-9ca4-49f7-8e6f-a58353fb62f9', '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),
('c150b2c2-19b1-46e8-829f-6653e8675017', 'campaign_leads', 'Campaigns', 'campaigns', 'id', 'Leads', 'leads', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c1908605-3fad-41b6-877f-5fdd81d10527', 'securitygroups_mediaobjects', 'SecurityGroups', 'securitygroups', 'id', 'MediaObjects', 'archived_documents_media_objects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'MediaObjects', 0, 0),
('c1bb7e75-e177-4fda-8300-d005da26ce6f', '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),
('c268ee4f-b6be-4ad6-a2b2-445ce89664e5', '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),
('c2ab3146-d028-431e-94b4-3cc40ee79977', 'securitygroups_surveyquestionresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionResponses', 0, 0),
('c31baa6a-8dab-4f3e-8900-d6ca7287e0f3', '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),
('c344c584-344a-4b06-80af-8072c7bbc456', 'documents_modified_user', 'Users', 'users', 'id', 'Documents', 'documents', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c44271f8-d00d-4ab2-825c-1d236daedbe8', 'documents_contacts', 'Documents', 'documents', 'id', 'Contacts', 'contacts', 'id', 'documents_contacts', 'document_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('c4c1fea5-f3db-490b-b54e-6be5aae4bc80', 'aos_contracts_calls', 'AOS_Contracts', 'aos_contracts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('c5288960-eb01-45a9-b79e-9ed5cfdb8db4', '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),
('c57665be-5035-446f-9fef-15d5ee15f3c1', 'surveyresponses_assigned_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c592750b-24fa-4a3f-9ae2-ea953b0049d6', 'am_projecttemplates_created_by', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c5fb6cf8-7b8e-4f5c-ba59-16fbf64320ab', 'jjwg_markers_modified_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c788c246-85bd-4a1c-8dba-ea13a4b129ff', '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),
('c7b9bada-0f98-464a-ba0a-ec6dbc15779a', 'schedulers_modified_user_id_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c7e67445-4a3b-4407-8ec3-be9cb04b44a6', 'aow_processed_created_by', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('c80164b8-e70f-4acb-8058-332c65c372a1', 'prospect_tasks', 'Prospects', 'prospects', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('c83adc01-c973-4dda-8f36-86a28c3c12c9', '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),
('c88d7789-e796-46f2-ae71-0d5161450763', 'calls_contacts', 'Calls', 'calls', 'id', 'Contacts', 'contacts', 'id', 'calls_contacts', 'call_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0),
('c89da1d7-ae99-4ad8-b558-9f7161200511', 'projects_bugs', 'Project', 'project', 'id', 'Bugs', 'bugs', 'id', 'projects_bugs', 'project_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('c98fdc62-8276-424b-b63e-bca2793ae249', 'account_calls', 'Accounts', 'accounts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('ca5eb135-58da-4c4c-9643-96dc0fb01cc1', 'securitygroups_opportunities', 'SecurityGroups', 'securitygroups', 'id', 'Opportunities', 'opportunities', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Opportunities', 0, 0),
('ca8a579c-18e6-4e34-9ce9-bb1dc6c0caf8', '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),
('cb7bc47d-746c-4002-8375-9fc83751d13b', 'reminders_assigned_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cc72b19c-1550-4238-9c1a-7f12e90d3aca', 'bugs_assigned_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cc7920e3-f857-4492-a17d-0f13bfaffe65', 'securitygroups_modified_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cc8a90cf-f1a8-4e28-b870-991c1d3ef487', 'am_tasktemplates_created_by', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ccb4f43f-caf0-406e-a023-beaac86d7ba6', 'emails_accounts_rel', 'Emails', 'emails', 'id', 'Accounts', 'accounts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Accounts', 0, 0),
('cd76f6a1-28d5-4c10-aa83-b0c878bce9fa', 'lead_calls', 'Leads', 'leads', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0),
('cd971c40-9592-439c-96e0-14927fb36dac', 'outbound_email_assigned_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ce22562a-1128-4037-8581-8d1f34b6ed77', 'emails_users_rel', 'Emails', 'emails', 'id', 'Users', 'users', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Users', 0, 0),
('cea3eaea-cde5-42ac-a0b9-188697807186', 'emails_projects_rel', 'Emails', 'emails', 'id', 'Project', 'project', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Project', 0, 0),
('cecf979b-060f-40f9-92ee-c85eab33c50e', 'opportunities_assigned_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('cff043e8-9598-4cf3-9c00-239554931ea6', 'cases_created_contact', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'contact_created_by_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d1774fb9-8c6e-4827-8b0e-69921ecf2e58', 'campaign_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d25d0b5c-a224-42a9-aa30-9e0e3e97bf5c', 'aos_products_modified_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d3090664-968a-4f78-978f-844108401495', '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),
('d42d36a0-5390-44e3-94f7-7a26d5bddaee', 'emailtemplates_assigned_user', 'Users', 'users', 'id', 'EmailTemplates', 'email_templates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d48f9d02-ef73-40cf-ab6e-97e5e540fdf6', 'accounts_bugs', 'Accounts', 'accounts', 'id', 'Bugs', 'bugs', 'id', 'accounts_bugs', 'account_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0),
('d4a9d158-d221-42d0-b4f0-adb86b8962e9', 'aow_processed_modified_user', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d532e645-910e-42f9-8247-eafcf05d4569', '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),
('d59a232b-e1e1-4b36-96a9-3690f464a479', 'tasks_created_by', 'Users', 'users', 'id', 'Tasks', 'tasks', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d5b3d43c-2265-4713-88af-bba35342397c', 'prospect_meetings', 'Prospects', 'prospects', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('d602fe0c-b26c-492b-9f0a-781db8efffa4', 'securitygroups_projecttask', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0),
('d66fa440-165e-415a-89a6-6b171fe1767b', 'oauth2tokens_created_by', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d7bb8303-3a49-47a4-9c44-f809661a825b', 'opportunities_campaign', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d7e05b3b-5f35-4af7-b440-2aae22bbc570', '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),
('d7e9ff9f-557e-458e-a1a0-114e2a8b620d', 'mediaobjects_modified_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('d835a0d8-ff10-4995-b991-a12c31edab80', '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),
('d90043ab-2eca-460c-ba3c-54c29a681651', '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),
('d9f45404-ef12-4e99-afcd-c782b6d65605', 'emails_assigned_user', 'Users', 'users', 'id', 'Emails', 'emails', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('da13264c-6c0e-46c4-84e8-b2d05d13eaa4', 'case_notes', 'Cases', 'cases', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('da78e4fe-7be6-4e17-b694-ce936cef6986', 'jjwg_maps_modified_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('daba0c01-94e0-45cd-96fd-86f163f89210', 'aow_workflow_modified_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('daba4d04-6e42-48d4-9eff-d6e0a7a72b1c', 'surveyquestions_surveyquestionresponses', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyquestion_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('db202da7-01ab-4c8a-9da1-11165f6062a9', 'reminders_invitees_assigned_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('db26d951-6821-44d6-a4ee-40968774f543', 'externaloauthprovider_created_by', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dbb9ceb8-0341-4830-90b3-216e45e8b403', '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),
('dc3f537b-35ee-40d9-92a2-68b48d08a949', 'surveyquestionoptions_modified_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dd612ee2-17f2-4de0-9052-e7d3b19860e2', 'inbound_emails_distribution_user', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'distribution_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ddc9c901-c18a-44fd-9317-ba3673f21384', 'documents_created_by', 'Users', 'users', 'id', 'Documents', 'documents', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('de92b50d-95a5-4b72-aa82-b7dbbc71a000', 'case_calls', 'Cases', 'cases', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('de9d8d36-0673-48f0-a1c0-4baaf464ac3d', '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),
('dfa76d2f-90db-46dc-a89a-a6186af4322e', 'mediaobjects_assigned_user', 'Users', 'users', 'id', 'MediaObjects', 'archived_documents_media_objects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('dfd6f76e-eddb-4efe-9793-97c2a88cc814', 'account_emails', 'Accounts', 'accounts', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('e1840393-30f7-48a3-a755-d5827e3e66ab', '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),
('e1f8dee4-a405-4dc7-818e-6739b653f755', '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),
('e2ea4faa-89f4-480d-abf5-da8376a8970c', 'aor_conditions_created_by', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e565090c-39cc-4b96-96ac-6e9a8bc79d0e', 'aos_contracts_notes', 'AOS_Contracts', 'aos_contracts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0),
('e683a447-10d9-4c0a-bd28-6dbd5e894bfc', '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),
('e6efdb69-e961-47c4-b62a-eccc8765349e', 'notes_assigned_user', 'Users', 'users', 'id', 'Notes', 'notes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('e718de73-8041-4d04-84a5-290393af350c', '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),
('e7affbfb-8986-49fd-90a6-982799777f11', 'aos_contracts_created_by', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ea521e6f-cb51-4954-8a12-9c4643019f46', 'calls_reschedule_modified_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ea671fdc-cf77-40ac-995f-275510c388f2', 'outbound_email_modified_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('eac18e8e-bc1e-428a-aecb-1c8fcdb6e2b4', 'campaignlog_targeted_users', 'CampaignLog', 'campaign_log', 'target_id', 'Users', 'users', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ead170d0-2dc5-4156-92db-4917cfcae962', 'securitygroups_contacts', 'SecurityGroups', 'securitygroups', 'id', 'Contacts', 'contacts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Contacts', 0, 0),
('eb54f3c9-79d9-4876-91a9-b608c7f54e4f', 'bug_emails', 'Bugs', 'bugs', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('ebd8387e-9057-43cb-9167-aa7be090ab24', 'prospect_emails', 'Prospects', 'prospects', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('eca3155d-ab96-4eb8-a7e1-0c7a12cbcc6c', 'aos_invoices_modified_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('eceecb93-a7eb-4d94-8cbd-f7f7a39adc55', 'opportunity_aos_quotes', 'Opportunities', 'opportunities', 'id', 'AOS_Quotes', 'aos_quotes', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ecfb24d9-7643-4079-a1a5-d6845a655387', 'reminders_invitees_created_by', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ed906009-4526-47d0-a704-14ad51f56ce7', '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),
('edaaabb9-0e1c-41e9-b76c-83bb58158555', '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),
('ee17ee10-a6f0-413f-84cc-e5f0b5c75b7f', '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),
('ee6e4c16-9294-478f-8d18-869a3d1963ef', '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),
('ee733d41-972e-4df3-acec-c1d40dbaeaf7', '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),
('eede34b1-cd3f-4377-ab1c-500c9c6a4214', 'bug_tasks', 'Bugs', 'bugs', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0),
('ef4dac2e-9494-43fe-b982-655c21fecbe6', 'am_projecttemplates_assigned_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f0925c59-1571-4625-b40f-8d81593fcf77', 'acl_roles_users', 'ACLRoles', 'acl_roles', 'id', 'Users', 'users', 'id', 'acl_roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0),
('f11617dd-1d22-44fe-b29c-2448128faf0e', 'contact_notes', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f11d48c4-ddf9-49b9-8e23-72cecb4b9bad', 'jjwg_Maps_projects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Project', 'project', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0),
('f2427919-b958-45bd-9275-7f2cfe325307', '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),
('f3ac0c3e-2cae-468f-8cc3-ca9fe7c2fc1b', 'jjwg_Maps_accounts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Accounts', 'accounts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0),
('f3c47d88-2756-4efe-8408-4839a0cc98ce', 'jjwg_Maps_cases', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Cases', 'cases', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0),
('f41a1613-1643-4006-b6e0-40eed487f2f9', 'jjwg_Maps_contacts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0),
('f44ad0eb-29ef-4d67-a2d6-25ae18b37296', 'aos_invoices_assigned_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f44bd779-0ea9-46cf-bebf-6b11916258f0', 'contacts_cases', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'id', 'contacts_cases', 'contact_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0),
('f4701cc2-b099-4327-830f-04810b0cd7bf', 'jjwg_Maps_meetings', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Meetings', 'meetings', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0),
('f5eec376-e1bd-4ddf-9d2e-e8dc821d6fda', '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),
('f7c431e5-be7c-4eba-b408-02f89c7b4c70', 'prospect_notes', 'Prospects', 'prospects', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0),
('f7c59d11-e7d9-4464-9f97-e5ce438ce4f4', 'project_tasks_assigned_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f8211415-d838-4787-b7ff-b494a12d6b25', 'securitygroups_acl_roles', 'SecurityGroups', 'securitygroups', 'id', 'ACLRoles', 'acl_roles', 'id', 'securitygroups_acl_roles', 'securitygroup_id', 'role_id', 'many-to-many', NULL, NULL, 0, 0),
('f84ea0e5-c1b4-4477-b6ee-9f7ff44b31b6', 'campaign_notes', 'Campaigns', 'campaigns', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Campaigns', 0, 0),
('f851bc2b-5bcf-43cf-8f7b-d8c3987750c4', 'aos_quotes_created_by', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f8ae074a-28e0-4098-b983-d33f41511713', 'reminders_invitees_modified_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('f97a23a4-7a6f-45f2-b962-4157af321f58', 'securitygroups_campaigns', 'SecurityGroups', 'securitygroups', 'id', 'Campaigns', 'campaigns', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Campaigns', 0, 0),
('fa7d6c39-5e48-4489-a7eb-d1f44fc6701b', 'surveys_created_by', 'Users', 'users', 'id', 'Surveys', 'surveys', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fb58550d-9fab-4f7e-a888-c5fb7b58faee', 'calls_created_by', 'Users', 'users', 'id', 'Calls', 'calls', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fbb9d706-7f17-4b33-9ec9-946c4e6fe537', '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),
('fbd85d54-1ef5-4bf6-939a-e0448d7c8d0e', 'oauth2clients_oauth2tokens', 'OAuth2Clients', 'oauth2clients', 'id', 'OAuth2Tokens', 'oauth2tokens', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fc8c86b5-a981-43d8-8050-938738b26558', '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),
('fc9b7aa3-d39a-4219-988f-592351025365', '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);
INSERT INTO `relationships` VALUES
('fd9b11a3-ff7e-4d20-9a5f-166f2b1ff5b0', 'campaign_prospects', 'Campaigns', 'campaigns', 'id', 'Prospects', 'prospects', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('fec25e4c-986d-45fe-ad90-01bb10805213', 'aos_quotes_modified_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ff5cc89e-6df5-40a5-812b-c5013649767b', 'surveys_campaigns', 'Surveys', 'surveys', 'id', 'Campaigns', 'campaigns', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0),
('ffeff97f-4c18-460a-a673-e8013fe4e9c4', 'member_accounts', 'Accounts', 'accounts', 'id', 'Accounts', 'accounts', 'parent_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
('1db81d18-330b-48ff-8686-64c5c5245840', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Process Bounced Campaign Emails', 'function::pollMonitoredInboxesForBouncedCampaignEmails', '2015-01-01 10:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1),
('48bc1bb6-042a-4f79-91dc-3f9401af7897', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Jobs Queue', 'function::cleanJobQueue', '2015-01-01 08:15:01', NULL, '0::5::*::*::*', NULL, NULL, NULL, 'Active', 0),
('4e2ca229-d4e8-4c95-9866-4e1f5e24e242', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Report Generation Scheduled Tasks', 'function::aorRunScheduledReports', '2015-01-01 11:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1),
('5ea57dbf-35cf-44e7-84c6-dd093726581f', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Tracker Tables', 'function::trimTracker', '2015-01-01 09:00:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('73707a91-12d3-4540-86e9-dd9deba71d54', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Database on 1st of Month', 'scheduler::prune-database', '2015-01-01 14:00:01', NULL, '0::4::1::*::*', NULL, NULL, NULL, 'Inactive', 0),
('99bf164c-4d5f-402c-ae17-97cf5d8ee47e', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Removal of documents from filesystem', 'function::removeDocumentsFromFS', '2015-01-01 06:45:01', NULL, '0::3::1::*::*', NULL, NULL, NULL, 'Active', 0),
('a33b9b6b-9f3b-4b48-a5ba-2f30be9a6668', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Elasticsearch Index', 'function::runElasticSearchIndexerScheduler', '2015-01-01 13:45:01', NULL, '30::4::*::*::*', NULL, NULL, NULL, 'Active', 0),
('a83328b4-9e91-469c-bddc-445018d98426', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Email Reminder Notifications', 'function::sendEmailReminders', '2015-01-01 06:45:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('b40dba6e-9e70-448b-acd9-f661ff60eb16', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune SuiteCRM Feed Tables', 'function::trimSugarFeeds', '2015-01-01 14:00:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1),
('b4f7b06b-0ae5-4257-9351-6733188cb752', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Mass Email Campaigns', 'function::runMassEmailCampaign', '2015-01-01 06:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Inactive', 1),
('b97afcf0-1d52-4354-8858-4079ac4f572e', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Google Calendar Sync', 'function::syncGoogleCalendar', '2015-01-01 10:45:01', NULL, '*/15::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('bf6cbdd8-e8ac-4f6e-83bf-9b4827674339', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Queue Campaign Emails', 'scheduler::email-to-queue', '2015-01-01 06:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('cb12cfa7-ed07-48fe-bca9-57626643e12f', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Send Campaign Emails', 'scheduler::send-from-queue', '2015-01-01 19:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('dd22c02a-71e1-4a6d-9225-adec8334b393', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Process Workflow Tasks', 'function::processAOW_Workflow', '2015-01-01 12:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1),
('deda0921-d19b-47ac-aa54-73886f244481', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Check Inbound Mailboxes', 'function::pollMonitoredInboxesAOP', '2015-01-01 09:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0),
('e17dc701-74d0-4487-9cbe-ab6098151d5b', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Up Temporary Files', 'scheduler::clean-up-temporary-files', '2015-01-01 10:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0);
-- --------------------------------------------------------
--
-- Table structure for table `securitygroups`
--
CREATE TABLE `securitygroups` (
`id` char(36) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`modified_user_id` char(36) DEFAULT NULL,
`created_by` char(36) DEFAULT NULL,
`description` text,
`deleted` tinyint(1) DEFAULT '0',
`assigned_user_id` char(36) DEFAULT NULL,
`noninheritable` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=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
('6d21f1b7-4baa-4120-8b1a-ee5c526f752e', 'global', 0, '[[regtime]]', '[[regtime]]', '1', 'YTo0NTp7czoyMDoiY2FsZW5kYXJfcHVibGlzaF9rZXkiO3M6MzY6Ijg3M2JjMmUyLTdhNzgtNDA2MS1iMTllLWYzNzM3ZDYzMDAwNyI7czoxMjoibWFpbG1lcmdlX29uIjtzOjM6Im9mZiI7czoyNDoic3VicGFuZWxfcGFnaW5hdGlvbl90eXBlIjtzOjEwOiJwYWdpbmF0aW9uIjtzOjI0OiJsaXN0dmlld19wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6Mjg6InJlY29yZF9tb2RhbF9wYWdpbmF0aW9uX3R5cGUiO3M6MTA6InBhZ2luYXRpb24iO3M6MTg6InNub296ZV9hbGVydF90aW1lciI7aTo2MDA7czoxNjoic3dhcF9sYXN0X3ZpZXdlZCI7YjowO3M6MTQ6InN3YXBfc2hvcnRjdXRzIjtiOjA7czoxOToibmF2aWdhdGlvbl9wYXJhZGlnbSI7czoxOiJtIjtzOjIwOiJzb3J0X21vZHVsZXNfYnlfbmFtZSI7czowOiIiO3M6MTM6InN1YnBhbmVsX3RhYnMiO2I6MTtzOjI1OiJjb3VudF9jb2xsYXBzZWRfc3VicGFuZWxzIjtzOjA6IiI7czoxMDoidXNlcl90aGVtZSI7czo2OiJzdWl0ZTgiO3M6MTQ6Im1vZHVsZV9mYXZpY29uIjtiOjA7czo5OiJoaWRlX3RhYnMiO2E6MDp7fXM6MTE6InJlbW92ZV90YWJzIjthOjA6e31zOjc6Im5vX29wcHMiO3M6Mzoib2ZmIjtzOjEzOiJyZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE5OiJlbWFpbF9yZW1pbmRlcl90aW1lIjtzOjI6IjYwIjtzOjE2OiJyZW1pbmRlcl9jaGVja2VkIjtzOjE6IjAiO3M6MjI6ImVtYWlsX3JlbWluZGVyX2NoZWNrZWQiO3M6MToiMCI7czo4OiJ0aW1lem9uZSI7TjtzOjI6InV0IjtzOjE6IjEiO3M6ODoiY3VycmVuY3kiO047czozNToiZGVmYXVsdF9jdXJyZW5jeV9zaWduaWZpY2FudF9kaWdpdHMiO3M6MToiMiI7czoxMToibnVtX2dycF9zZXAiO047czo3OiJkZWNfc2VwIjtzOjE6Ii4iO3M6NDoiZmRvdyI7TjtzOjU6ImRhdGVmIjtzOjU6Im0vZC9ZIjtzOjU6InRpbWVmIjtzOjM6Ikg6aSI7czo4OiJsYW5ndWFnZSI7czo1OiJlbl91cyI7czoyNjoiZGVmYXVsdF9sb2NhbGVfbmFtZV9mb3JtYXQiO3M6NToicyBmIGwiO3M6MTY6ImV4cG9ydF9kZWxpbWl0ZXIiO3M6MToiLCI7czoyMjoiZGVmYXVsdF9leHBvcnRfY2hhcnNldCI7czo1OiJVVEYtOCI7czoxNDoidXNlX3JlYWxfbmFtZXMiO2I6MTtzOjE3OiJtYWlsX3NtdHBhdXRoX3JlcSI7czowOiIiO3M6MTI6Im1haWxfc210cHNzbCI7aTowO3M6MTc6InNpZ25hdHVyZV9kZWZhdWx0IjtzOjA6IiI7czoxNzoic2lnbmF0dXJlX3ByZXBlbmQiO3M6MDoiIjtzOjE1OiJlbWFpbF9saW5rX3R5cGUiO3M6NToic3VnYXIiO3M6MTE6ImVkaXRvcl90eXBlIjtzOjQ6Imh0bWwiO3M6MTc6ImVtYWlsX3Nob3dfY291bnRzIjtpOjA7czoxOToiZW1haWxfZWRpdG9yX29wdGlvbiI7czo0OiJodG1sIjtzOjIxOiJkZWZhdWx0X2VtYWlsX2NoYXJzZXQiO3M6NToiVVRGLTgiO3M6ODoic3VidGhlbWUiO3M6MDoiIjt9'),
('b634e630-6965-4f48-b44a-c119b055aa63', 'GoogleSync', 0, '[[regtime]]', '[[regtime]]', '1', 'YToxOntzOjg6InN5bmNHQ2FsIjtpOjA7fQ==');
-- --------------------------------------------------------
--
-- Table structure for table `vcals`
--
CREATE TABLE `vcals` (
`id` char(36) NOT NULL,
`deleted` tinyint(1) DEFAULT NULL,
`date_entered` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`user_id` char(36) NOT NULL,
`type` varchar(100) DEFAULT NULL,
`source` varchar(100) DEFAULT NULL,
`content` text,
PRIMARY KEY (`id`),
KEY `idx_vcal` (`type`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=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 */;