Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../var/softacul.../phpsch
File: phpsch.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: `booked285`
[11] Fix | Delete
--
[12] Fix | Delete
[13] Fix | Delete
-- --------------------------------------------------------
[14] Fix | Delete
[15] Fix | Delete
--
[16] Fix | Delete
-- Table structure for table `accessories`
[17] Fix | Delete
--
[18] Fix | Delete
[19] Fix | Delete
CREATE TABLE `accessories` (
[20] Fix | Delete
`accessory_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
[21] Fix | Delete
`accessory_name` varchar(85) NOT NULL,
[22] Fix | Delete
`accessory_quantity` smallint(5) unsigned DEFAULT NULL,
[23] Fix | Delete
`legacyid` char(16) DEFAULT NULL,
[24] Fix | Delete
PRIMARY KEY (`accessory_id`)
[25] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
[26] Fix | Delete
[27] Fix | Delete
--
[28] Fix | Delete
-- Dumping data for table `accessories`
[29] Fix | Delete
--
[30] Fix | Delete
[31] Fix | Delete
INSERT INTO `accessories` VALUES
[32] Fix | Delete
(1, 'accessory limited to 10', 10, NULL),
[33] Fix | Delete
(2, 'accessory limited to 2', 2, NULL),
[34] Fix | Delete
(3, 'unlimited accessory', NULL, NULL);
[35] Fix | Delete
[36] Fix | Delete
-- --------------------------------------------------------
[37] Fix | Delete
[38] Fix | Delete
--
[39] Fix | Delete
-- Table structure for table `account_activation`
[40] Fix | Delete
--
[41] Fix | Delete
[42] Fix | Delete
CREATE TABLE `account_activation` (
[43] Fix | Delete
`account_activation_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[44] Fix | Delete
`user_id` mediumint(8) unsigned NOT NULL,
[45] Fix | Delete
`activation_code` varchar(30) NOT NULL,
[46] Fix | Delete
`date_created` datetime NOT NULL,
[47] Fix | Delete
PRIMARY KEY (`account_activation_id`),
[48] Fix | Delete
UNIQUE KEY `activation_code_2` (`activation_code`),
[49] Fix | Delete
KEY `activation_code` (`activation_code`),
[50] Fix | Delete
KEY `user_id` (`user_id`)
[51] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[52] Fix | Delete
[53] Fix | Delete
-- --------------------------------------------------------
[54] Fix | Delete
[55] Fix | Delete
--
[56] Fix | Delete
-- Table structure for table `announcements`
[57] Fix | Delete
--
[58] Fix | Delete
[59] Fix | Delete
CREATE TABLE `announcements` (
[60] Fix | Delete
`announcementid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[61] Fix | Delete
`announcement_text` text NOT NULL,
[62] Fix | Delete
`priority` mediumint(8) DEFAULT NULL,
[63] Fix | Delete
`start_date` datetime DEFAULT NULL,
[64] Fix | Delete
`end_date` datetime DEFAULT NULL,
[65] Fix | Delete
`display_page` tinyint(1) unsigned NOT NULL DEFAULT '1',
[66] Fix | Delete
PRIMARY KEY (`announcementid`),
[67] Fix | Delete
KEY `start_date` (`start_date`),
[68] Fix | Delete
KEY `end_date` (`end_date`),
[69] Fix | Delete
KEY `display_page` (`display_page`)
[70] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[71] Fix | Delete
[72] Fix | Delete
-- --------------------------------------------------------
[73] Fix | Delete
[74] Fix | Delete
--
[75] Fix | Delete
-- Table structure for table `announcement_groups`
[76] Fix | Delete
--
[77] Fix | Delete
[78] Fix | Delete
CREATE TABLE `announcement_groups` (
[79] Fix | Delete
`announcementid` mediumint(8) unsigned NOT NULL,
[80] Fix | Delete
`group_id` smallint(5) unsigned NOT NULL,
[81] Fix | Delete
PRIMARY KEY (`announcementid`,`group_id`),
[82] Fix | Delete
KEY `group_id` (`group_id`)
[83] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[84] Fix | Delete
[85] Fix | Delete
-- --------------------------------------------------------
[86] Fix | Delete
[87] Fix | Delete
--
[88] Fix | Delete
-- Table structure for table `announcement_resources`
[89] Fix | Delete
--
[90] Fix | Delete
[91] Fix | Delete
CREATE TABLE `announcement_resources` (
[92] Fix | Delete
`announcementid` mediumint(8) unsigned NOT NULL,
[93] Fix | Delete
`resource_id` smallint(5) unsigned NOT NULL,
[94] Fix | Delete
PRIMARY KEY (`announcementid`,`resource_id`),
[95] Fix | Delete
KEY `resource_id` (`resource_id`)
[96] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[97] Fix | Delete
[98] Fix | Delete
-- --------------------------------------------------------
[99] Fix | Delete
[100] Fix | Delete
--
[101] Fix | Delete
-- Table structure for table `blackout_instances`
[102] Fix | Delete
--
[103] Fix | Delete
[104] Fix | Delete
CREATE TABLE `blackout_instances` (
[105] Fix | Delete
`blackout_instance_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[106] Fix | Delete
`start_date` datetime NOT NULL,
[107] Fix | Delete
`end_date` datetime NOT NULL,
[108] Fix | Delete
`blackout_series_id` int(10) unsigned NOT NULL,
[109] Fix | Delete
PRIMARY KEY (`blackout_instance_id`),
[110] Fix | Delete
KEY `start_date` (`start_date`),
[111] Fix | Delete
KEY `end_date` (`end_date`),
[112] Fix | Delete
KEY `blackout_series_id` (`blackout_series_id`)
[113] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[114] Fix | Delete
[115] Fix | Delete
-- --------------------------------------------------------
[116] Fix | Delete
[117] Fix | Delete
--
[118] Fix | Delete
-- Table structure for table `blackout_series`
[119] Fix | Delete
--
[120] Fix | Delete
[121] Fix | Delete
CREATE TABLE `blackout_series` (
[122] Fix | Delete
`blackout_series_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[123] Fix | Delete
`date_created` datetime NOT NULL,
[124] Fix | Delete
`last_modified` datetime DEFAULT NULL,
[125] Fix | Delete
`title` varchar(85) NOT NULL,
[126] Fix | Delete
`description` text,
[127] Fix | Delete
`owner_id` mediumint(8) unsigned NOT NULL,
[128] Fix | Delete
`legacyid` char(16) DEFAULT NULL,
[129] Fix | Delete
`repeat_type` varchar(10) DEFAULT NULL,
[130] Fix | Delete
`repeat_options` varchar(255) DEFAULT NULL,
[131] Fix | Delete
PRIMARY KEY (`blackout_series_id`)
[132] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[133] Fix | Delete
[134] Fix | Delete
-- --------------------------------------------------------
[135] Fix | Delete
[136] Fix | Delete
--
[137] Fix | Delete
-- Table structure for table `blackout_series_resources`
[138] Fix | Delete
--
[139] Fix | Delete
[140] Fix | Delete
CREATE TABLE `blackout_series_resources` (
[141] Fix | Delete
`blackout_series_id` int(10) unsigned NOT NULL,
[142] Fix | Delete
`resource_id` smallint(5) unsigned NOT NULL,
[143] Fix | Delete
PRIMARY KEY (`blackout_series_id`,`resource_id`),
[144] Fix | Delete
KEY `resource_id` (`resource_id`)
[145] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[146] Fix | Delete
[147] Fix | Delete
-- --------------------------------------------------------
[148] Fix | Delete
[149] Fix | Delete
--
[150] Fix | Delete
-- Table structure for table `credit_log`
[151] Fix | Delete
--
[152] Fix | Delete
[153] Fix | Delete
CREATE TABLE `credit_log` (
[154] Fix | Delete
`credit_log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[155] Fix | Delete
`user_id` mediumint(8) unsigned NOT NULL,
[156] Fix | Delete
`original_credit_count` decimal(7,2) DEFAULT NULL,
[157] Fix | Delete
`credit_count` decimal(7,2) DEFAULT NULL,
[158] Fix | Delete
`credit_note` varchar(1000) DEFAULT NULL,
[159] Fix | Delete
`date_created` datetime NOT NULL,
[160] Fix | Delete
PRIMARY KEY (`credit_log_id`)
[161] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[162] Fix | Delete
[163] Fix | Delete
-- --------------------------------------------------------
[164] Fix | Delete
[165] Fix | Delete
--
[166] Fix | Delete
-- Table structure for table `custom_attributes`
[167] Fix | Delete
--
[168] Fix | Delete
[169] Fix | Delete
CREATE TABLE `custom_attributes` (
[170] Fix | Delete
`custom_attribute_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[171] Fix | Delete
`display_label` varchar(50) NOT NULL,
[172] Fix | Delete
`display_type` tinyint(2) unsigned NOT NULL,
[173] Fix | Delete
`attribute_category` tinyint(2) unsigned NOT NULL,
[174] Fix | Delete
`validation_regex` varchar(50) DEFAULT NULL,
[175] Fix | Delete
`is_required` tinyint(1) unsigned NOT NULL,
[176] Fix | Delete
`possible_values` text,
[177] Fix | Delete
`sort_order` tinyint(2) unsigned DEFAULT NULL,
[178] Fix | Delete
`admin_only` tinyint(1) unsigned DEFAULT NULL,
[179] Fix | Delete
`secondary_category` tinyint(2) unsigned DEFAULT NULL,
[180] Fix | Delete
`secondary_entity_ids` varchar(2000) DEFAULT NULL,
[181] Fix | Delete
`is_private` tinyint(1) unsigned DEFAULT NULL,
[182] Fix | Delete
PRIMARY KEY (`custom_attribute_id`),
[183] Fix | Delete
KEY `attribute_category` (`attribute_category`),
[184] Fix | Delete
KEY `display_label` (`display_label`)
[185] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
[186] Fix | Delete
[187] Fix | Delete
--
[188] Fix | Delete
-- Dumping data for table `custom_attributes`
[189] Fix | Delete
--
[190] Fix | Delete
[191] Fix | Delete
INSERT INTO `custom_attributes` VALUES
[192] Fix | Delete
(1, 'Test Number', 1, 1, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
[193] Fix | Delete
(2, 'Test String', 1, 1, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
[194] Fix | Delete
(3, 'Test Number', 1, 4, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
[195] Fix | Delete
(4, 'Test String', 1, 4, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
[196] Fix | Delete
[197] Fix | Delete
-- --------------------------------------------------------
[198] Fix | Delete
[199] Fix | Delete
--
[200] Fix | Delete
-- Table structure for table `custom_attribute_entities`
[201] Fix | Delete
--
[202] Fix | Delete
[203] Fix | Delete
CREATE TABLE `custom_attribute_entities` (
[204] Fix | Delete
`custom_attribute_id` mediumint(8) unsigned NOT NULL,
[205] Fix | Delete
`entity_id` mediumint(8) unsigned NOT NULL,
[206] Fix | Delete
PRIMARY KEY (`custom_attribute_id`,`entity_id`)
[207] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[208] Fix | Delete
[209] Fix | Delete
-- --------------------------------------------------------
[210] Fix | Delete
[211] Fix | Delete
--
[212] Fix | Delete
-- Table structure for table `custom_attribute_values`
[213] Fix | Delete
--
[214] Fix | Delete
[215] Fix | Delete
CREATE TABLE `custom_attribute_values` (
[216] Fix | Delete
`custom_attribute_value_id` int(8) unsigned NOT NULL AUTO_INCREMENT,
[217] Fix | Delete
`custom_attribute_id` mediumint(8) unsigned NOT NULL,
[218] Fix | Delete
`attribute_value` text NOT NULL,
[219] Fix | Delete
`entity_id` mediumint(8) unsigned NOT NULL,
[220] Fix | Delete
`attribute_category` tinyint(2) unsigned NOT NULL,
[221] Fix | Delete
PRIMARY KEY (`custom_attribute_value_id`),
[222] Fix | Delete
KEY `custom_attribute_id` (`custom_attribute_id`),
[223] Fix | Delete
KEY `entity_id` (`entity_id`),
[224] Fix | Delete
KEY `attribute_category` (`attribute_category`)
[225] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[226] Fix | Delete
[227] Fix | Delete
-- --------------------------------------------------------
[228] Fix | Delete
[229] Fix | Delete
--
[230] Fix | Delete
-- Table structure for table `custom_time_blocks`
[231] Fix | Delete
--
[232] Fix | Delete
[233] Fix | Delete
CREATE TABLE `custom_time_blocks` (
[234] Fix | Delete
`custom_time_block_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
[235] Fix | Delete
`start_time` datetime NOT NULL,
[236] Fix | Delete
`end_time` datetime NOT NULL,
[237] Fix | Delete
`layout_id` mediumint(8) unsigned NOT NULL,
[238] Fix | Delete
PRIMARY KEY (`custom_time_block_id`),
[239] Fix | Delete
KEY `layout_id` (`layout_id`)
[240] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[241] Fix | Delete
[242] Fix | Delete
-- --------------------------------------------------------
[243] Fix | Delete
[244] Fix | Delete
--
[245] Fix | Delete
-- Table structure for table `dbversion`
[246] Fix | Delete
--
[247] Fix | Delete
[248] Fix | Delete
CREATE TABLE `dbversion` (
[249] Fix | Delete
`version_number` double unsigned NOT NULL DEFAULT '0',
[250] Fix | Delete
`version_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
[251] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[252] Fix | Delete
[253] Fix | Delete
--
[254] Fix | Delete
-- Dumping data for table `dbversion`
[255] Fix | Delete
--
[256] Fix | Delete
[257] Fix | Delete
INSERT INTO `dbversion` VALUES
[258] Fix | Delete
(2.1, '[[regtime]]'),
[259] Fix | Delete
(2.2, '[[regtime]]'),
[260] Fix | Delete
(2.3, '[[regtime]]'),
[261] Fix | Delete
(2.4, '[[regtime]]'),
[262] Fix | Delete
(2.5, '[[regtime]]'),
[263] Fix | Delete
(2.6, '[[regtime]]'),
[264] Fix | Delete
(2.7, '[[regtime]]'),
[265] Fix | Delete
(2.8, '[[regtime]]');
[266] Fix | Delete
[267] Fix | Delete
-- --------------------------------------------------------
[268] Fix | Delete
[269] Fix | Delete
--
[270] Fix | Delete
-- Table structure for table `groups`
[271] Fix | Delete
--
[272] Fix | Delete
[273] Fix | Delete
CREATE TABLE `groups` (
[274] Fix | Delete
`group_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
[275] Fix | Delete
`name` varchar(85) NOT NULL,
[276] Fix | Delete
`admin_group_id` smallint(5) unsigned DEFAULT NULL,
[277] Fix | Delete
`legacyid` char(16) DEFAULT NULL,
[278] Fix | Delete
`isdefault` tinyint(1) unsigned NOT NULL DEFAULT '0',
[279] Fix | Delete
PRIMARY KEY (`group_id`),
[280] Fix | Delete
KEY `admin_group_id` (`admin_group_id`),
[281] Fix | Delete
KEY `isdefault` (`isdefault`)
[282] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
[283] Fix | Delete
[284] Fix | Delete
--
[285] Fix | Delete
-- Dumping data for table `groups`
[286] Fix | Delete
--
[287] Fix | Delete
[288] Fix | Delete
INSERT INTO `groups` VALUES
[289] Fix | Delete
(1, 'Group Administrators', NULL, NULL, 0),
[290] Fix | Delete
(2, 'Application Administrators', NULL, NULL, 0),
[291] Fix | Delete
(3, 'Resource Administrators', NULL, NULL, 0),
[292] Fix | Delete
(4, 'Schedule Administrators', NULL, NULL, 0);
[293] Fix | Delete
[294] Fix | Delete
-- --------------------------------------------------------
[295] Fix | Delete
[296] Fix | Delete
--
[297] Fix | Delete
-- Table structure for table `group_resource_permissions`
[298] Fix | Delete
--
[299] Fix | Delete
[300] Fix | Delete
CREATE TABLE `group_resource_permissions` (
[301] Fix | Delete
`group_id` smallint(5) unsigned NOT NULL,
[302] Fix | Delete
`resource_id` smallint(5) unsigned NOT NULL,
[303] Fix | Delete
`permission_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
[304] Fix | Delete
PRIMARY KEY (`group_id`,`resource_id`),
[305] Fix | Delete
KEY `group_id` (`group_id`),
[306] Fix | Delete
KEY `resource_id` (`resource_id`),
[307] Fix | Delete
KEY `group_id_2` (`group_id`),
[308] Fix | Delete
KEY `resource_id_2` (`resource_id`)
[309] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[310] Fix | Delete
[311] Fix | Delete
-- --------------------------------------------------------
[312] Fix | Delete
[313] Fix | Delete
--
[314] Fix | Delete
-- Table structure for table `group_roles`
[315] Fix | Delete
--
[316] Fix | Delete
[317] Fix | Delete
CREATE TABLE `group_roles` (
[318] Fix | Delete
`group_id` smallint(8) unsigned NOT NULL,
[319] Fix | Delete
`role_id` tinyint(2) unsigned NOT NULL,
[320] Fix | Delete
PRIMARY KEY (`group_id`,`role_id`),
[321] Fix | Delete
KEY `group_id` (`group_id`),
[322] Fix | Delete
KEY `role_id` (`role_id`)
[323] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[324] Fix | Delete
[325] Fix | Delete
--
[326] Fix | Delete
-- Dumping data for table `group_roles`
[327] Fix | Delete
--
[328] Fix | Delete
[329] Fix | Delete
INSERT INTO `group_roles` VALUES
[330] Fix | Delete
(1, 1),
[331] Fix | Delete
(2, 2),
[332] Fix | Delete
(4, 4);
[333] Fix | Delete
[334] Fix | Delete
-- --------------------------------------------------------
[335] Fix | Delete
[336] Fix | Delete
--
[337] Fix | Delete
-- Table structure for table `layouts`
[338] Fix | Delete
--
[339] Fix | Delete
[340] Fix | Delete
CREATE TABLE `layouts` (
[341] Fix | Delete
`layout_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[342] Fix | Delete
`timezone` varchar(50) NOT NULL,
[343] Fix | Delete
`layout_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
[344] Fix | Delete
PRIMARY KEY (`layout_id`)
[345] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
[346] Fix | Delete
[347] Fix | Delete
--
[348] Fix | Delete
-- Dumping data for table `layouts`
[349] Fix | Delete
--
[350] Fix | Delete
[351] Fix | Delete
INSERT INTO `layouts` VALUES
[352] Fix | Delete
(1, 'America/New_York', 0);
[353] Fix | Delete
[354] Fix | Delete
-- --------------------------------------------------------
[355] Fix | Delete
[356] Fix | Delete
--
[357] Fix | Delete
-- Table structure for table `payment_configuration`
[358] Fix | Delete
--
[359] Fix | Delete
[360] Fix | Delete
CREATE TABLE `payment_configuration` (
[361] Fix | Delete
`payment_configuration_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
[362] Fix | Delete
`credit_cost` decimal(7,2) unsigned NOT NULL,
[363] Fix | Delete
`credit_currency` varchar(10) NOT NULL,
[364] Fix | Delete
PRIMARY KEY (`payment_configuration_id`)
[365] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
[366] Fix | Delete
[367] Fix | Delete
--
[368] Fix | Delete
-- Dumping data for table `payment_configuration`
[369] Fix | Delete
--
[370] Fix | Delete
[371] Fix | Delete
INSERT INTO `payment_configuration` VALUES
[372] Fix | Delete
(1, '0.00', 'USD');
[373] Fix | Delete
[374] Fix | Delete
-- --------------------------------------------------------
[375] Fix | Delete
[376] Fix | Delete
--
[377] Fix | Delete
-- Table structure for table `payment_gateway_settings`
[378] Fix | Delete
--
[379] Fix | Delete
[380] Fix | Delete
CREATE TABLE `payment_gateway_settings` (
[381] Fix | Delete
`gateway_type` varchar(255) NOT NULL,
[382] Fix | Delete
`setting_name` varchar(255) NOT NULL,
[383] Fix | Delete
`setting_value` varchar(1000) NOT NULL,
[384] Fix | Delete
PRIMARY KEY (`gateway_type`,`setting_name`)
[385] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[386] Fix | Delete
[387] Fix | Delete
-- --------------------------------------------------------
[388] Fix | Delete
[389] Fix | Delete
--
[390] Fix | Delete
-- Table structure for table `payment_transaction_log`
[391] Fix | Delete
--
[392] Fix | Delete
[393] Fix | Delete
CREATE TABLE `payment_transaction_log` (
[394] Fix | Delete
`payment_transaction_log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[395] Fix | Delete
`user_id` mediumint(8) unsigned NOT NULL,
[396] Fix | Delete
`status` varchar(255) NOT NULL,
[397] Fix | Delete
`invoice_number` varchar(50) DEFAULT NULL,
[398] Fix | Delete
`transaction_id` varchar(50) NOT NULL,
[399] Fix | Delete
`subtotal_amount` decimal(7,2) NOT NULL,
[400] Fix | Delete
`tax_amount` decimal(7,2) NOT NULL,
[401] Fix | Delete
`total_amount` decimal(7,2) NOT NULL,
[402] Fix | Delete
`transaction_fee` decimal(7,2) DEFAULT NULL,
[403] Fix | Delete
`currency` varchar(3) NOT NULL,
[404] Fix | Delete
`transaction_href` varchar(500) DEFAULT NULL,
[405] Fix | Delete
`refund_href` varchar(500) DEFAULT NULL,
[406] Fix | Delete
`date_created` datetime NOT NULL,
[407] Fix | Delete
`gateway_name` varchar(100) NOT NULL,
[408] Fix | Delete
`gateway_date_created` varchar(25) NOT NULL,
[409] Fix | Delete
`payment_response` text,
[410] Fix | Delete
PRIMARY KEY (`payment_transaction_log_id`),
[411] Fix | Delete
KEY `user_id` (`user_id`),
[412] Fix | Delete
KEY `invoice_number` (`invoice_number`)
[413] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[414] Fix | Delete
[415] Fix | Delete
-- --------------------------------------------------------
[416] Fix | Delete
[417] Fix | Delete
--
[418] Fix | Delete
-- Table structure for table `peak_times`
[419] Fix | Delete
--
[420] Fix | Delete
[421] Fix | Delete
CREATE TABLE `peak_times` (
[422] Fix | Delete
`peak_times_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[423] Fix | Delete
`schedule_id` smallint(5) unsigned NOT NULL,
[424] Fix | Delete
`all_day` tinyint(1) unsigned NOT NULL,
[425] Fix | Delete
`start_time` varchar(10) DEFAULT NULL,
[426] Fix | Delete
`end_time` varchar(10) DEFAULT NULL,
[427] Fix | Delete
`every_day` tinyint(1) unsigned NOT NULL,
[428] Fix | Delete
`peak_days` varchar(13) DEFAULT NULL,
[429] Fix | Delete
`all_year` tinyint(1) unsigned NOT NULL,
[430] Fix | Delete
`begin_month` tinyint(1) unsigned NOT NULL,
[431] Fix | Delete
`begin_day` tinyint(1) unsigned NOT NULL,
[432] Fix | Delete
`end_month` tinyint(1) unsigned NOT NULL,
[433] Fix | Delete
`end_day` tinyint(1) unsigned NOT NULL,
[434] Fix | Delete
PRIMARY KEY (`peak_times_id`),
[435] Fix | Delete
KEY `schedule_id` (`schedule_id`)
[436] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[437] Fix | Delete
[438] Fix | Delete
-- --------------------------------------------------------
[439] Fix | Delete
[440] Fix | Delete
--
[441] Fix | Delete
-- Table structure for table `quotas`
[442] Fix | Delete
--
[443] Fix | Delete
[444] Fix | Delete
CREATE TABLE `quotas` (
[445] Fix | Delete
`quota_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[446] Fix | Delete
`quota_limit` decimal(7,2) unsigned NOT NULL,
[447] Fix | Delete
`unit` varchar(25) NOT NULL,
[448] Fix | Delete
`duration` varchar(25) NOT NULL,
[449] Fix | Delete
`resource_id` smallint(5) unsigned DEFAULT NULL,
[450] Fix | Delete
`group_id` smallint(5) unsigned DEFAULT NULL,
[451] Fix | Delete
`schedule_id` smallint(5) unsigned DEFAULT NULL,
[452] Fix | Delete
`enforced_days` varchar(15) DEFAULT NULL,
[453] Fix | Delete
`enforced_time_start` time DEFAULT NULL,
[454] Fix | Delete
`enforced_time_end` time DEFAULT NULL,
[455] Fix | Delete
`scope` varchar(25) DEFAULT NULL,
[456] Fix | Delete
PRIMARY KEY (`quota_id`),
[457] Fix | Delete
KEY `resource_id` (`resource_id`),
[458] Fix | Delete
KEY `group_id` (`group_id`),
[459] Fix | Delete
KEY `schedule_id` (`schedule_id`)
[460] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[461] Fix | Delete
[462] Fix | Delete
-- --------------------------------------------------------
[463] Fix | Delete
[464] Fix | Delete
--
[465] Fix | Delete
-- Table structure for table `refund_transaction_log`
[466] Fix | Delete
--
[467] Fix | Delete
[468] Fix | Delete
CREATE TABLE `refund_transaction_log` (
[469] Fix | Delete
`refund_transaction_log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
[470] Fix | Delete
`payment_transaction_log_id` int(10) unsigned NOT NULL,
[471] Fix | Delete
`status` varchar(255) NOT NULL,
[472] Fix | Delete
`transaction_id` varchar(50) DEFAULT NULL,
[473] Fix | Delete
`total_refund_amount` decimal(7,2) NOT NULL,
[474] Fix | Delete
`payment_refund_amount` decimal(7,2) DEFAULT NULL,
[475] Fix | Delete
`fee_refund_amount` decimal(7,2) DEFAULT NULL,
[476] Fix | Delete
`transaction_href` varchar(500) DEFAULT NULL,
[477] Fix | Delete
`date_created` datetime NOT NULL,
[478] Fix | Delete
`gateway_date_created` varchar(25) NOT NULL,
[479] Fix | Delete
`refund_response` text,
[480] Fix | Delete
PRIMARY KEY (`refund_transaction_log_id`),
[481] Fix | Delete
KEY `payment_transaction_log_id` (`payment_transaction_log_id`)
[482] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[483] Fix | Delete
[484] Fix | Delete
-- --------------------------------------------------------
[485] Fix | Delete
[486] Fix | Delete
--
[487] Fix | Delete
-- Table structure for table `reminders`
[488] Fix | Delete
--
[489] Fix | Delete
[490] Fix | Delete
CREATE TABLE `reminders` (
[491] Fix | Delete
`reminder_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
[492] Fix | Delete
`user_id` mediumint(8) unsigned NOT NULL,
[493] Fix | Delete
`address` text NOT NULL,
[494] Fix | Delete
`message` text NOT NULL,
[495] Fix | Delete
`sendtime` datetime NOT NULL,
[496] Fix | Delete
`refnumber` text NOT NULL,
[497] Fix | Delete
PRIMARY KEY (`reminder_id`),
[498] Fix | Delete
KEY `reminders_user_id` (`user_id`)
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function