Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../x2
File: x2.sql
[0] Fix | Delete
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
[1] Fix | Delete
SET time_zone = "+00:00";
[2] Fix | Delete
[3] Fix | Delete
[4] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
[5] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
[6] Fix | Delete
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
[7] Fix | Delete
/*!40101 SET NAMES utf8 */;
[8] Fix | Delete
[9] Fix | Delete
--
[10] Fix | Delete
-- Database: `x2engine71`
[11] Fix | Delete
--
[12] Fix | Delete
[13] Fix | Delete
-- --------------------------------------------------------
[14] Fix | Delete
[15] Fix | Delete
--
[16] Fix | Delete
-- Table structure for table `x2_accounts`
[17] Fix | Delete
--
[18] Fix | Delete
[19] Fix | Delete
CREATE TABLE `x2_accounts` (
[20] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[21] Fix | Delete
`name` varchar(255) NOT NULL,
[22] Fix | Delete
`nameId` varchar(250) DEFAULT NULL,
[23] Fix | Delete
`firstName` varchar(255) DEFAULT NULL,
[24] Fix | Delete
`lastName` varchar(255) DEFAULT NULL,
[25] Fix | Delete
`website` varchar(255) DEFAULT NULL,
[26] Fix | Delete
`type` varchar(255) DEFAULT NULL,
[27] Fix | Delete
`title` varchar(100) DEFAULT NULL,
[28] Fix | Delete
`visibility` tinyint(4) DEFAULT '1',
[29] Fix | Delete
`annualRevenue` decimal(18,2) DEFAULT NULL,
[30] Fix | Delete
`phone` varchar(40) DEFAULT NULL,
[31] Fix | Delete
`phone2` varchar(40) DEFAULT NULL,
[32] Fix | Delete
`email` varchar(250) DEFAULT NULL,
[33] Fix | Delete
`twitter` varchar(50) DEFAULT NULL,
[34] Fix | Delete
`linkedin` varchar(100) DEFAULT NULL,
[35] Fix | Delete
`skype` varchar(32) DEFAULT NULL,
[36] Fix | Delete
`googleplus` varchar(100) DEFAULT NULL,
[37] Fix | Delete
`otherUrl` varchar(100) DEFAULT NULL,
[38] Fix | Delete
`company` varchar(250) DEFAULT NULL,
[39] Fix | Delete
`modelName` varchar(100) DEFAULT NULL,
[40] Fix | Delete
`tickerSymbol` varchar(10) DEFAULT NULL,
[41] Fix | Delete
`employees` int(11) DEFAULT NULL,
[42] Fix | Delete
`address` varchar(250) DEFAULT NULL,
[43] Fix | Delete
`address2` varchar(250) DEFAULT NULL,
[44] Fix | Delete
`city` varchar(250) DEFAULT NULL,
[45] Fix | Delete
`state` varchar(250) DEFAULT NULL,
[46] Fix | Delete
`country` varchar(250) DEFAULT NULL,
[47] Fix | Delete
`zipcode` varchar(250) DEFAULT NULL,
[48] Fix | Delete
`backgroundInfo` text,
[49] Fix | Delete
`priority` varchar(40) DEFAULT NULL,
[50] Fix | Delete
`parentAccount` varchar(250) DEFAULT NULL,
[51] Fix | Delete
`primaryContact` varchar(250) DEFAULT NULL,
[52] Fix | Delete
`assignedTo` text,
[53] Fix | Delete
`createDate` bigint(20) DEFAULT NULL,
[54] Fix | Delete
`facebook` varchar(100) DEFAULT NULL,
[55] Fix | Delete
`timezone` varchar(250) DEFAULT NULL,
[56] Fix | Delete
`associatedContacts` text,
[57] Fix | Delete
`description` text,
[58] Fix | Delete
`lastUpdated` bigint(20) DEFAULT NULL,
[59] Fix | Delete
`lastActivity` bigint(20) DEFAULT NULL,
[60] Fix | Delete
`updatedBy` varchar(50) DEFAULT NULL,
[61] Fix | Delete
`dupeCheck` tinyint(4) DEFAULT '0',
[62] Fix | Delete
`trackingKey` varchar(32) DEFAULT NULL,
[63] Fix | Delete
`leadtype` varchar(250) DEFAULT NULL,
[64] Fix | Delete
`leadSource` varchar(40) DEFAULT NULL,
[65] Fix | Delete
`leadstatus` varchar(250) DEFAULT NULL,
[66] Fix | Delete
`leadDate` bigint(20) DEFAULT NULL,
[67] Fix | Delete
`leadscore` int(11) DEFAULT NULL,
[68] Fix | Delete
`interest` varchar(250) DEFAULT NULL,
[69] Fix | Delete
`dealvalue` decimal(18,2) DEFAULT NULL,
[70] Fix | Delete
`closedate` bigint(20) DEFAULT NULL,
[71] Fix | Delete
`rating` tinyint(4) DEFAULT NULL,
[72] Fix | Delete
`dealstatus` varchar(250) DEFAULT NULL,
[73] Fix | Delete
`expectedCloseDate` bigint(20) DEFAULT NULL,
[74] Fix | Delete
`doNotCall` tinyint(4) DEFAULT '0',
[75] Fix | Delete
`doNotEmail` tinyint(4) DEFAULT '0',
[76] Fix | Delete
`businessEmail` varchar(250) DEFAULT NULL,
[77] Fix | Delete
`personalEmail` varchar(250) DEFAULT NULL,
[78] Fix | Delete
`alternativeEmail` varchar(250) DEFAULT NULL,
[79] Fix | Delete
`preferredEmail` varchar(250) DEFAULT NULL,
[80] Fix | Delete
PRIMARY KEY (`id`),
[81] Fix | Delete
UNIQUE KEY `nameId` (`nameId`),
[82] Fix | Delete
KEY `parentAccount` (`parentAccount`),
[83] Fix | Delete
KEY `primaryContact` (`primaryContact`),
[84] Fix | Delete
KEY `company` (`company`)
[85] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[86] Fix | Delete
[87] Fix | Delete
-- --------------------------------------------------------
[88] Fix | Delete
[89] Fix | Delete
--
[90] Fix | Delete
-- Table structure for table `x2_actions`
[91] Fix | Delete
--
[92] Fix | Delete
[93] Fix | Delete
CREATE TABLE `x2_actions` (
[94] Fix | Delete
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[95] Fix | Delete
`assignedTo` varchar(255) DEFAULT NULL,
[96] Fix | Delete
`calendarId` int(10) unsigned DEFAULT NULL,
[97] Fix | Delete
`subject` varchar(255) DEFAULT NULL,
[98] Fix | Delete
`visibility` int(11) NOT NULL DEFAULT '1',
[99] Fix | Delete
`associationId` int(11) NOT NULL,
[100] Fix | Delete
`associationType` varchar(255) DEFAULT NULL,
[101] Fix | Delete
`associationName` varchar(100) DEFAULT NULL,
[102] Fix | Delete
`dueDate` bigint(20) DEFAULT NULL,
[103] Fix | Delete
`showTime` tinyint(4) NOT NULL DEFAULT '0',
[104] Fix | Delete
`priority` varchar(10) DEFAULT NULL,
[105] Fix | Delete
`type` varchar(20) DEFAULT NULL,
[106] Fix | Delete
`createDate` bigint(20) DEFAULT NULL,
[107] Fix | Delete
`complete` varchar(5) DEFAULT 'No',
[108] Fix | Delete
`reminder` varchar(5) DEFAULT NULL,
[109] Fix | Delete
`completedBy` varchar(50) DEFAULT NULL,
[110] Fix | Delete
`completeDate` bigint(20) DEFAULT NULL,
[111] Fix | Delete
`lastUpdated` bigint(20) DEFAULT NULL,
[112] Fix | Delete
`updatedBy` varchar(50) DEFAULT NULL,
[113] Fix | Delete
`workflowId` int(11) DEFAULT NULL,
[114] Fix | Delete
`quoteId` int(10) unsigned DEFAULT NULL,
[115] Fix | Delete
`stageNumber` int(11) DEFAULT NULL,
[116] Fix | Delete
`allDay` tinyint(4) DEFAULT NULL,
[117] Fix | Delete
`color` varchar(20) DEFAULT NULL,
[118] Fix | Delete
`syncGoogleCalendarEventId` text,
[119] Fix | Delete
`syncOutlookCalendarEventId` text,
[120] Fix | Delete
`sticky` tinyint(4) DEFAULT '0',
[121] Fix | Delete
`flowTriggered` tinyint(4) DEFAULT '0',
[122] Fix | Delete
`timeSpent` int(11) DEFAULT '0',
[123] Fix | Delete
`locationId` int(10) unsigned DEFAULT NULL,
[124] Fix | Delete
PRIMARY KEY (`id`),
[125] Fix | Delete
UNIQUE KEY `associationType_2` (`associationType`,`associationId`,`workflowId`,`stageNumber`),
[126] Fix | Delete
KEY `assignedTo` (`assignedTo`),
[127] Fix | Delete
KEY `type` (`type`),
[128] Fix | Delete
KEY `associationType` (`associationType`,`associationId`),
[129] Fix | Delete
KEY `locationId` (`locationId`),
[130] Fix | Delete
KEY `calendarId` (`calendarId`),
[131] Fix | Delete
KEY `workflowId` (`workflowId`),
[132] Fix | Delete
KEY `stageNumber` (`stageNumber`)
[133] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[134] Fix | Delete
[135] Fix | Delete
-- --------------------------------------------------------
[136] Fix | Delete
[137] Fix | Delete
--
[138] Fix | Delete
-- Table structure for table `x2_actions_to_media`
[139] Fix | Delete
--
[140] Fix | Delete
[141] Fix | Delete
CREATE TABLE `x2_actions_to_media` (
[142] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[143] Fix | Delete
`actionsId` int(10) unsigned NOT NULL,
[144] Fix | Delete
`mediaId` int(11) NOT NULL,
[145] Fix | Delete
PRIMARY KEY (`id`),
[146] Fix | Delete
UNIQUE KEY `actionsId` (`actionsId`,`mediaId`),
[147] Fix | Delete
KEY `mediaId` (`mediaId`)
[148] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[149] Fix | Delete
[150] Fix | Delete
-- --------------------------------------------------------
[151] Fix | Delete
[152] Fix | Delete
--
[153] Fix | Delete
-- Table structure for table `x2_action_meta_data`
[154] Fix | Delete
--
[155] Fix | Delete
[156] Fix | Delete
CREATE TABLE `x2_action_meta_data` (
[157] Fix | Delete
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[158] Fix | Delete
`actionId` int(10) unsigned NOT NULL,
[159] Fix | Delete
`eventSubtype` varchar(100) DEFAULT NULL,
[160] Fix | Delete
`eventStatus` varchar(100) DEFAULT NULL,
[161] Fix | Delete
`etag` varchar(255) DEFAULT NULL,
[162] Fix | Delete
`remoteCalendarUrl` varchar(255) DEFAULT NULL,
[163] Fix | Delete
`remoteSource` int(11) DEFAULT '0',
[164] Fix | Delete
`emailImapUid` int(10) unsigned DEFAULT NULL,
[165] Fix | Delete
`emailInboxId` int(10) unsigned DEFAULT NULL,
[166] Fix | Delete
`emailUidValidity` int(10) unsigned DEFAULT NULL,
[167] Fix | Delete
`emailFolderName` varchar(250) DEFAULT NULL,
[168] Fix | Delete
PRIMARY KEY (`id`),
[169] Fix | Delete
UNIQUE KEY `emailImapUid` (`emailImapUid`,`emailInboxId`,`emailFolderName`,`emailUidValidity`),
[170] Fix | Delete
KEY `actionId` (`actionId`)
[171] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[172] Fix | Delete
[173] Fix | Delete
-- --------------------------------------------------------
[174] Fix | Delete
[175] Fix | Delete
--
[176] Fix | Delete
-- Table structure for table `x2_action_text`
[177] Fix | Delete
--
[178] Fix | Delete
[179] Fix | Delete
CREATE TABLE `x2_action_text` (
[180] Fix | Delete
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[181] Fix | Delete
`text` longtext,
[182] Fix | Delete
`actionId` int(10) unsigned DEFAULT NULL,
[183] Fix | Delete
PRIMARY KEY (`id`),
[184] Fix | Delete
KEY `actionId` (`actionId`)
[185] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[186] Fix | Delete
[187] Fix | Delete
-- --------------------------------------------------------
[188] Fix | Delete
[189] Fix | Delete
--
[190] Fix | Delete
-- Table structure for table `x2_action_timers`
[191] Fix | Delete
--
[192] Fix | Delete
[193] Fix | Delete
CREATE TABLE `x2_action_timers` (
[194] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[195] Fix | Delete
`userId` int(11) NOT NULL,
[196] Fix | Delete
`associationId` int(11) DEFAULT NULL,
[197] Fix | Delete
`associationType` varchar(250) DEFAULT NULL,
[198] Fix | Delete
`type` varchar(250) DEFAULT NULL,
[199] Fix | Delete
`timestamp` bigint(20) DEFAULT NULL,
[200] Fix | Delete
`endtime` bigint(20) DEFAULT NULL,
[201] Fix | Delete
`actionId` int(11) DEFAULT NULL,
[202] Fix | Delete
`data` text,
[203] Fix | Delete
PRIMARY KEY (`id`)
[204] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[205] Fix | Delete
[206] Fix | Delete
-- --------------------------------------------------------
[207] Fix | Delete
[208] Fix | Delete
--
[209] Fix | Delete
-- Table structure for table `x2_action_to_record`
[210] Fix | Delete
--
[211] Fix | Delete
[212] Fix | Delete
CREATE TABLE `x2_action_to_record` (
[213] Fix | Delete
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[214] Fix | Delete
`actionId` int(10) unsigned NOT NULL,
[215] Fix | Delete
`recordId` int(10) unsigned NOT NULL,
[216] Fix | Delete
`recordType` varchar(32) NOT NULL,
[217] Fix | Delete
PRIMARY KEY (`id`),
[218] Fix | Delete
UNIQUE KEY `actionId` (`actionId`,`recordId`,`recordType`)
[219] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[220] Fix | Delete
[221] Fix | Delete
-- --------------------------------------------------------
[222] Fix | Delete
[223] Fix | Delete
--
[224] Fix | Delete
-- Table structure for table `x2_admin`
[225] Fix | Delete
--
[226] Fix | Delete
[227] Fix | Delete
CREATE TABLE `x2_admin` (
[228] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[229] Fix | Delete
`timeout` int(11) DEFAULT NULL,
[230] Fix | Delete
`maxUserCount` int(11) DEFAULT '200',
[231] Fix | Delete
`loginCredsTimeout` int(11) DEFAULT '30',
[232] Fix | Delete
`tokenPersist` tinyint(4) DEFAULT '1',
[233] Fix | Delete
`webLeadEmail` varchar(255) DEFAULT NULL,
[234] Fix | Delete
`webLeadEmailAccount` int(11) NOT NULL DEFAULT '-1',
[235] Fix | Delete
`webTrackerCooldown` int(11) DEFAULT '60',
[236] Fix | Delete
`enableWebTracker` tinyint(4) DEFAULT '1',
[237] Fix | Delete
`enableGeolocation` tinyint(4) DEFAULT '1',
[238] Fix | Delete
`currency` varchar(3) DEFAULT NULL,
[239] Fix | Delete
`duplicateFields` varchar(255) NOT NULL DEFAULT 'name',
[240] Fix | Delete
`chatPollTime` int(11) DEFAULT '3000',
[241] Fix | Delete
`maxFileSize` int(11) DEFAULT '10',
[242] Fix | Delete
`locationTrackingFrequency` int(11) DEFAULT '60',
[243] Fix | Delete
`defaultTheme` int(11) DEFAULT NULL,
[244] Fix | Delete
`ignoreUpdates` tinyint(4) DEFAULT '0',
[245] Fix | Delete
`rrId` int(11) DEFAULT '0',
[246] Fix | Delete
`leadDistribution` varchar(255) DEFAULT NULL,
[247] Fix | Delete
`onlineOnly` tinyint(4) DEFAULT NULL,
[248] Fix | Delete
`actionPublisherTabs` text,
[249] Fix | Delete
`disableAutomaticRecordTagging` tinyint(4) DEFAULT '0',
[250] Fix | Delete
`emailBulkAccount` int(11) NOT NULL DEFAULT '-1',
[251] Fix | Delete
`emailNotificationAccount` int(11) NOT NULL DEFAULT '-1',
[252] Fix | Delete
`emailFromName` varchar(255) NOT NULL DEFAULT 'X2Engine',
[253] Fix | Delete
`emailFromAddr` varchar(255) NOT NULL DEFAULT '[[admin_email]]',
[254] Fix | Delete
`emailBatchSize` int(11) NOT NULL DEFAULT '200',
[255] Fix | Delete
`emailInterval` int(11) NOT NULL DEFAULT '60',
[256] Fix | Delete
`emailCount` int(11) DEFAULT '0',
[257] Fix | Delete
`emailStartTime` bigint(20) DEFAULT NULL,
[258] Fix | Delete
`emailUseSignature` varchar(5) DEFAULT 'user',
[259] Fix | Delete
`emailSignature` text,
[260] Fix | Delete
`emailType` varchar(20) DEFAULT 'mail',
[261] Fix | Delete
`emailHost` varchar(255) DEFAULT NULL,
[262] Fix | Delete
`emailPort` int(11) DEFAULT '25',
[263] Fix | Delete
`emailUseAuth` varchar(5) DEFAULT 'user',
[264] Fix | Delete
`emailUser` varchar(255) DEFAULT NULL,
[265] Fix | Delete
`emailPass` varchar(255) DEFAULT NULL,
[266] Fix | Delete
`emailSecurity` varchar(10) DEFAULT NULL,
[267] Fix | Delete
`enableColorDropdownLegend` tinyint(4) DEFAULT '0',
[268] Fix | Delete
`enforceDefaultTheme` tinyint(4) DEFAULT '0',
[269] Fix | Delete
`installDate` bigint(20) NOT NULL,
[270] Fix | Delete
`updateDate` bigint(20) NOT NULL,
[271] Fix | Delete
`updateInterval` int(11) NOT NULL DEFAULT '0',
[272] Fix | Delete
`quoteStrictLock` tinyint(4) DEFAULT NULL,
[273] Fix | Delete
`locationTrackingSwitch` tinyint(4) DEFAULT NULL,
[274] Fix | Delete
`checkinByDefault` tinyint(4) DEFAULT '1',
[275] Fix | Delete
`googleIntegration` tinyint(4) DEFAULT NULL,
[276] Fix | Delete
`outlookIntegration` tinyint(4) DEFAULT NULL,
[277] Fix | Delete
`inviteKey` varchar(255) DEFAULT NULL,
[278] Fix | Delete
`workflowBackdateWindow` int(11) NOT NULL DEFAULT '-1',
[279] Fix | Delete
`workflowBackdateRange` int(11) NOT NULL DEFAULT '-1',
[280] Fix | Delete
`workflowBackdateReassignment` tinyint(4) NOT NULL DEFAULT '1',
[281] Fix | Delete
`unique_id` varchar(32) NOT NULL DEFAULT 'none',
[282] Fix | Delete
`edition` varchar(10) NOT NULL DEFAULT 'opensource',
[283] Fix | Delete
`serviceCaseEmailAccount` int(11) NOT NULL DEFAULT '-1',
[284] Fix | Delete
`serviceCaseFromEmailAddress` text,
[285] Fix | Delete
`serviceCaseFromEmailName` text,
[286] Fix | Delete
`serviceCaseEmailSubject` text,
[287] Fix | Delete
`serviceCaseEmailMessage` text,
[288] Fix | Delete
`srrId` int(11) DEFAULT '0',
[289] Fix | Delete
`sgrrId` int(11) DEFAULT '0',
[290] Fix | Delete
`serviceDistribution` varchar(255) DEFAULT NULL,
[291] Fix | Delete
`serviceOnlineOnly` tinyint(4) DEFAULT NULL,
[292] Fix | Delete
`corporateAddress` text,
[293] Fix | Delete
`eventDeletionTime` int(11) DEFAULT NULL,
[294] Fix | Delete
`eventDeletionTypes` text,
[295] Fix | Delete
`properCaseNames` int(11) DEFAULT '1',
[296] Fix | Delete
`contactNameFormat` varchar(255) DEFAULT NULL,
[297] Fix | Delete
`gaTracking_public` varchar(20) DEFAULT NULL,
[298] Fix | Delete
`gaTracking_internal` varchar(20) DEFAULT NULL,
[299] Fix | Delete
`sessionLog` tinyint(4) DEFAULT '0',
[300] Fix | Delete
`userActionBackdating` tinyint(4) DEFAULT '0',
[301] Fix | Delete
`historyPrivacy` varchar(20) DEFAULT 'default',
[302] Fix | Delete
`batchTimeout` int(11) DEFAULT '300',
[303] Fix | Delete
`locationTrackingDistance` int(11) DEFAULT '1',
[304] Fix | Delete
`massActionsBatchSize` int(11) DEFAULT '10',
[305] Fix | Delete
`externalBaseUrl` varchar(255) DEFAULT NULL,
[306] Fix | Delete
`externalBaseUri` varchar(255) DEFAULT NULL,
[307] Fix | Delete
`assetBaseUrls` varchar(255) DEFAULT NULL,
[308] Fix | Delete
`enableAssetDomains` tinyint(4) NOT NULL DEFAULT '0',
[309] Fix | Delete
`appName` varchar(255) DEFAULT NULL,
[310] Fix | Delete
`appDescription` varchar(255) DEFAULT NULL,
[311] Fix | Delete
`x2FlowRespectsDoNotEmail` tinyint(4) DEFAULT '0',
[312] Fix | Delete
`doNotEmailPage` longtext,
[313] Fix | Delete
`EmailUnSubPage` longtext,
[314] Fix | Delete
`doNotEmailLinkText` varchar(255) DEFAULT NULL,
[315] Fix | Delete
`enableUnsubscribeHeader` tinyint(4) DEFAULT '0',
[316] Fix | Delete
`twitterCredentialsId` int(10) unsigned DEFAULT NULL,
[317] Fix | Delete
`dropboxCredentialsId` int(10) unsigned DEFAULT NULL,
[318] Fix | Delete
`linkedInCredentialsId` int(10) unsigned DEFAULT NULL,
[319] Fix | Delete
`twitterRateLimits` text,
[320] Fix | Delete
`linkedInRateLimits` text,
[321] Fix | Delete
`dropboxRateLimits` text,
[322] Fix | Delete
`triggerLogMax` int(10) unsigned DEFAULT '1000000',
[323] Fix | Delete
`googleCredentialsId` int(10) unsigned DEFAULT NULL,
[324] Fix | Delete
`jasperCredentialsId` int(10) unsigned DEFAULT NULL,
[325] Fix | Delete
`hubCredentialsId` int(10) unsigned DEFAULT NULL,
[326] Fix | Delete
`twoFactorCredentialsId` int(10) unsigned DEFAULT NULL,
[327] Fix | Delete
`disableAnonContactNotifs` tinyint(4) DEFAULT '0',
[328] Fix | Delete
`outlookCredentialsId` int(10) unsigned DEFAULT NULL,
[329] Fix | Delete
`imapPollTimeout` int(11) DEFAULT '10',
[330] Fix | Delete
`emailDropbox` text,
[331] Fix | Delete
`appliedPackages` text,
[332] Fix | Delete
`api2` text,
[333] Fix | Delete
`accessControlMethod` varchar(15) DEFAULT 'blacklist',
[334] Fix | Delete
`ipWhitelist` text,
[335] Fix | Delete
`ipBlacklist` text,
[336] Fix | Delete
`loginTimeout` int(11) DEFAULT '900',
[337] Fix | Delete
`failedLoginsBeforeCaptcha` int(11) DEFAULT '5',
[338] Fix | Delete
`maxFailedLogins` int(11) DEFAULT '100',
[339] Fix | Delete
`maxLoginHistory` int(11) DEFAULT '5000',
[340] Fix | Delete
`maxFailedLoginHistory` int(11) DEFAULT '5000',
[341] Fix | Delete
`scanUploads` tinyint(4) DEFAULT '0',
[342] Fix | Delete
`enableFingerprinting` tinyint(4) DEFAULT '1',
[343] Fix | Delete
`identityThreshold` int(11) DEFAULT '13',
[344] Fix | Delete
`maxAnonContacts` int(11) DEFAULT '5000',
[345] Fix | Delete
`maxAnonActions` int(11) DEFAULT '10000',
[346] Fix | Delete
`performHostnameLookups` tinyint(4) DEFAULT '1',
[347] Fix | Delete
`passwordRequirements` varchar(250) DEFAULT NULL,
[348] Fix | Delete
PRIMARY KEY (`id`),
[349] Fix | Delete
KEY `twitterCredentialsId` (`twitterCredentialsId`),
[350] Fix | Delete
KEY `linkedInCredentialsId` (`linkedInCredentialsId`),
[351] Fix | Delete
KEY `dropboxCredentialsId` (`dropboxCredentialsId`),
[352] Fix | Delete
KEY `googleCredentialsId` (`googleCredentialsId`)
[353] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
[354] Fix | Delete
[355] Fix | Delete
--
[356] Fix | Delete
-- Dumping data for table `x2_admin`
[357] Fix | Delete
--
[358] Fix | Delete
[359] Fix | Delete
INSERT INTO `x2_admin` VALUES
[360] Fix | Delete
(1, 3600, 200, 30, 1, '[[admin_email]]', -1, 60, 1, 1, 'USD', 'name', 3000, 10, 60, NULL, 0, 0, NULL, NULL, NULL, 0, -1, -1, 'X2Engine', '[[admin_email]]', 200, 60, 0, NULL, 'user', NULL, 'mail', NULL, 25, 'user', NULL, NULL, NULL, 0, 0, [[timestamp]], 0, 0, 0, 1, 1, NULL, NULL, NULL, -1, -1, 1, 'none', 'opensource', -1, '[[admin_email]]', 'Tech Support', 'Tech Support', 'Hello {first} {last},\n\nJust wanted to check in with you about the support case you created. It is number {case}. We will get back to you as soon as possible.', 0, 0, NULL, NULL, NULL, 0, '["record_create","record_deleted","action_reminder","action_complete","calendar_event","case_escalated","email_opened","email_sent","notif","weblead_create","web_activity","workflow_complete","workflow_revert","workflow_start"]', 1, NULL, NULL, NULL, 0, 0, 'default', 300, 1, 10, '[[protocol]]://[[domhost]]', '[[relativeurl]]/', NULL, 0, '[[site_name]]', 'Your App Description', 0, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, 1000000, NULL, NULL, NULL, NULL, 0, NULL, 10, NULL, NULL, NULL, 'blacklist', NULL, NULL, 900, 5, 100, 5000, 5000, 0, 1, 13, 5000, 10000, 1, NULL);
[361] Fix | Delete
[362] Fix | Delete
-- --------------------------------------------------------
[363] Fix | Delete
[364] Fix | Delete
--
[365] Fix | Delete
-- Table structure for table `x2_anon_contact`
[366] Fix | Delete
--
[367] Fix | Delete
[368] Fix | Delete
CREATE TABLE `x2_anon_contact` (
[369] Fix | Delete
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[370] Fix | Delete
`createDate` bigint(20) NOT NULL,
[371] Fix | Delete
`lastUpdated` bigint(20) DEFAULT NULL,
[372] Fix | Delete
`fingerprintId` int(11) NOT NULL,
[373] Fix | Delete
`trackingKey` varchar(32) DEFAULT NULL,
[374] Fix | Delete
`email` varchar(250) DEFAULT NULL,
[375] Fix | Delete
`reverseIp` varchar(250) DEFAULT NULL,
[376] Fix | Delete
`leadscore` int(11) DEFAULT NULL,
[377] Fix | Delete
PRIMARY KEY (`id`)
[378] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[379] Fix | Delete
[380] Fix | Delete
-- --------------------------------------------------------
[381] Fix | Delete
[382] Fix | Delete
--
[383] Fix | Delete
-- Table structure for table `x2_api_hooks`
[384] Fix | Delete
--
[385] Fix | Delete
[386] Fix | Delete
CREATE TABLE `x2_api_hooks` (
[387] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[388] Fix | Delete
`event` varchar(50) DEFAULT NULL,
[389] Fix | Delete
`modelName` varchar(100) DEFAULT NULL,
[390] Fix | Delete
`target_url` varchar(255) DEFAULT NULL,
[391] Fix | Delete
`userId` int(11) NOT NULL DEFAULT '1',
[392] Fix | Delete
`directPayload` tinyint(4) DEFAULT '0',
[393] Fix | Delete
`createDate` bigint(20) DEFAULT NULL,
[394] Fix | Delete
PRIMARY KEY (`id`),
[395] Fix | Delete
KEY `event` (`event`,`modelName`),
[396] Fix | Delete
KEY `createDate` (`createDate`),
[397] Fix | Delete
KEY `target_url` (`target_url`)
[398] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[399] Fix | Delete
[400] Fix | Delete
-- --------------------------------------------------------
[401] Fix | Delete
[402] Fix | Delete
--
[403] Fix | Delete
-- Table structure for table `x2_auth_assignment`
[404] Fix | Delete
--
[405] Fix | Delete
[406] Fix | Delete
CREATE TABLE `x2_auth_assignment` (
[407] Fix | Delete
`itemname` varchar(64) NOT NULL,
[408] Fix | Delete
`userid` varchar(64) NOT NULL,
[409] Fix | Delete
`bizrule` text,
[410] Fix | Delete
`data` text,
[411] Fix | Delete
PRIMARY KEY (`itemname`,`userid`)
[412] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[413] Fix | Delete
[414] Fix | Delete
-- --------------------------------------------------------
[415] Fix | Delete
[416] Fix | Delete
--
[417] Fix | Delete
-- Table structure for table `x2_auth_cache`
[418] Fix | Delete
--
[419] Fix | Delete
[420] Fix | Delete
CREATE TABLE `x2_auth_cache` (
[421] Fix | Delete
`authItem` varchar(100) NOT NULL,
[422] Fix | Delete
`userId` int(11) NOT NULL,
[423] Fix | Delete
`expire` int(11) NOT NULL,
[424] Fix | Delete
`value` tinyint(1) DEFAULT NULL,
[425] Fix | Delete
`params` varchar(100) NOT NULL,
[426] Fix | Delete
PRIMARY KEY (`userId`,`authItem`,`params`),
[427] Fix | Delete
KEY `userId` (`userId`)
[428] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[429] Fix | Delete
[430] Fix | Delete
-- --------------------------------------------------------
[431] Fix | Delete
[432] Fix | Delete
--
[433] Fix | Delete
-- Table structure for table `x2_auth_item`
[434] Fix | Delete
--
[435] Fix | Delete
[436] Fix | Delete
CREATE TABLE `x2_auth_item` (
[437] Fix | Delete
`name` varchar(64) NOT NULL,
[438] Fix | Delete
`type` int(11) NOT NULL,
[439] Fix | Delete
`description` text,
[440] Fix | Delete
`bizrule` text,
[441] Fix | Delete
`data` text,
[442] Fix | Delete
PRIMARY KEY (`name`)
[443] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[444] Fix | Delete
[445] Fix | Delete
--
[446] Fix | Delete
-- Dumping data for table `x2_auth_item`
[447] Fix | Delete
--
[448] Fix | Delete
[449] Fix | Delete
INSERT INTO `x2_auth_item` VALUES
[450] Fix | Delete
('AccountsAccountsCampaign', 0, '', NULL, 'N;'),
[451] Fix | Delete
('AccountsAccountsReport', 0, '', NULL, 'N;'),
[452] Fix | Delete
('AccountsAddUser', 0, '', NULL, 'N;'),
[453] Fix | Delete
('AccountsAdmin', 0, '', NULL, 'N;'),
[454] Fix | Delete
('AccountsAdminAccess', 1, '', NULL, 'N;'),
[455] Fix | Delete
('AccountsAjaxGetModelAutocomplete', 0, '', NULL, 'N;'),
[456] Fix | Delete
('AccountsBasicAccess', 1, '', NULL, 'N;'),
[457] Fix | Delete
('AccountsCreate', 0, '', NULL, 'N;'),
[458] Fix | Delete
('AccountsDelete', 0, '', NULL, 'N;'),
[459] Fix | Delete
('AccountsDeleteNote', 0, '', NULL, 'N;'),
[460] Fix | Delete
('AccountsDeletePrivate', 1, 'Delete their own records.', 'return $this->checkAssignment($params);', 'N;'),
[461] Fix | Delete
('AccountsExportAccountsReport', 0, '', NULL, 'N;'),
[462] Fix | Delete
('AccountsFullAccess', 1, '', NULL, 'N;'),
[463] Fix | Delete
('AccountsGetItems', 0, '', NULL, 'N;'),
[464] Fix | Delete
('AccountsGetX2ModelInput', 0, '', NULL, 'N;'),
[465] Fix | Delete
('AccountsIndex', 0, '', NULL, 'N;'),
[466] Fix | Delete
('AccountsInlineEmail', 0, '', NULL, 'N;'),
[467] Fix | Delete
('AccountsMinimumRequirements', 1, '', NULL, 'N;'),
[468] Fix | Delete
('AccountsMobileActionHistoryAttachmentsPublish', 0, '', NULL, 'N;'),
[469] Fix | Delete
('AccountsMobileActionHistoryPublish', 0, '', NULL, 'N;'),
[470] Fix | Delete
('AccountsMobileCreate', 0, '', NULL, 'N;'),
[471] Fix | Delete
('AccountsMobileDelete', 0, '', NULL, 'N;'),
[472] Fix | Delete
('AccountsMobileIndex', 0, '', NULL, 'N;'),
[473] Fix | Delete
('AccountsMobileUpdate', 0, '', NULL, 'N;'),
[474] Fix | Delete
('AccountsMobileView', 0, '', NULL, 'N;'),
[475] Fix | Delete
('AccountsPrivateFullAccess', 1, '', NULL, 'N;'),
[476] Fix | Delete
('AccountsPrivateReadOnlyAccess', 1, '', NULL, 'N;'),
[477] Fix | Delete
('AccountsPrivateUpdateAccess', 1, '', NULL, 'N;'),
[478] Fix | Delete
('AccountsQtip', 0, '', NULL, 'N;'),
[479] Fix | Delete
('AccountsQuickView', 0, '', NULL, 'N;'),
[480] Fix | Delete
('AccountsReadOnlyAccess', 1, '', NULL, 'N;'),
[481] Fix | Delete
('AccountsRemoveUser', 0, '', NULL, 'N;'),
[482] Fix | Delete
('AccountsSearch', 0, '', NULL, 'N;'),
[483] Fix | Delete
('AccountsShareAccount', 0, '', NULL, 'N;'),
[484] Fix | Delete
('AccountsUpdate', 0, '', NULL, 'N;'),
[485] Fix | Delete
('AccountsUpdateAccess', 1, '', NULL, 'N;'),
[486] Fix | Delete
('AccountsUpdatePrivate', 1, 'Update their own records', 'return $this->checkAssignment($params);', 'N;'),
[487] Fix | Delete
('AccountsView', 0, '', NULL, 'N;'),
[488] Fix | Delete
('AccountsViewPrivate', 1, 'View their own records', 'return $this->checkAssignment($params);', 'N;'),
[489] Fix | Delete
('AccountsX2GridViewMassAction', 0, '', NULL, 'N;'),
[490] Fix | Delete
('ActionsAdmin', 0, '', NULL, 'N;'),
[491] Fix | Delete
('ActionsAdminAccess', 1, '', NULL, 'N;'),
[492] Fix | Delete
('ActionsAjaxGetModelAutocomplete', 0, '', NULL, 'N;'),
[493] Fix | Delete
('ActionsBasicAccess', 1, '', NULL, 'N;'),
[494] Fix | Delete
('ActionsCaptcha', 0, '', 'return true', 'N;'),
[495] Fix | Delete
('ActionsComplete', 0, '', NULL, 'N;'),
[496] Fix | Delete
('ActionsCompleteSelected', 0, '', NULL, 'N;'),
[497] Fix | Delete
('ActionsCopyEvent', 0, '', NULL, 'N;'),
[498] Fix | Delete
('ActionsCreate', 0, '', NULL, 'N;'),
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function