Hi $contact_first_name $contact_last_name,
\n\n Please confirm that you have opted in by selecting the following link:\n Opt In\n
', 0, NULL, NULL, 'system'), ('[[case_creation_email_template_id]]', '[[regtime]]', '[[regtime]]', '1', '1', 'off', 'Case Creation', 'Template to send to a contact when a case is received from them.', '$acase_name [CASE:$acase_case_number]', 'Hi $contact_first_name $contact_last_name,\n\n We''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered\n Status: $acase_status\n Reference: $acase_case_number\n Description: $acase_description', 'Â Hi $contact_first_name $contact_last_name,
\nWe''ve received your case $acase_name (# $acase_case_number) on $acase_date_entered
\n| Status | $acase_status |
| Reference | $acase_case_number |
| Description | $acase_description |
 Hi $contact_first_name $contact_last_name,
\nYour case $acase_name (# $acase_case_number) has been closed on $acase_date_entered
\n| Status | $acase_status |
| Reference | $acase_case_number |
| Resolution | $acase_resolution |
Two Factor Authentication code is $code. |
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
\nIf you would like to accept this invititation please click accept.
\n $fp_events_link or $fp_events_link_declined
\nYours Sincerely,
\n', 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.', 'Here is your account username and temporary password: Username : $contact_user_user_name Password : $contact_user_user_hash $config_site_url After you log in using the above password, you may be required to reset the password to one of your own choice. |
Hi $contact_first_name $contact_last_name,
\nÂ
\nYou''ve had an update to your case $acase_name (# $acase_case_number) on $aop_case_updates_date_entered:
\n$user_first_name $user_last_name said:
\n$aop_case_updates_description
', 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', 'You recently requested on $contact_user_pwd_last_changed to be able to reset your account password. Click on the link below to reset your password: $contact_user_link_guid |
Hi $user_first_name $user_last_name,
\nÂ
\nYou''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
\nYou may review this Case at: $sugarurl/index.php?module=Cases&action=DetailView&record=$acase_id;
', 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', 'Hi $contact_name,
\nAn account has been created for you at $portal_address.
\nYou may login using this email address and the password $joomla_pass
', 0, NULL, NULL, 'system'); -- -------------------------------------------------------- -- -- Table structure for table `external_oauth_connections` -- CREATE TABLE `external_oauth_connections` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `client_id` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `client_secret` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `token_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `expires_in` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `access_token` text COLLATE utf8mb4_general_ci, `refresh_token` text COLLATE utf8mb4_general_ci, `external_oauth_provider_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `external_oauth_providers` -- CREATE TABLE `external_oauth_providers` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `connector` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `redirect_uri_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT 'pretty_url', `client_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `client_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `scope` text COLLATE utf8mb4_general_ci, `url_authorize` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `authorize_url_options` text COLLATE utf8mb4_general_ci, `url_access_token` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `extra_provider_params` text COLLATE utf8mb4_general_ci, `get_token_request_grant` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'authorization_code', `get_token_request_options` text COLLATE utf8mb4_general_ci, `refresh_token_request_grant` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'refresh_token', `refresh_token_request_options` text COLLATE utf8mb4_general_ci, `access_token_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'access_token', `expires_in_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'expires_in', `refresh_token_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'refresh_token', `token_type_mapping` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `favorites` -- CREATE TABLE `favorites` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fields_meta_data` -- CREATE TABLE `fields_meta_data` ( `id` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `vname` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `comments` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `help` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `custom_module` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `len` int DEFAULT NULL, `required` tinyint(1) DEFAULT '0', `default_value` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `audited` tinyint(1) DEFAULT '0', `massupdate` tinyint(1) DEFAULT '0', `duplicate_merge` smallint DEFAULT '0', `reportable` tinyint(1) DEFAULT '1', `importable` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext3` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ext4` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_meta_id_del` (`id`,`deleted`), KEY `idx_meta_cm_del` (`custom_module`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `fields_meta_data` -- INSERT INTO `fields_meta_data` VALUES ('Accountsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Accounts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Accountsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Accounts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Accountsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Accounts', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Accountsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Accounts', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Casesjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Cases', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Casesjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Cases', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Casesjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Cases', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Casesjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Cases', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Contactsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Contacts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Contactsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Contacts', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Contactsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Contacts', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Contactsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Contacts', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Leadsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Leads', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Leadsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Leads', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Leadsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Leads', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Leadsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Leads', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Meetingsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Meetings', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Meetingsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Meetings', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Meetingsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Meetings', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Meetingsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Meetings', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Opportunitiesjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Opportunities', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Opportunitiesjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Opportunities', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Opportunitiesjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Opportunities', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Opportunitiesjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Opportunities', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Projectjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Project', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Projectjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Project', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Projectjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Project', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Projectjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Project', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Prospectsjjwg_maps_address_c', 'jjwg_maps_address_c', 'LBL_JJWG_MAPS_ADDRESS', 'Address', 'Address', 'Prospects', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Prospectsjjwg_maps_geocode_status_c', 'jjwg_maps_geocode_status_c', 'LBL_JJWG_MAPS_GEOCODE_STATUS', 'Geocode Status', 'Geocode Status', 'Prospects', 'varchar', 255, 0, NULL, '[[regtime]]', 0, 0, 0, 0, 1, 'true', NULL, '', '', ''), ('Prospectsjjwg_maps_lat_c', 'jjwg_maps_lat_c', 'LBL_JJWG_MAPS_LAT', '', 'Latitude', 'Prospects', 'float', 10, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''), ('Prospectsjjwg_maps_lng_c', 'jjwg_maps_lng_c', 'LBL_JJWG_MAPS_LNG', '', 'Longitude', 'Prospects', 'float', 11, 0, '0.00000000', '[[regtime]]', 0, 0, 0, 0, 1, 'true', '8', '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `folders` -- CREATE TABLE `folders` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `folder_type` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_folder` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `has_child` tinyint(1) DEFAULT '0', `is_group` tinyint(1) DEFAULT '0', `is_dynamic` tinyint(1) DEFAULT '0', `dynamic_query` text COLLATE utf8mb4_general_ci, `assign_to_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci NOT NULL, `modified_by` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_parent_folder` (`parent_folder`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `folders_rel` -- CREATE TABLE `folders_rel` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `folder_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `polymorphic_module` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `polymorphic_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_poly_module_poly_id` (`polymorphic_module`,`polymorphic_id`), KEY `idx_fr_id_deleted_poly` (`folder_id`,`deleted`,`polymorphic_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `folders_subscriptions` -- CREATE TABLE `folders_subscriptions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `folder_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, PRIMARY KEY (`id`), KEY `idx_folder_id_assigned_user_id` (`folder_id`,`assigned_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events` -- CREATE TABLE `fp_events` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `duration_hours` int DEFAULT NULL, `duration_minutes` int DEFAULT NULL, `date_start` datetime DEFAULT NULL, `date_end` datetime DEFAULT NULL, `budget` decimal(26,6) DEFAULT NULL, `currency_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_templates` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `accept_redirect` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `decline_redirect` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `activity_status_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_audit` -- CREATE TABLE `fp_events_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_fp_events_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_contacts_c` -- CREATE TABLE `fp_events_contacts_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_contactsfp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_contactscontacts_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'Not Invited', `accept_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'No Response', `email_responded` int DEFAULT '0', PRIMARY KEY (`id`), KEY `fp_events_contacts_alt` (`fp_events_contactsfp_events_ida`,`fp_events_contactscontacts_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_fp_event_delegates_1_c` -- CREATE TABLE `fp_events_fp_event_delegates_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_fp_event_delegates_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_fp_event_delegates_1fp_event_delegates_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `fp_events_fp_event_delegates_1_ida1` (`fp_events_fp_event_delegates_1fp_events_ida`), KEY `fp_events_fp_event_delegates_1_alt` (`fp_events_fp_event_delegates_1fp_event_delegates_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_fp_event_locations_1_c` -- CREATE TABLE `fp_events_fp_event_locations_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_fp_event_locations_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_fp_event_locations_1fp_event_locations_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `fp_events_fp_event_locations_1_alt` (`fp_events_fp_event_locations_1fp_events_ida`,`fp_events_fp_event_locations_1fp_event_locations_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_leads_1_c` -- CREATE TABLE `fp_events_leads_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_leads_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_leads_1leads_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'Not Invited', `accept_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'No Response', `email_responded` int DEFAULT '0', PRIMARY KEY (`id`), KEY `fp_events_leads_1_alt` (`fp_events_leads_1fp_events_ida`,`fp_events_leads_1leads_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_events_prospects_1_c` -- CREATE TABLE `fp_events_prospects_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_events_prospects_1fp_events_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_events_prospects_1prospects_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `invite_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'Not Invited', `accept_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'No Response', `email_responded` int DEFAULT '0', PRIMARY KEY (`id`), KEY `fp_events_prospects_1_alt` (`fp_events_prospects_1fp_events_ida`,`fp_events_prospects_1prospects_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_event_locations` -- CREATE TABLE `fp_event_locations` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `address` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_country` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `capacity` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_event_locations_audit` -- CREATE TABLE `fp_event_locations_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_fp_event_locations_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `fp_event_locations_fp_events_1_c` -- CREATE TABLE `fp_event_locations_fp_events_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `fp_event_locations_fp_events_1fp_event_locations_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `fp_event_locations_fp_events_1fp_events_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `fp_event_locations_fp_events_1_ida1` (`fp_event_locations_fp_events_1fp_event_locations_ida`), KEY `fp_event_locations_fp_events_1_alt` (`fp_event_locations_fp_events_1fp_events_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `import_maps` -- CREATE TABLE `import_maps` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(254) COLLATE utf8mb4_general_ci DEFAULT NULL, `source` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `enclosure` varchar(1) COLLATE utf8mb4_general_ci DEFAULT ' ', `delimiter` varchar(1) COLLATE utf8mb4_general_ci DEFAULT ',', `module` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `content` text COLLATE utf8mb4_general_ci, `default_values` text COLLATE utf8mb4_general_ci, `has_header` tinyint(1) DEFAULT '1', `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_published` varchar(3) COLLATE utf8mb4_general_ci DEFAULT 'no', PRIMARY KEY (`id`), KEY `idx_owner_module_name` (`assigned_user_id`,`module`,`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `inbound_email` -- CREATE TABLE `inbound_email` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `last_import_run_datetime` datetime DEFAULT NULL, `mailbox_last_imported_days` text COLLATE utf8mb4_general_ci, `email_import_per_run_threshold` int DEFAULT NULL, `email_import_timeframe_start` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_import_unread_only` tinyint(1) DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Active', `email_body_filtering` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'multi', `server_url` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `connection_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_user` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `email_password` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `port` int DEFAULT '143', `service` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `mailbox` text COLLATE utf8mb4_general_ci, `sentFolder` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `trashFolder` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `delete_seen` tinyint(1) DEFAULT '0', `move_messages_to_trash_after_import` tinyint(1) DEFAULT '0', `mailbox_type` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL, `template_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `stored_options` text COLLATE utf8mb4_general_ci, `group_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_personal` tinyint(1) DEFAULT '0', `groupfolder_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `auth_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'basic', `protocol` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'imap', `is_ssl` tinyint(1) DEFAULT '0', `distribution_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `outbound_email_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `create_case_template_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `external_oauth_connection_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `inbound_email_autoreply` -- CREATE TABLE `inbound_email_autoreply` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `autoreplied_to` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `ie_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, PRIMARY KEY (`id`), KEY `idx_ie_autoreplied_to` (`autoreplied_to`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `inbound_email_cache_ts` -- CREATE TABLE `inbound_email_cache_ts` ( `id` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, `ie_timestamp` int unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_address_cache` -- CREATE TABLE `jjwg_address_cache` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `lat` float(10,8) DEFAULT NULL, `lng` float(11,8) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_address_cache_audit` -- CREATE TABLE `jjwg_address_cache_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_address_cache_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_areas` -- CREATE TABLE `jjwg_areas` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `state` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `coordinates` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_areas_audit` -- CREATE TABLE `jjwg_areas_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_areas_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps` -- CREATE TABLE `jjwg_maps` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `distance` float(9,4) DEFAULT NULL, `unit_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'mi', `module_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Accounts', `parent_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps_audit` -- CREATE TABLE `jjwg_maps_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_maps_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps_jjwg_areas_c` -- CREATE TABLE `jjwg_maps_jjwg_areas_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `jjwg_maps_5304wg_maps_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_41f2g_areas_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `jjwg_maps_jjwg_areas_alt` (`jjwg_maps_5304wg_maps_ida`,`jjwg_maps_41f2g_areas_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_maps_jjwg_markers_c` -- CREATE TABLE `jjwg_maps_jjwg_markers_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `jjwg_maps_b229wg_maps_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_2e31markers_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `jjwg_maps_jjwg_markers_alt` (`jjwg_maps_b229wg_maps_ida`,`jjwg_maps_2e31markers_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_markers` -- CREATE TABLE `jjwg_markers` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `city` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `state` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_lat` float(10,8) DEFAULT '0.00000000', `jjwg_maps_lng` float(11,8) DEFAULT '0.00000000', `marker_image` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'company', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `jjwg_markers_audit` -- CREATE TABLE `jjwg_markers_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_jjwg_markers_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `job_queue` -- CREATE TABLE `job_queue` ( `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `scheduler_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `execute_time` datetime DEFAULT NULL, `status` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `resolution` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `message` text COLLATE utf8mb4_general_ci, `target` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `data` text COLLATE utf8mb4_general_ci, `requeue` tinyint(1) DEFAULT '0', `retry_count` tinyint DEFAULT NULL, `failure_count` tinyint DEFAULT NULL, `job_delay` int DEFAULT NULL, `client` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `percent_complete` int DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_status_scheduler` (`status`,`scheduler_id`), KEY `idx_status_time` (`status`,`execute_time`,`date_entered`), KEY `idx_status_entered` (`status`,`date_entered`), KEY `idx_status_modified` (`status`,`date_modified`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `leads` -- CREATE TABLE `leads` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `salutation` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `first_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `title` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `photo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `department` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `do_not_call` tinyint(1) DEFAULT '0', `phone_home` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_mobile` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_work` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_other` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lawful_basis` text COLLATE utf8mb4_general_ci, `date_reviewed` date DEFAULT NULL, `lawful_basis_source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant` varchar(75) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant_phone` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `converted` tinyint(1) DEFAULT '0', `refered_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_source_description` text COLLATE utf8mb4_general_ci, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `status_description` text COLLATE utf8mb4_general_ci, `reports_to_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_description` text COLLATE utf8mb4_general_ci, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_amount` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `birthdate` date DEFAULT NULL, `portal_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `portal_app` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `website` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_lead_acct_name_first` (`account_name`,`deleted`), KEY `idx_lead_last_first` (`last_name`,`first_name`,`deleted`), KEY `idx_lead_del_stat` (`last_name`,`status`,`deleted`,`first_name`), KEY `idx_lead_opp_del` (`opportunity_id`,`deleted`), KEY `idx_leads_acct_del` (`account_id`,`deleted`), KEY `idx_del_user` (`deleted`,`assigned_user_id`), KEY `idx_lead_assigned` (`assigned_user_id`), KEY `idx_lead_contact` (`contact_id`), KEY `idx_reports_to` (`reports_to_id`), KEY `idx_lead_phone_work` (`phone_work`), KEY `idx_leads_id_del` (`id`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `leads_audit` -- CREATE TABLE `leads_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_leads_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `leads_cstm` -- CREATE TABLE `leads_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci NOT NULL, `jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000', `jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000', `jjwg_maps_geocode_status_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `linked_documents` -- CREATE TABLE `linked_documents` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `document_revision_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_parent_document` (`parent_type`,`parent_id`,`document_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings` -- CREATE TABLE `meetings` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `location` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `password` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_url` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL, `host_url` varchar(400) COLLATE utf8mb4_general_ci DEFAULT NULL, `displayed_url` varchar(400) COLLATE utf8mb4_general_ci DEFAULT NULL, `creator` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `external_id` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `duration_hours` int DEFAULT NULL, `duration_minutes` int DEFAULT NULL, `date_start` datetime DEFAULT NULL, `date_end` datetime DEFAULT NULL, `parent_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Planned', `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Sugar', `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `reminder_time` int DEFAULT '-1', `email_reminder_time` int DEFAULT '-1', `email_reminder_sent` tinyint(1) DEFAULT '0', `outlook_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `sequence` int DEFAULT '0', `repeat_type` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `repeat_interval` int DEFAULT '1', `repeat_dow` varchar(7) COLLATE utf8mb4_general_ci DEFAULT NULL, `repeat_until` date DEFAULT NULL, `repeat_count` int DEFAULT NULL, `repeat_parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `recurring_source` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `gsync_id` varchar(1024) COLLATE utf8mb4_general_ci DEFAULT NULL, `gsync_lastsync` int DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_mtg_name` (`name`), KEY `idx_meet_par_del` (`parent_id`,`parent_type`,`deleted`), KEY `idx_meet_stat_del` (`assigned_user_id`,`status`,`deleted`), KEY `idx_meet_date_start` (`date_start`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_contacts` -- CREATE TABLE `meetings_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `meeting_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'none', `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_con_mtg_mtg` (`meeting_id`), KEY `idx_con_mtg_con` (`contact_id`), KEY `idx_meeting_contact` (`meeting_id`,`contact_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_cstm` -- CREATE TABLE `meetings_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci NOT NULL, `jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000', `jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000', `jjwg_maps_geocode_status_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_leads` -- CREATE TABLE `meetings_leads` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `meeting_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'none', `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_lead_meeting_meeting` (`meeting_id`), KEY `idx_lead_meeting_lead` (`lead_id`), KEY `idx_meeting_lead` (`meeting_id`,`lead_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `meetings_users` -- CREATE TABLE `meetings_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `meeting_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `required` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '1', `accept_status` varchar(25) COLLATE utf8mb4_general_ci DEFAULT 'none', `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_usr_mtg_mtg` (`meeting_id`), KEY `idx_usr_mtg_usr` (`user_id`), KEY `idx_meeting_users` (`meeting_id`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `notes` -- CREATE TABLE `notes` ( `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `file_mime_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `filename` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `portal_flag` tinyint(1) DEFAULT NULL, `embed_flag` tinyint(1) DEFAULT '0', `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_note_name` (`name`), KEY `idx_notes_parent` (`parent_id`,`parent_type`), KEY `idx_note_contact` (`contact_id`), KEY `idx_notes_assigned_del` (`deleted`,`assigned_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth2authcodes` -- CREATE TABLE `oauth2authcodes` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `auth_code_is_revoked` tinyint(1) DEFAULT NULL, `auto_authorize` tinyint(1) DEFAULT NULL, `auth_code_expires` datetime DEFAULT NULL, `auth_code` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `client` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth2clients` -- CREATE TABLE `oauth2clients` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `secret` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `redirect_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_confidential` tinyint(1) DEFAULT '1', `allowed_grant_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'password', `duration_value` int DEFAULT NULL, `duration_amount` int DEFAULT NULL, `duration_unit` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Duration Unit', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth2tokens` -- CREATE TABLE `oauth2tokens` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `token_is_revoked` tinyint(1) DEFAULT NULL, `token_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `access_token_expires` datetime DEFAULT NULL, `access_token` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `refresh_token` varchar(4000) COLLATE utf8mb4_general_ci DEFAULT NULL, `refresh_token_expires` datetime DEFAULT NULL, `grant_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `state` varchar(1024) COLLATE utf8mb4_general_ci DEFAULT NULL, `client` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_consumer` -- CREATE TABLE `oauth_consumer` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `c_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `c_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `ckey` (`c_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_nonce` -- CREATE TABLE `oauth_nonce` ( `conskey` varchar(32) COLLATE utf8mb4_general_ci NOT NULL, `nonce` varchar(32) COLLATE utf8mb4_general_ci NOT NULL, `nonce_ts` bigint DEFAULT NULL, PRIMARY KEY (`conskey`,`nonce`), KEY `oauth_nonce_keyts` (`conskey`,`nonce_ts`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `oauth_tokens` -- CREATE TABLE `oauth_tokens` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `secret` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `tstate` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL, `consumer` char(36) COLLATE utf8mb4_general_ci NOT NULL, `token_ts` bigint DEFAULT NULL, `verify` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) NOT NULL DEFAULT '0', `callback_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`,`deleted`), KEY `oauth_state_ts` (`tstate`,`token_ts`), KEY `constoken_key` (`consumer`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities` -- CREATE TABLE `opportunities` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `lead_source` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `amount` double DEFAULT NULL, `amount_usdollar` double DEFAULT NULL, `currency_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_closed` date DEFAULT NULL, `next_step` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `sales_stage` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `probability` double DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_opp_name` (`name`), KEY `idx_opp_assigned` (`assigned_user_id`), KEY `idx_opp_id_deleted` (`id`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities_audit` -- CREATE TABLE `opportunities_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_opportunities_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities_contacts` -- CREATE TABLE `opportunities_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `opportunity_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_role` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_con_opp_con` (`contact_id`), KEY `idx_con_opp_opp` (`opportunity_id`), KEY `idx_opportunities_contacts` (`opportunity_id`,`contact_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `opportunities_cstm` -- CREATE TABLE `opportunities_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci NOT NULL, `jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000', `jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000', `jjwg_maps_geocode_status_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `outbound_email` -- CREATE TABLE `outbound_email` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(15) COLLATE utf8mb4_general_ci DEFAULT 'user', `user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `smtp_from_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `smtp_from_addr` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `reply_to_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `reply_to_addr` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `signature` text COLLATE utf8mb4_general_ci, `mail_sendtype` varchar(8) COLLATE utf8mb4_general_ci DEFAULT 'SMTP', `mail_smtptype` varchar(20) COLLATE utf8mb4_general_ci DEFAULT 'other', `mail_smtpserver` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `mail_smtpport` varchar(5) COLLATE utf8mb4_general_ci DEFAULT '25', `mail_smtpuser` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `mail_smtppass` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `mail_smtpauth_req` tinyint(1) DEFAULT '0', `mail_smtpssl` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `auth_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'no_auth', `external_oauth_connection_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `outbound_email` -- INSERT INTO `outbound_email` VALUES ('68c41d7c-db32-445c-89e2-1d79088e38c1', 'system', 'system', '1', NULL, NULL, NULL, NULL, NULL, 'SMTP', 'other', '', '25', '', '', 1, '0', NULL, NULL, NULL, NULL, 0, NULL, 'no_auth', NULL); -- -------------------------------------------------------- -- -- Table structure for table `outbound_email_audit` -- CREATE TABLE `outbound_email_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_outbound_email_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project` -- CREATE TABLE `project` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `estimated_start_date` date DEFAULT NULL, `estimated_end_date` date DEFAULT NULL, `status` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `override_business_hours` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_accounts` -- CREATE TABLE `projects_accounts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `account_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_proj_acct_proj` (`project_id`), KEY `idx_proj_acct_acct` (`account_id`), KEY `projects_accounts_alt` (`project_id`,`account_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_bugs` -- CREATE TABLE `projects_bugs` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `bug_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_proj_bug_proj` (`project_id`), KEY `idx_proj_bug_bug` (`bug_id`), KEY `projects_bugs_alt` (`project_id`,`bug_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_cases` -- CREATE TABLE `projects_cases` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `case_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_proj_case_proj` (`project_id`), KEY `idx_proj_case_case` (`case_id`), KEY `projects_cases_alt` (`project_id`,`case_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_contacts` -- CREATE TABLE `projects_contacts` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `contact_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_proj_con_proj` (`project_id`), KEY `idx_proj_con_con` (`contact_id`), KEY `projects_contacts_alt` (`project_id`,`contact_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_opportunities` -- CREATE TABLE `projects_opportunities` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `opportunity_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_proj_opp_proj` (`project_id`), KEY `idx_proj_opp_opp` (`opportunity_id`), KEY `projects_opportunities_alt` (`project_id`,`opportunity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `projects_products` -- CREATE TABLE `projects_products` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `product_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_proj_prod_project` (`project_id`), KEY `idx_proj_prod_product` (`product_id`), KEY `projects_products_alt` (`project_id`,`product_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_contacts_1_c` -- CREATE TABLE `project_contacts_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `project_contacts_1project_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_contacts_1contacts_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `project_contacts_1_alt` (`project_contacts_1project_ida`,`project_contacts_1contacts_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_cstm` -- CREATE TABLE `project_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci NOT NULL, `jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000', `jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000', `jjwg_maps_geocode_status_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_task` -- CREATE TABLE `project_task` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `project_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `project_task_id` int DEFAULT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `predecessors` text COLLATE utf8mb4_general_ci, `date_start` date DEFAULT NULL, `time_start` int DEFAULT NULL, `time_finish` int DEFAULT NULL, `date_finish` date DEFAULT NULL, `duration` int DEFAULT NULL, `duration_unit` text COLLATE utf8mb4_general_ci, `actual_duration` int DEFAULT NULL, `percent_complete` int DEFAULT NULL, `date_due` date DEFAULT NULL, `time_due` time DEFAULT NULL, `parent_task_id` int DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `milestone_flag` tinyint(1) DEFAULT NULL, `order_number` int DEFAULT '1', `task_number` int DEFAULT NULL, `estimated_effort` int DEFAULT NULL, `actual_effort` int DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `utilization` int DEFAULT '100', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_task_audit` -- CREATE TABLE `project_task_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_project_task_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `project_users_1_c` -- CREATE TABLE `project_users_1_c` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `project_users_1project_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `project_users_1users_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `project_users_1_alt` (`project_users_1project_ida`,`project_users_1users_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospects` -- CREATE TABLE `prospects` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `salutation` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `first_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `title` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `photo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `department` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `do_not_call` tinyint(1) DEFAULT '0', `phone_home` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_mobile` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_work` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_other` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lawful_basis` text COLLATE utf8mb4_general_ci, `date_reviewed` date DEFAULT NULL, `lawful_basis_source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `alt_address_country` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant` varchar(75) COLLATE utf8mb4_general_ci DEFAULT NULL, `assistant_phone` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `tracker_key` int NOT NULL AUTO_INCREMENT, `birthdate` date DEFAULT NULL, `lead_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `account_name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `prospect_auto_tracker_key` (`tracker_key`), KEY `idx_prospects_last_first` (`last_name`,`first_name`,`deleted`), KEY `idx_prospecs_del_last` (`last_name`,`deleted`), KEY `idx_prospects_id_del` (`id`,`deleted`), KEY `idx_prospects_assigned` (`assigned_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospects_cstm` -- CREATE TABLE `prospects_cstm` ( `id_c` char(36) COLLATE utf8mb4_general_ci NOT NULL, `jjwg_maps_lng_c` float(11,8) DEFAULT '0.00000000', `jjwg_maps_lat_c` float(10,8) DEFAULT '0.00000000', `jjwg_maps_geocode_status_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `jjwg_maps_address_c` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id_c`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospect_lists` -- CREATE TABLE `prospect_lists` ( `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `list_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `domain_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_prospect_list_name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospect_lists_prospects` -- CREATE TABLE `prospect_lists_prospects` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `prospect_list_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_type` varchar(25) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_plp_pro_id` (`prospect_list_id`,`deleted`), KEY `idx_plp_rel_id` (`related_id`,`related_type`,`prospect_list_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `prospect_list_campaigns` -- CREATE TABLE `prospect_list_campaigns` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `prospect_list_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_pro_id` (`prospect_list_id`), KEY `idx_cam_id` (`campaign_id`), KEY `idx_prospect_list_campaigns` (`prospect_list_id`,`campaign_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `relationships` -- CREATE TABLE `relationships` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `relationship_name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `lhs_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `lhs_table` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `lhs_key` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `rhs_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `rhs_table` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `rhs_key` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_table` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_key_lhs` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `join_key_rhs` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_role_column` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `relationship_role_column_value` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `reverse` tinyint(1) DEFAULT '0', `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_rel_name` (`relationship_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `relationships` -- INSERT INTO `relationships` VALUES ('000a3e00-c5eb-430a-ad47-333fd218f9e6', 'reminders_assigned_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('006a7ef6-89ae-4a5f-9f15-8fef97e66f8d', 'oauth2tokens_assigned_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('00b55e88-c979-40f1-a583-6cabc87cbb07', '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), ('00fedcd8-5c3b-4436-97ca-e99ccfe38f52', '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), ('01072acc-01a4-425a-9367-4238d6c13ae9', 'case_emails', 'Cases', 'cases', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('017ab424-e742-4e99-aaa4-7f2d6b397f99', 'aos_contracts_modified_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('020c5940-1e05-48e1-9089-ee1ce6991176', 'aor_charts_created_by', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('02499e81-e888-46d5-99f7-afccfe294b50', 'aos_contracts_created_by', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('028dfae6-1095-486d-b453-720001f57ad5', 'schedulers_created_by_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0), ('02e8c325-a6c4-44d9-bc1d-428c5c65328e', 'calls_reschedule_created_by', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('02ee9aed-a978-4e96-8319-8b72c5f314c3', 'jjwg_Maps_projects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Project', 'project', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('03f0f4e2-d431-4e2e-92dd-c0a72e5deeff', 'project_tasks_modified_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('04b01d4f-3531-4d5e-ab02-bccb2a59832e', 'emails_opportunities_rel', 'Emails', 'emails', 'id', 'Opportunities', 'opportunities', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Opportunities', 0, 0), ('04d4b1f4-34a0-4b4e-b5ae-17db7df0b71b', 'opportunities_created_by', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('050938df-8a4f-438d-a42e-cf67b10c078b', 'campaignlog_created_opportunities', 'CampaignLog', 'campaign_log', 'related_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0606a8f9-7eb6-4cb4-89bd-6484f0985bfc', 'account_aos_quotes', 'Accounts', 'accounts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('067f389d-3983-4fe7-9d52-f113520960c2', 'campaigns_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('069ff78e-f698-407f-9f8e-39729ebae1d3', 'revisions_created_by', 'Users', 'users', 'id', 'DocumentRevisions', 'document_revisions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('06f30ddf-b40e-4185-854b-51611329c689', 'oauth2authcodes_created_by', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('070dc7cb-30a5-4ef5-81bd-483b4750f547', 'opportunity_currencies', 'Opportunities', 'opportunities', 'currency_id', 'Currencies', 'currencies', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('070e8d58-0433-49f2-872f-68d5ff4b8efb', 'document_revisions', 'Documents', 'documents', 'id', 'DocumentRevisions', 'document_revisions', 'document_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0848a111-ef5b-477f-a84c-5350b6a16296', 'outbound_email_modified_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('08e138e2-446b-46ff-a2e4-c2267a07ecb2', 'unified_search', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0), ('0cdcc20a-06a9-4c31-b2c7-a49b89f7fcaf', 'opportunities_assigned_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0d26462d-5898-4005-9a50-8d0fdbb83598', 'securitygroups_acl_roles', 'SecurityGroups', 'securitygroups', 'id', 'ACLRoles', 'acl_roles', 'id', 'securitygroups_acl_roles', 'securitygroup_id', 'role_id', 'many-to-many', NULL, NULL, 0, 0), ('0d28f092-0fd4-4472-a184-cb971571eaaa', 'jjwg_maps_created_by', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0dde1219-0896-47d2-8221-2fe521e767f4', 'project_tasks_notes', 'ProjectTask', 'project_task', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('0e163743-8c4b-4552-bcb7-09a60d416232', 'prospect_tasks', 'Prospects', 'prospects', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('0e6460e4-1871-4667-b0fb-118b898a8822', 'fp_events_created_by', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('0f70a05b-4b84-450c-aade-01f8ea87362e', 'securitygroups_surveyquestionoptions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionOptions', 0, 0), ('108f9d5d-a8ef-4435-a66a-cc6df73a7fc6', 'tasks_notes', 'Tasks', 'tasks', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('111f7582-e061-4c70-9e6b-e25d3427b3ba', 'meetings_users', 'Meetings', 'meetings', 'id', 'Users', 'users', 'id', 'meetings_users', 'meeting_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('1163c9fc-1d03-411e-a055-5e2653429442', '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), ('11b05d85-ec53-4f62-ab00-ffdf3ef049f3', 'bug_emails', 'Bugs', 'bugs', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('11f06220-06e8-4e55-8d72-dd1ca9adbe03', 'inbound_outbound_email_accounts', 'OutboundEmailAccounts', 'outbound_email', 'id', 'InboundEmail', 'inbound_email', 'outbound_email_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('121f4a8b-494f-4604-98d5-77d8273370b5', 'calendaraccount_modified_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('127c7b7e-f724-4116-8bbf-96f0f99bade6', '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), ('12f36d05-375b-4031-b851-3cbe69ab476d', '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), ('145adf54-f707-4a06-86f6-5d7ac9d05a59', 'schedulersjobs_assigned_user', 'Users', 'users', 'id', 'SchedulersJobs', 'job_queue', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('15845a6b-4f69-4b21-9ddd-ed00b7002b65', '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), ('15c4fea6-3a4e-4dbc-9db1-bd48059a32da', 'campaignlog_lead', 'CampaignLog', 'campaign_log', 'related_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('16571164-34a0-4df5-bfb6-f87d60c1c8b2', '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), ('177d65fc-d23b-4564-b4c3-95e5fadb56bf', 'inbound_email_created_by', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'created_by', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0), ('178889f8-12b1-4bdc-a2dd-7f98eaeefce7', 'projects_modified_user', 'Users', 'users', 'id', 'Project', 'project', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('182896b4-2de0-4ed9-94a6-74fc4e4ff63d', 'campaignlog_targeted_users', 'CampaignLog', 'campaign_log', 'target_id', 'Users', 'users', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1865d811-5587-40df-abdc-8c742329fd21', '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), ('18bff08d-446f-44f0-bfd1-b689bf871681', 'surveys_surveyquestions', 'Surveys', 'surveys', 'id', 'SurveyQuestions', 'surveyquestions', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1968c199-2178-452d-8d55-6bfa75ae6ab4', 'securitygroups_surveyquestions', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestions', 'surveyquestions', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestions', 0, 0), ('19c54669-a2e3-4f0e-81d9-b55193a9d421', 'oauth2authcodes_assigned_user', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1a1ed8b6-e67e-4368-9481-591088bc2df1', '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), ('1df05f6f-9a10-41cc-8710-e7d1e2353552', 'prospects_assigned_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1df26c18-8aa5-403c-84d4-1bd379cbc44b', '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), ('1eb1e700-1085-40fd-a729-2ce2bd3956c7', 'emails_accounts_rel', 'Emails', 'emails', 'id', 'Accounts', 'accounts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Accounts', 0, 0), ('1f11a106-0914-4cdd-89c0-230f097ef0cd', 'surveyresponses_modified_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('1fdddf3e-3a76-4e67-8fa6-90010113f128', 'emails_cases_rel', 'Emails', 'emails', 'id', 'Cases', 'cases', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Cases', 0, 0), ('20ecdb21-e0d9-4d46-a1b0-ba1160e35397', 'bugs_modified_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('21128b94-de79-4f08-90b3-d092c733e417', '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), ('2125ed69-7f10-401c-93ff-9e6c34d67cff', '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), ('21852088-6e8b-4127-9701-e673cc91c231', 'meetings_contacts', 'Meetings', 'meetings', 'id', 'Contacts', 'contacts', 'id', 'meetings_contacts', 'meeting_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('22bc2685-53a8-4791-9323-019f8a6be4d7', 'securitygroups_cases', 'SecurityGroups', 'securitygroups', 'id', 'Cases', 'cases', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Cases', 0, 0), ('237afb4c-4b8c-41a4-9f2b-e9f195303786', 'cases_assigned_user', 'Users', 'users', 'id', 'Cases', 'cases', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('24308752-ce1c-44e5-8b58-d08c6b78e67d', 'surveyquestions_surveyquestionresponses', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyquestion_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('24347509-027d-4548-b472-67e02d768d23', 'account_calls', 'Accounts', 'accounts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('247988f1-b7a4-4e07-933c-be79ec673838', 'notes_created_by', 'Users', 'users', 'id', 'Notes', 'notes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('24859b41-822b-4473-89ea-8ade8c549175', 'calls_reschedule', 'Calls', 'calls', 'id', 'Calls_Reschedule', 'calls_reschedule', 'call_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('24a4c207-19ae-4cec-8929-df27b5d8e0b9', 'externaloauthprovider_created_by', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2502f72a-d0ff-4eaf-9e5c-4ab7abc68701', '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), ('25e9da89-c474-42e1-adea-510cae4e617c', 'contact_aos_quotes', 'Contacts', 'contacts', 'id', 'AOS_Quotes', 'aos_quotes', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('263cbb7b-7288-4975-a038-d01d86e9c7d7', 'tasks_modified_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('266d1913-bd6d-49bb-a610-42491c38b8e4', '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), ('2672e4cc-773f-4df9-b4f5-64c36e51b05b', 'surveyresponses_assigned_user', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2684aab8-aa64-4764-9c5c-fb842a89b354', 'securitygroups_prospectlists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0), ('26a773b4-f3e9-4919-82ee-c4d76b95927e', 'projects_opportunities', 'Project', 'project', 'id', 'Opportunities', 'opportunities', 'id', 'projects_opportunities', 'project_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0), ('26cb2073-0442-4a1e-a952-0f3c9bb9d13f', 'calendaraccount_created_by', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('28cdbc8c-2bfc-45ef-b5ab-fa78b9c7f7d7', 'aod_index_assigned_user', 'Users', 'users', 'id', 'AOD_Index', 'aod_index', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('297bfc82-2e03-41a6-982d-253cc1636763', 'spots_modified_user', 'Users', 'users', 'id', 'Spots', 'spots', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('29895d6b-5b7c-417c-9c1b-e5ec7c8cc637', 'contacts_assigned_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('29dc91d2-1f25-4320-8b49-c859ab12c1fc', 'bugs_assigned_user', 'Users', 'users', 'id', 'Bugs', 'bugs', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('29e3cfad-1e41-4b77-a69a-b3dea0ad5a00', 'opportunity_leads', 'Opportunities', 'opportunities', 'id', 'Leads', 'leads', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2a36009f-3f7e-4fd4-993d-738ee15545ee', '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), ('2af6861b-690a-4eca-bfe5-79a5b4aa34d7', 'calls_users', 'Calls', 'calls', 'id', 'Users', 'users', 'id', 'calls_users', 'call_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('2b15310d-2ec2-4e56-be40-389fbbf8c18d', '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), ('2b1df3d9-3f06-4769-bbd8-9b811409e52a', 'aos_contracts_calls', 'AOS_Contracts', 'aos_contracts', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('2b759204-7383-4b36-83b6-5e684fd0485f', '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), ('2bfbb0dd-e727-417f-893a-5f0de7abd4a9', 'surveyquestionresponses_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2c06c352-e45b-4e50-b9f3-4f68462bbd6a', 'contact_leads', 'Contacts', 'contacts', 'id', 'Leads', 'leads', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2caf5ef7-578c-422e-adfa-1dc0eeccf7c4', '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), ('2d05d450-017c-46fb-8a82-29e9440a0b89', 'saved_search_assigned_user', 'Users', 'users', 'id', 'SavedSearch', 'saved_search', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2d3a8e7f-7f7c-4eab-a4d7-19b1d7924f39', '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), ('2d5c576f-6abf-4fd9-a948-817f8068af4c', 'aor_charts_modified_user', 'Users', 'users', 'id', 'AOR_Charts', 'aor_charts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2e2e4e88-22ae-4e8f-8d2f-fc82d10ddf7b', 'aok_knowledgebase_created_by', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('2eb49093-853f-4142-931d-df7524413765', 'emails_users_rel', 'Emails', 'emails', 'id', 'Users', 'users', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Users', 0, 0), ('3077a370-f0bc-4153-bc1d-fff2ffc7152f', 'oauth2clients_created_by', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3194b830-ecfe-467c-acb0-96ce49b0ba2a', '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), ('3203697b-df30-4886-af89-ebe8164c75d0', '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), ('32393cb4-9f9d-4624-9c2d-cefb612b0b99', 'schedulers_jobs_rel', 'Schedulers', 'schedulers', 'id', 'SchedulersJobs', 'job_queue', 'scheduler_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('328a22c2-1e07-493b-8cf8-89e31fb552f2', 'securitygroups_emailtemplates', 'SecurityGroups', 'securitygroups', 'id', 'EmailTemplates', 'email_templates', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailTemplates', 0, 0), ('32931233-0e3f-44d9-9bc7-d18ce437c1dc', 'prospect_campaign_log', 'Prospects', 'prospects', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Prospects', 0, 0), ('32d9ce14-5fb0-47d9-90e8-31d548297e83', 'surveyquestions_modified_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('32f04475-5cde-411a-b0cd-23fc8ff91a3b', 'aobh_businesshours_modified_user', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('330bb63e-8633-4e3a-bdb2-7351580e5cb1', 'case_calls', 'Cases', 'cases', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('3318e6c4-5728-4953-ad57-956af4877e35', 'securitygroups_surveys', 'SecurityGroups', 'securitygroups', 'id', 'Surveys', 'surveys', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Surveys', 0, 0), ('332f5a01-3594-4841-8172-49d3bb761ca5', 'contacts_created_by', 'Users', 'users', 'id', 'Contacts', 'contacts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3414d542-1125-4b9f-84e1-1758b71166d7', 'am_projecttemplates_modified_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('36454c01-8c6a-4527-987a-20ab0454d597', 'leads_modified_user', 'Users', 'users', 'id', 'Leads', 'leads', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3707b291-74c7-49df-b282-31b527d23a3a', 'surveyresponses_surveyquestionresponses', 'SurveyResponses', 'surveyresponses', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'surveyresponse_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('373fae2d-20c3-418b-9ed1-f59616b72f1f', '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), ('37551251-73ad-4c15-afb3-0ee823c62370', 'roles_users', 'Roles', 'roles', 'id', 'Users', 'users', 'id', 'roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('377a3f71-e892-41e4-9144-9b6221d590b1', '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), ('37ca012e-15b1-4b66-ba29-3e360a8d88dd', 'meetings_modified_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('37f7223d-de8d-42cc-9eb1-c32d37bee698', 'case_tasks', 'Cases', 'cases', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('39798d90-c9f1-4d71-88e6-c13affb442a4', 'documents_accounts', 'Documents', 'documents', 'id', 'Accounts', 'accounts', 'id', 'documents_accounts', 'document_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0), ('39d58a5d-20d6-4338-9d9c-8a36859920e0', 'aok_knowledgebase_assigned_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3ad073a1-d8a6-4bd2-8fc8-0bdc1782a304', '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), ('3be7668b-7662-4e9b-b57d-609e72f52f64', 'securitygroups_calendaraccount', 'SecurityGroups', 'securitygroups', 'id', 'CalendarAccount', 'calendar_accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'CalendarAccount', 0, 0), ('3bf397f4-eb40-4ed0-a501-6ec02b54d3f0', 'contact_tasks_parent', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0), ('3d775889-7fd4-42d5-a77a-b18b6bad33fb', 'surveyresponses_campaigns', 'Campaigns', 'campaigns', 'id', 'SurveyResponses', 'surveyresponses', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3d7e770b-80b7-4386-9a4f-89ef200de5bf', '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), ('3e28086c-0b50-4a1d-bcf2-34c9196edc37', 'surveys_modified_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3e83fec6-71ab-4198-8425-3b1b904dfe7e', '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), ('3f3911a5-7fa0-4bcf-b0e1-c05110b8f93f', 'projects_project_tasks', 'Project', 'project', 'id', 'ProjectTask', 'project_task', 'project_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('3f9c0d6a-3012-497e-9cba-bfc76f56223f', 'notes_assigned_user', 'Users', 'users', 'id', 'Notes', 'notes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4012a609-01a0-4925-8127-a8c9dc8f5e8a', '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), ('41a531be-7cdb-4698-9477-a94a00579dfd', 'aod_indexevent_created_by', 'Users', 'users', 'id', 'AOD_IndexEvent', 'aod_indexevent', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('43053237-5ace-4cb5-abde-543b9b7b6ad1', '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), ('430cc1b3-124c-4e61-8223-98a9b5c5cc90', 'user_direct_reports', 'Users', 'users', 'id', 'Users', 'users', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('432d0199-fc5d-46e1-baa4-abb1b21aea7b', 'surveyquestionresponses_modified_user', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('43696e06-bd6b-40c7-a1b6-267c0a6d74cb', '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), ('43c906e8-d97f-4e1c-8388-e50509129eba', '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), ('46074691-be3b-42c8-afcc-371a4fc59a8a', '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), ('462582e6-bcb6-488a-8e1c-8ad296acbed4', 'securitygroups_project_task', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0), ('481c188a-c9e0-4a6c-bd9b-ab5c16f26779', '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), ('4887cd72-0b14-4e96-8181-1058ac66be65', '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), ('496cf9c0-da84-485e-84a2-9068f23adf37', 'bug_tasks', 'Bugs', 'bugs', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('4978c76c-4fdc-46ad-9b2a-45f58ef3d96c', 'campaignlog_sent_emails', 'CampaignLog', 'campaign_log', 'related_id', 'Emails', 'emails', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('49b8775d-d711-47c3-ba30-26559a77357a', 'bug_notes', 'Bugs', 'bugs', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('4a138944-9178-4734-84c1-a425757f57e1', '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), ('4a1672dc-4d44-4d8e-ac90-5fbecd9772b2', 'contact_direct_reports', 'Contacts', 'contacts', 'id', 'Contacts', 'contacts', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4ac76ed3-ba39-4ef3-9f6b-d374f0773c88', 'jjwg_Maps_leads', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Leads', 'leads', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('4ba01c6a-ed7e-4450-b699-adb6ff8ed819', 'jjwg_areas_modified_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4d6e13d4-cbbb-4676-8f4e-fcf10baf84a4', 'account_aos_invoices', 'Accounts', 'accounts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('4e1f511c-5a2a-4d3f-9bbf-51a3d136df1a', 'securitygroups_meetings', 'SecurityGroups', 'securitygroups', 'id', 'Meetings', 'meetings', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Meetings', 0, 0), ('4e871abd-0d4b-472f-a5ed-b5549966c3e1', 'optimistic_locking', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0), ('4ffde9ed-61ce-41aa-8f36-580b68193be6', 'cases_bugs', 'Cases', 'cases', 'id', 'Bugs', 'bugs', 'id', 'cases_bugs', 'case_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('502172c0-5d99-4a06-bc38-d5e67daf6e96', 'aos_products_assigned_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5042c54b-a83f-42a2-8816-5f39c7b73fc2', 'sugarfeed_assigned_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('506eecc9-7c5a-412a-b66e-6577a83f1854', '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), ('50a6df7e-b2c7-44ee-8ee5-aef953f08a22', '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), ('50aa97bc-ace8-4b6b-8521-efa93712e595', 'leads_assigned_user', 'Users', 'users', 'id', 'Leads', 'leads', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('532011d6-0403-4aab-9da0-ce139c702020', 'securitygroups_surveyquestionresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyQuestionResponses', 0, 0), ('535beeda-9f22-426f-96a3-ba192746ebba', 'calls_notes', 'Calls', 'calls', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Calls', 0, 0), ('5385078d-318e-4a47-979a-9fc048a1eaed', 'prospects_modified_user', 'Users', 'users', 'id', 'Prospects', 'prospects', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('53ce1f16-6208-48ad-af7d-c5d53b3c2d47', 'meetings_notes', 'Meetings', 'meetings', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0), ('53dd8f53-5339-4149-9f40-0b63ff85d6df', 'aow_processed_modified_user', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('548cdd0d-e80a-48b8-8205-2f3faa7c3878', 'contacts_users', 'Contacts', 'contacts', 'id', 'Users', 'users', 'id', 'contacts_users', 'contact_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('54af6737-72f9-4798-bd0b-41854b16705b', '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), ('55bae06c-8081-4cde-96b8-054502b0b285', 'securitygroups_projecttask', 'SecurityGroups', 'securitygroups', 'id', 'ProjectTask', 'project_task', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProjectTask', 0, 0), ('55c7244b-c45f-434e-a791-de8207b79c37', 'schedulers_modified_user_id_rel', 'Users', 'users', 'id', 'Schedulers', 'schedulers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5738e176-eff8-4d49-9b74-c07b0908e11f', 'surveyquestionoptions_surveyquestionresponses', 'SurveyQuestionOptions', 'surveyquestionoptions', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'id', 'surveyquestionoptions_surveyquestionresponses', 'surveyq72c7options_ida', 'surveyq10d4sponses_idb', 'many-to-many', NULL, NULL, 0, 0), ('57dc13f1-c53a-48da-9f59-a71cd166fa2b', '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), ('58bec8e3-48a4-49ec-b307-e1d198adda0b', 'cases_created_by', 'Users', 'users', 'id', 'Cases', 'cases', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5a05223c-cb01-4669-b551-4c67ed15873f', 'jjwg_Maps_meetings', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Meetings', 'meetings', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Meetings', 0, 0), ('5a2d0bc1-5764-49bb-8e5c-6fbeb3a0ebe3', 'projects_emails', 'Project', 'project', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('5a2f2a11-ec62-444c-9820-18ecbb137522', 'emails_projects_rel', 'Emails', 'emails', 'id', 'Project', 'project', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Project', 0, 0), ('5a6f3fe4-0d72-46cb-b1f0-a8454ba8bb62', 'eapm_created_by', 'Users', 'users', 'id', 'EAPM', 'eapm', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5ab9b712-c4be-4e02-8010-b64ff22f743d', '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), ('5c5651c3-4505-4691-967b-24f0a75548b0', 'aor_conditions_created_by', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5ce710ad-f91a-4331-8c47-e9ba7b6e71f9', 'cases_created_contact', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'contact_created_by_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5e0dd597-a463-4081-94d5-812fb527f28e', 'calendar_accounts_calendar_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'calendar_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('5e656e69-1b37-4dcd-844a-036da595b2b3', 'lead_campaign_log', 'Leads', 'leads', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Leads', 0, 0), ('5ec47308-289b-4e0f-9486-0c6ae06d41fc', 'aor_reports_assigned_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('60686c1a-c368-452a-bdf6-bb33a06dbe66', '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), ('60a80e00-927d-4619-8cc7-447ee2c2fbd5', 'aow_actions_created_by', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('60f1b1b7-1cf6-4490-883e-d9f64e6e0ddd', 'aok_knowledgebase_modified_user', 'Users', 'users', 'id', 'AOK_KnowledgeBase', 'aok_knowledgebase', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('60f673aa-58e1-44f0-99ab-731e271e4713', 'surveys_assigned_user', 'Users', 'users', 'id', 'Surveys', 'surveys', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('60fc55f3-5407-4987-915f-1c0f792c0e6a', '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), ('639f1d1d-72e2-462e-b15d-b44eb1463b18', 'opportunity_aos_contracts', 'Opportunities', 'opportunities', 'id', 'AOS_Contracts', 'aos_contracts', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('63f26f84-b96c-4a14-9cc4-2ed3a207cda7', 'campaign_emailman', 'Campaigns', 'campaigns', 'id', 'EmailMan', 'emailman', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6448a250-2526-48d6-934d-80b92d2fbe98', 'contacts_bugs', 'Contacts', 'contacts', 'id', 'Bugs', 'bugs', 'id', 'contacts_bugs', 'contact_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('64c1955d-e344-4a76-a0a4-da31ef28a12b', 'account_cases', 'Accounts', 'accounts', 'id', 'Cases', 'cases', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('653a1f5d-6697-4ff7-b134-07dd21c2d1bc', '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), ('65be638c-e392-457b-b77f-f82403ddb467', '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), ('65f9ed75-aef2-4e1d-b7d1-7368abe17bc4', 'tasks_assigned_user', 'Users', 'users', 'id', 'Tasks', 'tasks', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('675ac181-3a02-44c5-a197-fb63cca7c453', '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), ('69810cee-ea6c-4522-8958-f6437b34adb5', '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), ('6991ec82-3002-458f-8710-077eaef8febe', '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), ('69ad2c7d-7afd-4fb5-aa0e-1b694746b406', 'am_projecttemplates_assigned_user', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('69d39014-4ea4-43f9-9b0f-9233084dc59f', 'tasks_created_by', 'Users', 'users', 'id', 'Tasks', 'tasks', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6a1c3580-b054-4684-91e0-6c7576872b93', 'campaigns_created_by', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6a38dfbc-f1e6-4b9b-aa6c-dfdb722d9041', '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), ('6a66861e-d300-4792-95f2-6bafd4cc0c36', 'notes_modified_user', 'Users', 'users', 'id', 'Notes', 'notes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6a778391-6a30-4940-bd62-724414a3f4c4', '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), ('6b186a16-0642-4ee6-910e-ff0f327419a6', 'jjwg_Maps_opportunities', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Opportunities', 'opportunities', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('6b28aae2-c491-4816-b89b-7d7f7106e0dd', 'projects_bugs', 'Project', 'project', 'id', 'Bugs', 'bugs', 'id', 'projects_bugs', 'project_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('6b742432-1c93-46a2-b4c9-6256a0a1ae01', '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), ('6b7d5515-da8e-44a0-990b-314fcf7f2d0e', '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), ('6befb6b3-14d0-4c74-9c4d-3e58c3b52b91', 'emails_tasks_rel', 'Emails', 'emails', 'id', 'Tasks', 'tasks', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Tasks', 0, 0), ('6c03c5b9-ec74-4747-a043-8b53f8e299d4', 'aod_index_modified_user', 'Users', 'users', 'id', 'AOD_Index', 'aod_index', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6c2427cf-8fd8-4f68-8e3f-6cffd64663fc', 'oauth2authcodes_modified_user', 'Users', 'users', 'id', 'OAuth2AuthCodes', 'oauth2authcodes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6dce4c0a-c5eb-43f0-bd0c-a2d24697a5c8', 'templatesectionline_created_by', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6edc737e-4318-4927-a277-690141c4524b', 'oauth2tokens_created_by', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('6f8e85f5-5576-4c93-b4b2-eafb1c691d2d', '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), ('6fee2876-c789-493d-b416-de5562c4f8ad', 'aos_products_modified_user', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7053f325-6052-44ab-90b0-cca6b8bdccb6', 'campaigns_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('707be42b-23ba-4d40-b191-c35eb9ad0b5e', 'oauth2clients_oauth2tokens', 'OAuth2Clients', 'oauth2clients', 'id', 'OAuth2Tokens', 'oauth2tokens', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('707d2e7f-d874-4137-9196-ade681b096e1', 'securitygroups_tasks', 'SecurityGroups', 'securitygroups', 'id', 'Tasks', 'tasks', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Tasks', 0, 0), ('710c432a-0e18-418c-ada8-67269b999d89', 'lead_emails', 'Leads', 'leads', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('7179c95a-ed03-47bb-b88b-265d44cf7e88', '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), ('719aeb61-a82c-4113-9f98-01394d62c0b7', '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), ('719e9635-6915-4850-9f6c-a37a5f420c03', 'securitygroups_prospects', 'SecurityGroups', 'securitygroups', 'id', 'Prospects', 'prospects', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Prospects', 0, 0), ('724c8041-ee1a-43a5-aa97-523700a172f7', 'email_template_email_marketings', 'EmailTemplates', 'email_templates', 'id', 'EmailMarketing', 'email_marketing', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7355cf87-c911-447a-883f-be82aec9544b', 'aor_fields_created_by', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7388742f-20fb-4b27-a8d2-ea91cb514980', 'project_tasks_assigned_user', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('73f01b03-0cce-4288-9fc1-fc84f1efa97d', '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), ('73f59a5d-5eed-405f-b366-04e854bbd606', 'jjwg_Maps_cases', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Cases', 'cases', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('7495077d-c6df-4d49-bd9c-6a70b890774a', 'jjwg_areas_created_by', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('752f6f0e-aff1-452e-a0f7-cc3f9df5ee1c', 'emails_modified_user', 'Users', 'users', 'id', 'Emails', 'emails', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('754e7ec8-11ea-4e1b-8faf-20accb70cf81', 'projects_tasks', 'Project', 'project', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('75c75758-ae89-44a2-a503-5f036162cfd4', 'calendaraccount_assigned_user', 'Users', 'users', 'id', 'CalendarAccount', 'calendar_accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('75df67d2-9f35-490b-87b6-9eb55ebcb466', 'projects_assigned_user', 'Users', 'users', 'id', 'Project', 'project', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('77ccad4d-401a-4a8b-bdfd-80bc4654cb53', '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), ('77de204d-f7b7-4979-8f55-7cc8aa009f93', '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), ('78941818-5cb1-4c53-87a9-3f2a6d7afd4a', 'acl_roles_users', 'ACLRoles', 'acl_roles', 'id', 'Users', 'users', 'id', 'acl_roles_users', 'role_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('798174d8-dfd0-4703-9c34-f1fc8aa5f440', 'contact_notes_parent', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0), ('7b2d5738-c4ae-4761-a217-1178af8fa2c0', '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), ('7b54b125-7d49-4460-819f-72d8bc7c5516', '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), ('7bb48019-b660-4e8c-8c00-6f2df1cea7ce', 'contacts_cases', 'Contacts', 'contacts', 'id', 'Cases', 'cases', 'id', 'contacts_cases', 'contact_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0), ('7bd5cbb8-cc30-4b1c-b48c-5d0a6accb76f', 'surveyquestionoptions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7be8b3c9-da80-49d3-a47c-b920a5953e1a', 'contact_campaign_log', 'Contacts', 'contacts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Contacts', 0, 0), ('7ca3733f-939a-4344-a07f-c73ce0873a35', 'opportunity_tasks', 'Opportunities', 'opportunities', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('7dd5025d-55ef-4d2a-a563-7683d58eb61b', 'reminders_invitees_modified_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7de8c84f-528a-41bb-a6ce-80d79833711a', 'account_aos_contracts', 'Accounts', 'accounts', 'id', 'AOS_Contracts', 'aos_contracts', 'contract_account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7e4fc7e0-2d98-451f-b45d-a2db915a5f79', 'externaloauthconnection_created_by', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7eb277d5-94c0-4d04-b2a5-97ca8631c96b', 'emails_assigned_user', 'Users', 'users', 'id', 'Emails', 'emails', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('7ff93897-b4b5-43bb-b35d-24742b4f28a7', '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), ('801783a3-8684-4222-8acb-156f6da4b6f3', 'securitygroups_campaigns', 'SecurityGroups', 'securitygroups', 'id', 'Campaigns', 'campaigns', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Campaigns', 0, 0), ('80741bbb-0e31-422d-a24d-2b4982707e34', 'opportunity_notes', 'Opportunities', 'opportunities', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('80c67b17-8d12-401d-a575-8f6250e6c228', 'alerts_assigned_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('81445ed2-e893-461a-aa2a-1c37cbb9a484', 'project_tasks_created_by', 'Users', 'users', 'id', 'ProjectTask', 'project_task', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0); INSERT INTO `relationships` VALUES ('815b4d45-42f5-4a1b-a2b7-8bf763ce688f', 'templatesectionline_modified_user', 'Users', 'users', 'id', 'TemplateSectionLine', 'templatesectionline', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('81a9c9df-98b7-4984-afa4-cf16a2665dc6', '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), ('821d5b9a-40a9-4778-81c6-17cd101e00a2', 'securitygroups_contacts', 'SecurityGroups', 'securitygroups', 'id', 'Contacts', 'contacts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Contacts', 0, 0), ('848919ac-69e9-4330-95ba-c5bff208a945', '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), ('8506e2d4-a630-4ef6-afb1-49caf9b62b0d', 'leads_documents', 'Leads', 'leads', 'id', 'Documents', 'documents', 'id', 'linked_documents', 'parent_id', 'document_id', 'many-to-many', 'parent_type', 'Leads', 0, 0), ('85a493de-e402-4e76-b7ab-501feb63fcf1', 'account_meetings', 'Accounts', 'accounts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('85de02c7-d2a1-42cc-8792-78ae0ded90f1', '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), ('86087fce-ac60-4067-9954-f92ce6aaf8c2', 'jjwg_Maps_accounts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Accounts', 'accounts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('86e2b2c3-f062-43f5-97e8-331d95f249e8', 'securitygroups_bugs', 'SecurityGroups', 'securitygroups', 'id', 'Bugs', 'bugs', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Bugs', 0, 0), ('87574b1b-dd0f-45fa-abde-84d8476522f0', 'securitygroups_project', 'SecurityGroups', 'securitygroups', 'id', 'Project', 'project', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Project', 0, 0), ('87f6bc33-ca32-47e1-abc8-23e76a80fab4', '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), ('88cb7732-6a94-4fbe-9f06-3398ee2761f6', 'lead_notes', 'Leads', 'leads', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('89431ea8-9e31-419e-8a23-70cb729ec87e', 'securitygroups_externaloauthprovider', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthProvider', 0, 0), ('89fbca57-eec6-47b3-a7a4-b359c0ee600c', 'campaign_modified_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8b32c0dc-db7a-4e4c-82e1-46aa5caa3856', 'eapm_assigned_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8c381a7a-e63a-4cdc-b646-ea13c28d1470', 'securitygroups_prospect_lists', 'SecurityGroups', 'securitygroups', 'id', 'ProspectLists', 'prospect_lists', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ProspectLists', 0, 0), ('8c75e4fa-ed13-4587-8eae-75218f48f6ce', 'aor_fields_modified_user', 'Users', 'users', 'id', 'AOR_Fields', 'aor_fields', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8cda2da4-11b0-4d7e-9495-1608629e12e3', '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), ('8d0193dc-b232-48f0-a437-9320faf5e1d2', 'favorites_modified_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8d4acdee-3d31-4896-96f2-4fa82c07c63b', 'bugs_created_by', 'Users', 'users', 'id', 'Bugs', 'bugs', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8d66b7eb-b593-4273-ae43-20ceffc29f2f', 'surveyquestions_created_by', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8d6aecc3-0f7a-4b72-ab92-98c36cd70e5a', 'lead_direct_reports', 'Leads', 'leads', 'id', 'Leads', 'leads', 'reports_to_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8de5d57c-82f6-4abc-ad66-cb8d3f7b422b', 'cases_modified_user', 'Users', 'users', 'id', 'Cases', 'cases', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8dfb64e8-d78d-4e91-81bb-9d1ce31f37ee', 'oauth2clients_assigned_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('8f70031f-41eb-4c09-b76d-ac5292c4b6bc', 'reminders_modified_user', 'Users', 'users', 'id', 'Reminders', 'reminders', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('900100a8-b6e6-4119-a256-8ef88c199b6c', 'calls_contacts', 'Calls', 'calls', 'id', 'Contacts', 'contacts', 'id', 'calls_contacts', 'call_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('9113bc72-28ee-4678-90a9-648c8de2544b', 'securitygroups_spots', 'SecurityGroups', 'securitygroups', 'id', 'Spots', 'spots', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Spots', 0, 0), ('914899d8-e84c-454e-9c97-b294b51ccf0e', '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), ('91d8b61c-9c22-4ead-93ee-bdce0552ec2d', 'project_tasks_tasks', 'ProjectTask', 'project_task', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('9215f036-2d29-4959-ab73-c9cb4618ce87', 'campaign_notes', 'Campaigns', 'campaigns', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Campaigns', 0, 0), ('9225bc11-6898-4905-b36a-7e40adbcf716', 'securitygroups_leads', 'SecurityGroups', 'securitygroups', 'id', 'Leads', 'leads', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Leads', 0, 0), ('92cfa174-8ff7-4ebb-9879-d1c80c10f2fd', 'securitygroups_users', 'SecurityGroups', 'securitygroups', 'id', 'Users', 'users', 'id', 'securitygroups_users', 'securitygroup_id', 'user_id', 'many-to-many', NULL, NULL, 0, 0), ('92e96bdc-523d-4e11-9eef-6577dd780220', '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), ('92e9f4c1-55af-43ef-b83d-e17d6a36f6eb', 'alerts_created_by', 'Users', 'users', 'id', 'Alerts', 'alerts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('936d86ac-b65c-420e-b03d-7442646fdd7c', 'aod_indexevent_assigned_user', 'Users', 'users', 'id', 'AOD_IndexEvent', 'aod_indexevent', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('943c05b7-1f9d-48ed-bbd9-a49ffd2a2329', 'projects_calls', 'Project', 'project', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('9456f5c5-a85d-4bc7-bc47-edfcf52d4ebf', '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), ('956b1b89-4747-4d0a-b10e-539236477a8d', 'bugs_fixed_in_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'fixed_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('95e87d19-a218-47ea-8d6e-f21bf670333e', 'fp_events_modified_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('962eed11-995f-4071-8fb7-07013c923378', 'projects_contacts', 'Project', 'project', 'id', 'Contacts', 'contacts', 'id', 'projects_contacts', 'project_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('9646b1b2-9a10-41b1-a3ee-48b35526f7e7', 'aos_invoices_assigned_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9698d548-cb6f-4033-848d-1cbad93a535f', 'oauthkeys_created_by', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('97b154a8-4f83-4308-9e58-df7a165ffa70', 'jjwg_Maps_prospects', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Prospects', 'prospects', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('97bdd72e-8ae9-4ccf-9eb7-9ef2e53fe144', 'securitygroups_modified_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('97e8a7b1-51aa-4678-aecf-f382566caca8', '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), ('982d9096-99db-4f57-8e18-5bf21642479c', 'am_tasktemplates_modified_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('989a71d1-d45c-4381-a18c-fd42ea1b2ff9', 'member_accounts', 'Accounts', 'accounts', 'id', 'Accounts', 'accounts', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('98c19d7b-b368-4ac5-9331-98bde98084b9', '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), ('9967272a-1219-4d36-b479-0abf06110ee4', 'favorites_created_by', 'Users', 'users', 'id', 'Favorites', 'favorites', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('997422e9-78d3-4dbc-a701-bdc579edae43', 'inbound_email_modified_user_id', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'modified_user_id', NULL, NULL, NULL, 'one-to-one', NULL, NULL, 0, 0), ('99c2cbdd-8f39-49d5-986c-d34039402887', '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), ('99f57ffb-f9f1-40aa-94c4-7872fa14f156', 'aos_quotes_assigned_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9c20eef3-ed18-428b-b198-015ffbae9fbd', 'account_campaign_log', 'Accounts', 'accounts', 'id', 'CampaignLog', 'campaign_log', 'target_id', NULL, NULL, NULL, 'one-to-many', 'target_type', 'Accounts', 0, 0), ('9c3ffd09-b6f9-44e5-abb4-1ac60f5214ff', 'campaign_contacts', 'Campaigns', 'campaigns', 'id', 'Contacts', 'contacts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9d55102b-442c-4c1f-b8be-c89271cbf9d2', 'bugs_release', 'Releases', 'releases', 'id', 'Bugs', 'bugs', 'found_in_release', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9f038e6a-0c8d-4245-8bc3-02b31e3a6903', 'surveyquestions_surveyquestionoptions', 'SurveyQuestions', 'surveyquestions', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'survey_question_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('9f21b135-ba77-4dab-82ad-37dfdc0c81e0', 'case_notes', 'Cases', 'cases', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('9f818a3f-04d5-4dfa-b5ec-56b32b3fea87', 'aos_contracts_tasks', 'AOS_Contracts', 'aos_contracts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('9f931f27-33a3-4a74-ac5a-ce5e5e4d0ada', '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), ('9fb13659-1ed8-4b47-964d-7cae758605db', 'aobh_businesshours_created_by', 'Users', 'users', 'id', 'AOBH_BusinessHours', 'aobh_businesshours', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a0754662-f4dc-410c-87e9-ac58a863027d', 'documents_contacts', 'Documents', 'documents', 'id', 'Contacts', 'contacts', 'id', 'documents_contacts', 'document_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('a107cc9a-0469-4bea-b9f7-c4f06adbd09b', 'securitygroups_externaloauthconnection', 'SecurityGroups', 'securitygroups', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'ExternalOAuthConnection', 0, 0), ('a19e2d83-5b15-4661-b0ff-504355b3bce4', 'aos_contracts_meetings', 'AOS_Contracts', 'aos_contracts', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('a2403680-2325-4b04-9358-c7806f34a7a6', 'securitygroups_documents', 'SecurityGroups', 'securitygroups', 'id', 'Documents', 'documents', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Documents', 0, 0), ('a2fb6de1-ac95-44e5-899e-258dccf78eaf', 'documents_opportunities', 'Documents', 'documents', 'id', 'Opportunities', 'opportunities', 'id', 'documents_opportunities', 'document_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0), ('a3081f61-b762-4071-bd45-382f2861b381', 'calls_assigned_user', 'Users', 'users', 'id', 'Calls', 'calls', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a3380f42-6eb2-4a3d-87e8-9ec08d6f4599', 'project_tasks_meetings', 'ProjectTask', 'project_task', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('a427ee5f-eb9f-47bb-8d7b-729084af73cc', 'surveyquestionresponses_created_by', 'Users', 'users', 'id', 'SurveyQuestionResponses', 'surveyquestionresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a49db07e-3e43-41b3-b9d7-0349e91af906', 'account_leads', 'Accounts', 'accounts', 'id', 'Leads', 'leads', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a6fbb6d1-7362-4d1b-b6a1-eee9807c1119', 'bug_meetings', 'Bugs', 'bugs', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('a789432c-606e-42cc-9689-25b9ef23cdb2', 'outbound_email_created_by', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a7b29594-dd08-463a-bf3c-71fc6231211a', 'surveys_campaigns', 'Surveys', 'surveys', 'id', 'Campaigns', 'campaigns', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('a7d6ec0b-4be5-4ad0-9406-8adc28d4c05e', '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), ('a9006d2d-14ac-4abf-8ecd-5ab775652c4b', 'calls_modified_user', 'Users', 'users', 'id', 'Calls', 'calls', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('aa34587d-d082-4dbd-b2a1-f91fb7048437', 'documents_modified_user', 'Users', 'users', 'id', 'Documents', 'documents', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('aaa70a26-285b-46b7-b146-ba91fad07e64', 'surveyresponses_created_by', 'Users', 'users', 'id', 'SurveyResponses', 'surveyresponses', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ab823e4a-5a81-4816-998d-41c5e7778196', 'aow_conditions_created_by', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ac12fe98-24ea-4638-830f-00133164d93f', 'aow_conditions_modified_user', 'Users', 'users', 'id', 'AOW_Conditions', 'aow_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ace87368-1b34-4f97-a64e-5293315e196d', 'prospectlists_assigned_user', 'Users', 'users', 'id', 'ProspectLists', 'prospect_lists', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('acec0c60-b731-4513-883a-294e590c0a2e', '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), ('ad56e1ee-ff27-4f5d-8012-8e12752694d7', 'opportunity_emails', 'Opportunities', 'opportunities', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('ae160104-f0ee-4796-9898-8ca7809ce8c8', 'campaign_campaigntrakers', 'Campaigns', 'campaigns', 'id', 'CampaignTrackers', 'campaign_trkrs', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ae43c303-4497-406e-b63c-bdde8ab2bc19', 'aor_conditions_modified_user', 'Users', 'users', 'id', 'AOR_Conditions', 'aor_conditions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('aef51fbb-af8a-4836-b70c-1bd27afdd0f9', 'emails_meetings_rel', 'Emails', 'emails', 'id', 'Meetings', 'meetings', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Meetings', 0, 0), ('b0773183-c94f-4122-853c-bea99ee68620', '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), ('b088dd7d-7c11-4c59-a10b-24a849530e94', 'am_projecttemplates_created_by', 'Users', 'users', 'id', 'AM_ProjectTemplates', 'am_projecttemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b18be596-854d-4621-b1a8-d99589733d9b', 'prospect_notes', 'Prospects', 'prospects', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('b18cdcf5-bed3-4d74-bb53-b9c1afb39a15', 'jjwg_markers_assigned_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b1a33500-826e-4147-a40f-44dfc85e388f', 'aod_index_created_by', 'Users', 'users', 'id', 'AOD_Index', 'aod_index', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b212353b-5cf6-4c03-860f-fce5eefa5de5', 'campaign_assigned_user', 'Users', 'users', 'id', 'Campaigns', 'campaigns', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b24b241d-21ca-4ce0-b1db-4bc9f317a044', 'contact_notes', 'Contacts', 'contacts', 'id', 'Notes', 'notes', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b2c4a823-b1e2-4350-93b0-be963bc071cf', 'reminders_created_by', 'Users', 'users', 'id', 'Reminders', 'reminders', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b38cc232-9d61-4dac-8783-bb6017e4ba80', 'campaign_email_marketing', 'Campaigns', 'campaigns', 'id', 'EmailMarketing', 'email_marketing', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b3a199bc-e7e9-488f-b8bd-e2d28fa2e828', 'documents_bugs', 'Documents', 'documents', 'id', 'Bugs', 'bugs', 'id', 'documents_bugs', 'document_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('b427f032-faa3-480a-bef7-fa59318f997b', 'securitygroups_created_by', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b4b7610e-470e-42a2-98bb-8b56e998dfe7', 'spots_assigned_user', 'Users', 'users', 'id', 'Spots', 'spots', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b50a9dd1-89f6-4bfd-af2c-3c457442cd62', '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), ('b59281d7-0d7f-4736-8c18-ed3ec23e62e9', 'surveyresponses_contacts', 'Contacts', 'contacts', 'id', 'SurveyResponses', 'surveyresponses', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b647e4eb-e078-4a4e-9a22-2166dcadfd54', 'inbound_emails_autoreply_email_templates', 'EmailTemplates', 'email_templates', 'id', 'InboundEmail', 'inbound_email', 'template_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b6517cd2-2504-4484-9401-c7b7de2eb01f', '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), ('b65b612f-0455-4257-9bee-11a2d3b82242', '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), ('b6953de3-6733-43a6-9e64-c29273c5df18', 'project_tasks_calls', 'ProjectTask', 'project_task', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('b6a2fe5a-6a6d-4349-a2ba-5967d43eae71', 'calls_created_by', 'Users', 'users', 'id', 'Calls', 'calls', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b734fbdc-dcf9-432d-9b70-35c892c50a9b', 'externaloauthconnection_modified_user', 'Users', 'users', 'id', 'ExternalOAuthConnection', 'external_oauth_connections', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b75bafb9-dd6d-4bbd-a8fc-866394d7ba70', 'lead_calls', 'Leads', 'leads', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('b761bb61-d22b-47a4-b9b9-af7a505fb64b', '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), ('b7cc6963-eec2-403a-a4d0-1888e2ef899d', 'lead_tasks', 'Leads', 'leads', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('b85bc5a6-379d-4edb-999f-bca191dc78f8', '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), ('b8a5eba5-3393-474c-b54e-10bb1635e0ee', '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), ('b8c46ce2-0254-48fe-aeee-305f08f0b7df', 'contacts_modified_user', 'Users', 'users', 'id', 'Contacts', 'contacts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b95430d5-8d10-4d81-8121-f89d42a33405', 'aos_invoices_modified_user', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b9a07840-f7ae-41bb-b78f-c2acfe25c862', 'meetings_created_by', 'Users', 'users', 'id', 'Meetings', 'meetings', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('b9a497c3-b127-455a-9d19-2fda689158e1', '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), ('b9aa5cba-6b12-428f-b593-f8ebd9cffab8', 'surveys_created_by', 'Users', 'users', 'id', 'Surveys', 'surveys', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ba2461dc-cbe9-471d-bbe7-b8f185928191', 'campaign_accounts', 'Campaigns', 'campaigns', 'id', 'Accounts', 'accounts', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ba39eede-ea87-4445-8f2e-778d47f67c39', '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), ('ba56ad45-5221-47e1-b1de-2571118c2b5f', '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), ('ba9a0247-f9d4-42f0-850d-bdd6f2392467', 'aos_invoices_created_by', 'Users', 'users', 'id', 'AOS_Invoices', 'aos_invoices', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bad99143-6690-44e9-b297-21bfeb59768e', 'aos_products_created_by', 'Users', 'users', 'id', 'AOS_Products', 'aos_products', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bb6b8d90-bee0-4e67-a2a9-1d242aaa137f', 'reminders_invitees_created_by', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bbcd5f69-7336-494c-a066-28f5c16428b4', 'oauth2clients_modified_user', 'Users', 'users', 'id', 'OAuth2Clients', 'oauth2clients', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bbdfcb4d-80b8-4c1b-bea5-a34fd1ce39bb', 'securitygroups_calls', 'SecurityGroups', 'securitygroups', 'id', 'Calls', 'calls', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Calls', 0, 0), ('bd5a5fd8-517e-426f-b34e-ceb842b69f35', 'oauth2tokens_modified_user', 'Users', 'users', 'id', 'OAuth2Tokens', 'oauth2tokens', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bd648975-5064-408c-8bbc-bb86ad9c7133', 'securitygroups_opportunities', 'SecurityGroups', 'securitygroups', 'id', 'Opportunities', 'opportunities', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Opportunities', 0, 0), ('be759189-cafe-4c03-8940-72d79f697cc9', '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), ('bea52125-7013-464d-bc51-e1f66910d515', 'calls_reschedule_modified_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('bf0c5494-951d-4209-a2ac-404d7809f46e', 'jjwg_maps_assigned_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c0104b82-6024-4432-9f67-1418c2e18857', 'accounts_contacts', 'Accounts', 'accounts', 'id', 'Contacts', 'contacts', 'id', 'accounts_contacts', 'account_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('c02f0f2d-5f91-4447-a092-ea6be644b8d3', '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), ('c201bff7-d2ae-417b-af82-f419fcc93fa7', 'inbound_emails_distribution_user', 'Users', 'users', 'id', 'InboundEmail', 'inbound_email', 'distribution_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c26fb199-de29-4d7f-b7bb-a5aab967116e', 'opportunities_modified_user', 'Users', 'users', 'id', 'Opportunities', 'opportunities', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c33f9d6f-82e9-48c5-8468-410d34b1a1f2', 'meetings_assigned_user', 'Users', 'users', 'id', 'Meetings', 'meetings', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c3c12cc7-96c3-410f-8732-984122a1c2c7', 'aow_processed_created_by', 'Users', 'users', 'id', 'AOW_Processed', 'aow_processed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c3f67a74-1ae8-48c9-a718-e68205c02080', 'opportunity_meetings', 'Opportunities', 'opportunities', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('c44646e0-a179-494f-a131-d060b390f286', 'securitygroups_accounts', 'SecurityGroups', 'securitygroups', 'id', 'Accounts', 'accounts', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Accounts', 0, 0), ('c4996bc9-2ac2-4c43-8b78-265f3cc6b84a', 'prospect_emails', 'Prospects', 'prospects', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('c4a866f3-c72e-40be-8317-0bdd23110adf', '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), ('c4b6cf27-e742-4983-9794-32aefb1793db', '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), ('c4c0b873-101b-449f-ad74-c01e92cb584f', 'jjwg_markers_modified_user', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c518bad9-586f-4caa-9ab6-e4c20c1ac9af', 'sugarfeed_modified_user', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c590b039-716b-4c32-82bb-2d6ef01d4cc5', 'aos_quotes_modified_user', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c5c5a8d0-d917-4a64-bf4d-6f83067becda', 'project_tasks_emails', 'ProjectTask', 'project_task', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'ProjectTask', 0, 0), ('c602ba25-a3d7-4675-b282-2c4113f1e6bd', 'aos_contracts_notes', 'AOS_Contracts', 'aos_contracts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'AOS_Contracts', 0, 0), ('c6396a08-01cd-4fce-8a3b-1b6636800e49', 'contact_aos_invoices', 'Contacts', 'contacts', 'id', 'AOS_Invoices', 'aos_invoices', 'billing_contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c643d927-6aa4-4da8-8783-4e6f11dcf1b3', 'opportunities_campaign', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c748c2bc-802f-4ad3-b7de-b1ad5a40f742', '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), ('c7f9f789-7411-4175-b87e-ec2169628d38', '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), ('c8a0e0dc-dc16-4a11-868f-f651989b1a1e', 'securitygroups_outboundemailaccounts', 'SecurityGroups', 'securitygroups', 'id', 'OutboundEmailAccounts', 'outbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'OutboundEmailAccounts', 0, 0), ('c8b78a4e-08a5-4155-9efa-3919ff56fcc8', 'documents_cases', 'Documents', 'documents', 'id', 'Cases', 'cases', 'id', 'documents_cases', 'document_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0), ('c8d18f0e-4686-4ad0-8ea4-bab52ec36ba3', 'case_meetings', 'Cases', 'cases', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Cases', 0, 0), ('c90c5399-15fb-4689-aac0-c0f58f8b34b5', 'emailtemplates_assigned_user', 'Users', 'users', 'id', 'EmailTemplates', 'email_templates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('c926915f-80fc-4df8-b95b-c2bdaafa7c63', '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), ('c98f1246-2811-47d4-8bc2-6cf6171604e0', 'projects_cases', 'Project', 'project', 'id', 'Cases', 'cases', 'id', 'projects_cases', 'project_id', 'case_id', 'many-to-many', NULL, NULL, 0, 0), ('c9da3d91-3e1e-4f90-a23d-e0cb3bf49b5c', 'surveyresponses_accounts', 'Accounts', 'accounts', 'id', 'SurveyResponses', 'surveyresponses', 'account_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ca3578db-e485-45e0-9c76-54db96271ff4', 'account_notes', 'Accounts', 'accounts', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('ca69fabc-4a02-4e13-9122-bb4bffa56c9f', '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), ('cb595e57-e665-40ce-9062-25ab6299ddd0', 'contact_tasks', 'Contacts', 'contacts', 'id', 'Tasks', 'tasks', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('cc650b74-1d97-40b6-81b0-85ab511c900f', 'surveys_surveyresponses', 'Surveys', 'surveys', 'id', 'SurveyResponses', 'surveyresponses', 'survey_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('cd246cb6-8f00-4e63-81c3-13f0cd4e60d0', 'campaign_campaignlog', 'Campaigns', 'campaigns', 'id', 'CampaignLog', 'campaign_log', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('cd9f6261-ea7f-4429-be54-6119a4adf314', 'securitygroups_surveyresponses', 'SecurityGroups', 'securitygroups', 'id', 'SurveyResponses', 'surveyresponses', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'SurveyResponses', 0, 0), ('d0a57880-6310-4b3e-b2ec-b566b3de1144', 'campaign_leads', 'Campaigns', 'campaigns', 'id', 'Leads', 'leads', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d0c6f3a6-de48-4597-8df2-d4cf01757f6a', 'oauthtokens_assigned_user', 'Users', 'users', 'id', 'OAuthTokens', 'oauth_tokens', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d0de630f-0296-4a53-9a0e-0d052c2d11c9', '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), ('d184a276-7004-4d9e-9b98-f178aeb1f8a4', '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), ('d1aa6c62-726e-4d1d-ac49-d81010f757c8', 'sugarfeed_created_by', 'Users', 'users', 'id', 'SugarFeed', 'sugarfeed', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d1b7281f-d883-4aaa-8401-5deaad78f927', 'projects_notes', 'Project', 'project', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('d24e3557-999e-49aa-87fa-95bba5d1a10e', 'aor_reports_modified_user', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d3e6e7e4-869e-44af-a333-9485337bfdd2', 'oauthkeys_modified_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d3ef8757-9e1e-469c-94c6-a5ebe02079d3', 'account_tasks', 'Accounts', 'accounts', 'id', 'Tasks', 'tasks', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('d42a969f-33b1-4328-8018-79fb236e77fd', 'surveyquestionoptions_modified_user', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d455c176-242b-4db4-95d8-9db06416bcbb', 'oauth2clients_oauth2authcodes', 'OAuth2Clients', 'oauth2clients', 'id', 'Oauth2AuthCodes', 'oauth2authcodes', 'client', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d4d5a093-6625-4032-8b2a-d3bcf6c4f496', 'jjwg_markers_created_by', 'Users', 'users', 'id', 'jjwg_Markers', 'jjwg_markers', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d4f0eec9-1abf-4906-a49f-5779c42a2286', 'securitygroups_assigned_user', 'Users', 'users', 'id', 'SecurityGroups', 'securitygroups', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d51419c8-be6c-4b76-a77b-ab97cb0c5836', 'accounts_modified_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d5764c18-50be-4405-a1a4-2f73a59dade1', '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), ('d5a11101-1544-4534-b98e-8d7361ba2f01', '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), ('d5b11e22-abb5-4b8d-840b-c01f69ce3011', 'spots_created_by', 'Users', 'users', 'id', 'Spots', 'spots', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d5c02e86-76ae-4300-abbe-99df9f620735', 'aow_workflow_assigned_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d5df7750-17f2-49dc-b703-8fbb80c72135', 'alerts_modified_user', 'Users', 'users', 'id', 'Alerts', 'alerts', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d7053c69-2b09-4f38-b7be-42981d96f22f', 'aow_workflow_modified_user', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d79ef088-0673-4e1e-b04a-f3c2c4c33612', '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), ('d7ead42a-31be-4691-be5b-b5480602f49a', 'lead_meetings', 'Leads', 'leads', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Leads', 0, 0), ('d80aa563-8833-4c0a-964b-53ca4f4e8f37', 'calls_leads', 'Calls', 'calls', 'id', 'Leads', 'leads', 'id', 'calls_leads', 'call_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0), ('d8d0582e-3c95-4d4c-b7ac-bd3b83df3e01', 'emails_bugs_rel', 'Emails', 'emails', 'id', 'Bugs', 'bugs', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Bugs', 0, 0), ('d9a6e8b9-de4b-4153-afac-e839726ea086', 'prospect_meetings', 'Prospects', 'prospects', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('d9ab700c-6ff3-40ed-9170-b934846811b1', 'accounts_assigned_user', 'Users', 'users', 'id', 'Accounts', 'accounts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('d9abbecf-a038-4286-a65f-1d5d1c2bfcd6', 'externaloauthprovider_modified_user', 'Users', 'users', 'id', 'ExternalOAuthProvider', 'external_oauth_providers', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('da6339d4-57b3-4d1d-8ea7-265e86ad9f65', 'opportunity_aos_quotes', 'Opportunities', 'opportunities', 'id', 'AOS_Quotes', 'aos_quotes', 'opportunity_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('da7c1215-7926-45f7-adf6-0e6f63394973', '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), ('dbff5857-af1a-4c36-a22d-e5982c0cd6ee', 'projects_accounts', 'Project', 'project', 'id', 'Accounts', 'accounts', 'id', 'projects_accounts', 'project_id', 'account_id', 'many-to-many', NULL, NULL, 0, 0), ('dd500dcb-59b4-4d56-ab2d-02d3f66c2fa2', 'outbound_email_owner_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('de1d64da-f242-47cd-97cd-c1aeadca641e', 'aow_workflow_created_by', 'Users', 'users', 'id', 'AOW_WorkFlow', 'aow_workflow', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('dfc51a40-e412-44a7-a0bb-0ed4bf1fe53b', 'users_users_password_link', 'Users', 'users', 'id', NULL, 'users_signatures', 'user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e0bb3cac-5963-4069-9d76-8953002366f7', 'jjwg_areas_assigned_user', 'Users', 'users', 'id', 'jjwg_Areas', 'jjwg_areas', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e29c0bf7-c928-4b6a-a9c5-b422fec2f285', '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), ('e2be8c15-a150-48ec-b894-61df6bcf76ac', '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), ('e32e73ee-aa70-42d5-a438-7e20bbf769a3', 'projects_meetings', 'Project', 'project', 'id', 'Meetings', 'meetings', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Project', 0, 0), ('e335e5c9-f353-44ba-8128-edb0579abf87', 'favorites_assigned_user', 'Users', 'users', 'id', 'Favorites', 'favorites', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e36422b7-8aa5-47dd-a5f1-caa8111e74ae', '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), ('e3a255d0-822e-4439-b14e-430d18035b73', 'eapm_modified_user', 'Users', 'users', 'id', 'EAPM', 'eapm', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e45ac2c9-fd9f-479e-99d2-f81ddb60c9a2', 'calls_reschedule_assigned_user', 'Users', 'users', 'id', 'Calls_Reschedule', 'calls_reschedule', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e46a5b5a-046f-4afa-99ae-73656a13bbce', 'accounts_opportunities', 'Accounts', 'accounts', 'id', 'Opportunities', 'opportunities', 'id', 'accounts_opportunities', 'account_id', 'opportunity_id', 'many-to-many', NULL, NULL, 0, 0), ('e49e9499-554e-41ad-9759-706d763633a3', 'surveyquestions_assigned_user', 'Users', 'users', 'id', 'SurveyQuestions', 'surveyquestions', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e578006e-8cbb-4ac3-ade9-f77ba6e56a9d', '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), ('e58d5c96-a476-4880-8270-a4b6171bdb79', 'surveyquestionoptions_created_by', 'Users', 'users', 'id', 'SurveyQuestionOptions', 'surveyquestionoptions', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e64fff46-b27c-42a9-b358-e4f3d98de620', 'contact_aos_contracts', 'Contacts', 'contacts', 'id', 'AOS_Contracts', 'aos_contracts', 'contact_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e7d5188b-d96b-406f-87e3-d086f0befcc3', 'am_tasktemplates_assigned_user', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e7f59ce2-0728-4907-af8b-38f72e682418', 'account_emails', 'Accounts', 'accounts', 'id', 'Emails', 'emails', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Accounts', 0, 0), ('e952ba91-f48a-46eb-ba27-e54e69b756b0', 'campaign_prospects', 'Campaigns', 'campaigns', 'id', 'Prospects', 'prospects', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('e965b89e-4344-4611-8723-e733da5bde9c', 'reminders_invitees_assigned_user', 'Users', 'users', 'id', 'Reminders_Invitees', 'reminders_invitees', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ea142bab-9441-4489-b6f7-16c3c7f5d277', '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), ('eab4e898-a4e6-40fe-b6d5-2e5300c4bdf2', 'accounts_created_by', 'Users', 'users', 'id', 'Accounts', 'accounts', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('eb60f44d-e3c0-42d1-b4da-c1d87407aa5a', 'documents_assigned_user', 'Users', 'users', 'id', 'Documents', 'documents', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ebffe819-06b4-4932-9551-5c669d33f0c0', 'outbound_email_assigned_user', 'Users', 'users', 'id', 'OutboundEmailAccounts', 'outbound_email', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ec5ae95a-aa54-4642-8d94-48111f72763a', 'calendar_account_meetings', 'CalendarAccount', 'calendar_accounts', 'id', 'Meetings', 'meetings', 'id', 'calendar_account_meetings', 'calendar_account_id', 'meeting_id', 'one-to-many', NULL, NULL, 0, 0), ('ed5f4cfa-422f-46d0-8fcf-dd12dfec7a98', 'consumer_tokens', 'OAuthKeys', 'oauth_consumer', 'id', 'OAuthTokens', 'oauth_tokens', 'consumer', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ee1b18e7-e00f-4d75-8752-2eeec9e0a878', '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), ('ee5bc1a6-686b-4348-a457-e6d21cbee022', '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), ('ee9fc77f-2bbf-431c-b71d-83b7d74719d7', 'emails_contacts_rel', 'Emails', 'emails', 'id', 'Contacts', 'contacts', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Contacts', 0, 0), ('ef8411b9-0cb8-4caa-92f3-f7df67aa46de', 'accounts_bugs', 'Accounts', 'accounts', 'id', 'Bugs', 'bugs', 'id', 'accounts_bugs', 'account_id', 'bug_id', 'many-to-many', NULL, NULL, 0, 0), ('efaa77db-bf33-481b-955e-34f9c675212e', 'jjwg_maps_modified_user', 'Users', 'users', 'id', 'jjwg_Maps', 'jjwg_maps', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('efc86457-8498-4488-975e-e0e762c230f6', 'emails_notes_rel', 'Emails', 'emails', 'id', 'Notes', 'notes', 'parent_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f00561b3-1fbf-418b-8776-9d9709fbd144', 'aor_reports_created_by', 'Users', 'users', 'id', 'AOR_Reports', 'aor_reports', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f150b03d-a3af-4b78-8f07-16188afe5538', 'securitygroups_emails', 'SecurityGroups', 'securitygroups', 'id', 'Emails', 'emails', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Emails', 0, 0), ('f16e54b2-efe6-41fd-a245-db8a8321ad31', '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), ('f1b654c7-6ff0-466b-a3c5-a0cbbbbebf31', 'opportunity_calls', 'Opportunities', 'opportunities', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Opportunities', 0, 0), ('f22a9fc2-5d1f-4773-aed1-f042cb1bb1da', 'fp_events_assigned_user', 'Users', 'users', 'id', 'FP_events', 'fp_events', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f2eaa8f5-d30c-49a7-b8eb-365cdab31b99', 'documents_created_by', 'Users', 'users', 'id', 'Documents', 'documents', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f2fa2aa7-b3ba-4b32-a94f-4ffc13024c19', 'emails_prospects_rel', 'Emails', 'emails', 'id', 'Prospects', 'prospects', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Prospects', 0, 0), ('f36c5c1a-4b67-425b-80d4-8245c5469f23', '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), ('f3905bda-4850-49be-9708-10c73cf3fa44', 'projects_created_by', 'Users', 'users', 'id', 'Project', 'project', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f4211c3c-1e73-4ea3-867c-953d89f31f79', 'securitygroups_inboundemail', 'SecurityGroups', 'securitygroups', 'id', 'InboundEmail', 'inbound_email', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'InboundEmail', 0, 0), ('f54346e4-e003-4ad1-b7a2-09e25fd4fb99', '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), ('f5a36793-28f5-4b33-86c7-1d810c1365c5', 'aos_quotes_created_by', 'Users', 'users', 'id', 'AOS_Quotes', 'aos_quotes', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f5bfe0dd-405d-4e9d-8cc7-783c333ebe6b', 'aos_contracts_assigned_user', 'Users', 'users', 'id', 'AOS_Contracts', 'aos_contracts', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f5e6e4fb-7081-417f-a4d4-342e6ff8471d', '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), ('f5f1020e-38db-445d-af10-b09723263202', 'securitygroups_notes', 'SecurityGroups', 'securitygroups', 'id', 'Notes', 'notes', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'Notes', 0, 0), ('f66f5f99-866d-4732-836b-bf785ccb316e', 'emails_leads_rel', 'Emails', 'emails', 'id', 'Leads', 'leads', 'id', 'emails_beans', 'email_id', 'bean_id', 'many-to-many', 'bean_module', 'Leads', 0, 0), ('f7c0cdad-6b74-4cc7-8bfc-947ffbdaf2ae', 'prospect_calls', 'Prospects', 'prospects', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Prospects', 0, 0), ('f84fdf69-eb49-46f4-ae3a-764de5b6ee1b', 'opportunities_contacts', 'Opportunities', 'opportunities', 'id', 'Contacts', 'contacts', 'id', 'opportunities_contacts', 'opportunity_id', 'contact_id', 'many-to-many', NULL, NULL, 0, 0), ('f8622b6b-8968-4b8c-b976-9c4cae13c325', 'prospects_created_by', 'Users', 'users', 'id', 'Prospects', 'prospects', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0); INSERT INTO `relationships` VALUES ('f8818d4e-3d4c-46ac-9216-859092fc5d7f', 'campaign_opportunities', 'Campaigns', 'campaigns', 'id', 'Opportunities', 'opportunities', 'campaign_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f8dc6cea-b5e9-4280-9fcc-6e446ea45966', 'campaignlog_contact', 'CampaignLog', 'campaign_log', 'related_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f8f10956-b9bc-4aad-b1b8-9c212611b896', 'aod_indexevent_modified_user', 'Users', 'users', 'id', 'AOD_IndexEvent', 'aod_indexevent', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('f95a1c41-1234-4c77-9846-81f4487fe0f0', 'oauthkeys_assigned_user', 'Users', 'users', 'id', 'OAuthKeys', 'oauth_consumer', 'assigned_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fa4e49ad-4107-4bb8-8f18-1e9a67ba6c51', 'bug_calls', 'Bugs', 'bugs', 'id', 'Calls', 'calls', 'parent_id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Bugs', 0, 0), ('fa6c6268-bd1f-4863-9c84-5aae4e3580ee', 'emails_created_by', 'Users', 'users', 'id', 'Emails', 'emails', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('faa2e8d5-3cca-4895-913f-7356d48aaf7d', 'leads_created_by', 'Users', 'users', 'id', 'Leads', 'leads', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fad302fe-b131-42d6-8ef3-3d817a7d80e3', 'am_tasktemplates_created_by', 'Users', 'users', 'id', 'AM_TaskTemplates', 'am_tasktemplates', 'created_by', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('fc933467-e4ed-4b44-a5dd-0f7b167606f9', 'jjwg_Maps_contacts', 'jjwg_Maps', 'jjwg_Maps', 'parent_id', 'Contacts', 'contacts', 'id', NULL, NULL, NULL, 'one-to-many', 'parent_type', 'Contacts', 0, 0), ('fd9fbd1d-9edf-4b52-9766-5f81b34cec7f', 'securitygroups_emailmarketing', 'SecurityGroups', 'securitygroups', 'id', 'EmailMarketing', 'email_marketing', 'id', 'securitygroups_records', 'securitygroup_id', 'record_id', 'many-to-many', 'module', 'EmailMarketing', 0, 0), ('fe119234-7e56-4913-94f1-d0184b540763', 'aow_actions_modified_user', 'Users', 'users', 'id', 'AOW_Actions', 'aow_actions', 'modified_user_id', NULL, NULL, NULL, 'one-to-many', NULL, NULL, 0, 0), ('ff86d454-3d6b-46be-a6c5-b8a35bdd4b52', 'meetings_leads', 'Meetings', 'meetings', 'id', 'Leads', 'leads', 'id', 'meetings_leads', 'meeting_id', 'lead_id', 'many-to-many', NULL, NULL, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `releases` -- CREATE TABLE `releases` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `list_order` int DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_releases` (`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `reminders` -- CREATE TABLE `reminders` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `popup` tinyint(1) DEFAULT NULL, `email` tinyint(1) DEFAULT NULL, `email_sent` tinyint(1) DEFAULT NULL, `timer_popup` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `timer_email` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_event_module` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_event_module_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_willexecute` int DEFAULT '-1', `popup_viewed` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_reminder_name` (`name`), KEY `idx_reminder_deleted` (`deleted`), KEY `idx_reminder_related_event_module` (`related_event_module`), KEY `idx_reminder_related_event_module_id` (`related_event_module_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `reminders_invitees` -- CREATE TABLE `reminders_invitees` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `reminder_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `related_invitee_module` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_invitee_module_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, PRIMARY KEY (`id`), KEY `idx_reminder_invitee_name` (`name`), KEY `idx_reminder_invitee_assigned_user_id` (`assigned_user_id`), KEY `idx_reminder_invitee_reminder_id` (`reminder_id`), KEY `idx_reminder_invitee_related_invitee_module` (`related_invitee_module`), KEY `idx_reminder_invitee_related_invitee_module_id` (`related_invitee_module_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles` -- CREATE TABLE `roles` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `modules` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_role_id_del` (`id`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles_modules` -- CREATE TABLE `roles_modules` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `role_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `allow` tinyint(1) DEFAULT '0', `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_role_id` (`role_id`), KEY `idx_module_id` (`module_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `roles_users` -- CREATE TABLE `roles_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `role_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_ru_role_id` (`role_id`), KEY `idx_ru_user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `saved_search` -- CREATE TABLE `saved_search` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `search_module` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contents` text COLLATE utf8mb4_general_ci, `description` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_desc` (`name`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `schedulers` -- CREATE TABLE `schedulers` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `job` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_time_start` datetime DEFAULT NULL, `date_time_end` datetime DEFAULT NULL, `job_interval` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `time_from` time DEFAULT NULL, `time_to` time DEFAULT NULL, `last_run` datetime DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `catch_up` tinyint(1) DEFAULT '1', PRIMARY KEY (`id`), KEY `idx_schedule` (`date_time_start`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `schedulers` -- INSERT INTO `schedulers` VALUES ('09dbf9a6-b1d7-4b35-b182-56350a083721', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Process Workflow Tasks', 'function::processAOW_Workflow', '2015-01-01 13:15:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1), ('236b8484-7ebe-43ee-99fa-c8ee5d15fced', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Optimise AOD Index', 'function::aodOptimiseIndex', '2015-01-01 16:45:01', NULL, '0::*/3::*::*::*', NULL, NULL, NULL, 'Active', 0), ('58b5c829-9247-4aef-8003-8751766d33ea', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Tracker Tables', 'function::trimTracker', '2015-01-01 13:15:01', NULL, '0::2::1::*::*', NULL, NULL, NULL, 'Active', 1), ('64511f10-9c23-496c-8161-0cae871423c5', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Calendar Accounts Sync', 'function::calendarSyncJob', '2015-01-01 06:15:01', NULL, '*/15::*::*::*::*', NULL, NULL, NULL, 'Active', 0), ('7146308d-ab31-4ea0-86f5-e130c4ab6a98', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Email Reminder Notifications', 'function::sendEmailReminders', '2015-01-01 12:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0), ('7226faa2-4e88-412e-86a2-bbb634606c9a', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Elasticsearch Index', 'function::runElasticSearchIndexerScheduler', '2015-01-01 15:15:01', NULL, '30::4::*::*::*', NULL, NULL, NULL, 'Active', 0), ('7450f104-a412-4435-b214-91906965fa4d', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Prune Database on 1st of Month', 'function::pruneDatabase', '2015-01-01 13:45:01', NULL, '0::4::1::*::*', NULL, NULL, NULL, 'Inactive', 0), ('90505146-312f-4542-8ab8-64e9f3f78f54', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Process Bounced Campaign Emails', 'function::pollMonitoredInboxesForBouncedCampaignEmails', '2015-01-01 07:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1), ('9d7268d3-a4e4-4e30-9e85-d400f65f4dfd', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Nightly Mass Email Campaigns', 'function::runMassEmailCampaign', '2015-01-01 07:15:01', NULL, '0::2-6::*::*::*', NULL, NULL, NULL, 'Active', 1), ('9ebdf3a8-3cfc-481f-91d6-2b045f898d70', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Clean Jobs Queue', 'function::cleanJobQueue', '2015-01-01 14:30:01', NULL, '0::5::*::*::*', NULL, NULL, NULL, 'Active', 0), ('a73c7712-b87c-4d56-a3de-887b439effa2', 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), ('ad825162-da2f-4e09-98ba-b670670009e4', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Run Report Generation Scheduled Tasks', 'function::aorRunScheduledReports', '2015-01-01 13:30:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 1), ('c0acd854-d5e2-47b3-b92f-e244db2ad1c4', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Check Inbound Mailboxes', 'function::pollMonitoredInboxesAOP', '2015-01-01 14:00:01', NULL, '*::*::*::*::*', NULL, NULL, NULL, 'Active', 0), ('e3f8b212-3897-43d6-9646-e726830d0781', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Perform Lucene Index', 'function::aodIndexUnindexed', '2015-01-01 08:30:01', NULL, '0::0::*::*::*', NULL, NULL, NULL, 'Active', 0), ('fd7c49ff-5e88-45dc-a162-3bda2b69030d', 0, '[[regtime]]', '[[regtime]]', '1', '1', 'Removal of documents from filesystem', 'function::removeDocumentsFromFS', '2015-01-01 08:15:01', NULL, '0::3::1::*::*', NULL, NULL, NULL, 'Active', 0); -- -------------------------------------------------------- -- -- Table structure for table `securitygroups` -- CREATE TABLE `securitygroups` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `noninheritable` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_acl_roles` -- CREATE TABLE `securitygroups_acl_roles` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `securitygroup_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `role_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_audit` -- CREATE TABLE `securitygroups_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_securitygroups_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_default` -- CREATE TABLE `securitygroups_default` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `securitygroup_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_records` -- CREATE TABLE `securitygroups_records` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `securitygroup_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `record_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_securitygroups_records_mod` (`module`,`deleted`,`record_id`,`securitygroup_id`), KEY `idx_securitygroups_records_del` (`deleted`,`record_id`,`module`,`securitygroup_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `securitygroups_users` -- CREATE TABLE `securitygroups_users` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `securitygroup_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `primary_group` tinyint(1) DEFAULT NULL, `noninheritable` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `securitygroups_users_idxa` (`securitygroup_id`), KEY `securitygroups_users_idxb` (`user_id`), KEY `securitygroups_users_idxc` (`user_id`,`deleted`,`securitygroup_id`,`id`), KEY `securitygroups_users_idxd` (`user_id`,`deleted`,`securitygroup_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `spots` -- CREATE TABLE `spots` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `config` longtext COLLATE utf8mb4_general_ci, `type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `sugarfeed` -- CREATE TABLE `sugarfeed` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_module` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `related_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `link_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `link_type` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `sgrfeed_date` (`date_entered`,`deleted`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionoptions` -- CREATE TABLE `surveyquestionoptions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `sort_order` int DEFAULT NULL, `survey_question_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionoptions_audit` -- CREATE TABLE `surveyquestionoptions_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyquestionoptions_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionoptions_surveyquestionresponses` -- CREATE TABLE `surveyquestionoptions_surveyquestionresponses` ( `id` varchar(36) COLLATE utf8mb4_general_ci NOT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `surveyq72c7options_ida` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `surveyq10d4sponses_idb` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `surveyquestionoptions_surveyquestionresponses_alt` (`surveyq72c7options_ida`,`surveyq10d4sponses_idb`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionresponses` -- CREATE TABLE `surveyquestionresponses` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `answer` text COLLATE utf8mb4_general_ci, `answer_bool` tinyint(1) DEFAULT NULL, `answer_datetime` datetime DEFAULT NULL, `surveyquestion_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `surveyresponse_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestionresponses_audit` -- CREATE TABLE `surveyquestionresponses_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyquestionresponses_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestions` -- CREATE TABLE `surveyquestions` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `sort_order` int DEFAULT NULL, `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `happiness_question` tinyint(1) DEFAULT NULL, `survey_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyquestions_audit` -- CREATE TABLE `surveyquestions_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyquestions_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyresponses` -- CREATE TABLE `surveyresponses` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `happiness` int DEFAULT NULL, `email_response_sent` tinyint(1) DEFAULT NULL, `account_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `campaign_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `survey_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveyresponses_audit` -- CREATE TABLE `surveyresponses_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveyresponses_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveys` -- CREATE TABLE `surveys` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'LBL_DRAFT', `submit_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Submit', `satisfied_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Satisfied', `neither_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Neither Satisfied nor Dissatisfied', `dissatisfied_text` varchar(255) COLLATE utf8mb4_general_ci DEFAULT 'Dissatisfied', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `surveys_audit` -- CREATE TABLE `surveys_audit` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_created` datetime DEFAULT NULL, `created_by` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `field_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `data_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `after_value_string` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `before_value_text` text COLLATE utf8mb4_general_ci, `after_value_text` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_surveys_parent_id` (`parent_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `tasks` -- CREATE TABLE `tasks` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT 'Not Started', `date_due_flag` tinyint(1) DEFAULT '0', `date_due` datetime DEFAULT NULL, `date_start_flag` tinyint(1) DEFAULT '0', `date_start` datetime DEFAULT NULL, `parent_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `parent_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contact_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `priority` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_tsk_name` (`name`), KEY `idx_task_con_del` (`contact_id`,`deleted`), KEY `idx_task_par_del` (`parent_id`,`parent_type`,`deleted`), KEY `idx_task_assigned` (`assigned_user_id`), KEY `idx_task_status` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `templatesectionline` -- CREATE TABLE `templatesectionline` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `deleted` tinyint(1) DEFAULT '0', `thumbnail` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `grp` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `ord` int DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `tracker` -- CREATE TABLE `tracker` ( `id` int NOT NULL AUTO_INCREMENT, `monitor_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `module_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `item_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `item_summary` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `action` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `session_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `visible` tinyint(1) DEFAULT '0', `deleted` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_tracker_iid` (`item_id`), KEY `idx_tracker_userid_vis_id` (`user_id`,`visible`,`id`), KEY `idx_tracker_userid_itemid_vis` (`user_id`,`item_id`,`visible`), KEY `idx_tracker_monitor_id` (`monitor_id`), KEY `idx_tracker_date_modified` (`date_modified`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `upgrade_history` -- CREATE TABLE `upgrade_history` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `filename` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `md5sum` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL, `type` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `version` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `description` text COLLATE utf8mb4_general_ci, `id_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `manifest` longtext COLLATE utf8mb4_general_ci, `date_entered` datetime DEFAULT NULL, `enabled` tinyint(1) DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `upgrade_history_md5_uk` (`md5sum`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `user_name` varchar(60) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_hash` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `system_generated_password` tinyint(1) DEFAULT NULL, `pwd_last_changed` datetime DEFAULT NULL, `authenticate_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `sugar_login` tinyint(1) DEFAULT '1', `first_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `last_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_admin` tinyint(1) DEFAULT '0', `external_auth_only` tinyint(1) DEFAULT '0', `receive_notifications` tinyint(1) DEFAULT '1', `description` text COLLATE utf8mb4_general_ci, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `modified_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `created_by` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `title` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `photo` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `department` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_home` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_mobile` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_work` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_other` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `phone_fax` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_street` varchar(150) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_city` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_state` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_country` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `address_postalcode` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `portal_only` tinyint(1) DEFAULT '0', `show_on_employees` tinyint(1) DEFAULT '1', `employee_status` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `messenger_id` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `messenger_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `reports_to_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `is_group` tinyint(1) DEFAULT NULL, `factor_auth` tinyint(1) DEFAULT NULL, `factor_auth_interface` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_user_name` (`user_name`,`is_group`,`status`,`last_name`(30),`first_name`(30),`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` VALUES ('1', '[[admin_username]]', '[[admin_pass]]', 0, NULL, NULL, 1, '[[admin_fname]]', '[[admin_lname]]', 1, 0, 1, NULL, '[[regtime]]', '[[regtime]]', '1', '1', 'Administrator', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Active', NULL, NULL, NULL, NULL, NULL, 0, 0, 1, 'Active', NULL, NULL, NULL, 0, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `users_feeds` -- CREATE TABLE `users_feeds` ( `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `feed_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `rank` int DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', KEY `idx_ud_user_id` (`user_id`,`feed_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users_last_import` -- CREATE TABLE `users_last_import` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `import_module` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bean_type` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `bean_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_user_id` (`assigned_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users_password_link` -- CREATE TABLE `users_password_link` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `keyhash` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `username` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `date_generated` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `idx_username` (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `users_signatures` -- CREATE TABLE `users_signatures` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `deleted` tinyint(1) DEFAULT NULL, `user_id` varchar(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, `signature` text COLLATE utf8mb4_general_ci, `signature_html` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_usersig_uid` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -------------------------------------------------------- -- -- Table structure for table `user_preferences` -- CREATE TABLE `user_preferences` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `category` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, `deleted` tinyint(1) DEFAULT '0', `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `assigned_user_id` char(36) COLLATE utf8mb4_general_ci DEFAULT NULL, `contents` longtext COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_userprefnamecat` (`assigned_user_id`,`category`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `user_preferences` -- INSERT INTO `user_preferences` VALUES ('c60a5f05-c275-4978-93be-edcd6f0563d8', 'global', 0, '[[regtime]]', '[[regtime]]', '1', 'YToxODp7czoyMDoiY2FsZW5kYXJfcHVibGlzaF9rZXkiO3M6MzY6ImExZDRhZmQ1LWYyMzItNGIxZS05NTU5LTI5ZTZiNjVmNjEyYiI7czoxMjoibWFpbG1lcmdlX29uIjtzOjM6Im9mZiI7czoxNjoic3dhcF9sYXN0X3ZpZXdlZCI7YjowO3M6MTQ6InN3YXBfc2hvcnRjdXRzIjtiOjA7czoxOToibmF2aWdhdGlvbl9wYXJhZGlnbSI7czoyOiJnbSI7czoyMDoic29ydF9tb2R1bGVzX2J5X25hbWUiO3M6MDoiIjtzOjEzOiJzdWJwYW5lbF90YWJzIjtiOjE7czoyNToiY291bnRfY29sbGFwc2VkX3N1YnBhbmVscyI7czowOiIiO3M6MTQ6Im1vZHVsZV9mYXZpY29uIjtiOjA7czo5OiJoaWRlX3RhYnMiO2E6MDp7fXM6MTE6InJlbW92ZV90YWJzIjthOjA6e31zOjc6Im5vX29wcHMiO3M6Mzoib2ZmIjtzOjg6InRpbWV6b25lIjtzOjM6IlVUQyI7czoyOiJ1dCI7czoxOiIxIjtzOjE0OiJ1c2VfcmVhbF9uYW1lcyI7YjoxO3M6MTc6Im1haWxfc210cGF1dGhfcmVxIjtzOjA6IiI7czoxMjoibWFpbF9zbXRwc3NsIjtpOjA7czoxNzoiZW1haWxfc2hvd19jb3VudHMiO2k6MDt9'); -- -------------------------------------------------------- -- -- Table structure for table `vcals` -- CREATE TABLE `vcals` ( `id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `deleted` tinyint(1) DEFAULT NULL, `date_entered` datetime DEFAULT NULL, `date_modified` datetime DEFAULT NULL, `user_id` char(36) COLLATE utf8mb4_general_ci NOT NULL, `type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `source` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL, `content` text COLLATE utf8mb4_general_ci, PRIMARY KEY (`id`), KEY `idx_vcal` (`type`,`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;