Lampiran Program
DB_ONLINESHOP.Sql
-- phpMyAdmin SQL Dump-- version 4.2.7.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 19, 2016 at 02:30 PM
-- Server version: 5.6.20
-- PHP Version: 5.5.15
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `db_onlineshop`
-- ---
--
-- Table structure for table `oc_address`
--
CREATE TABLE IF NOT EXISTS `oc_address` (
`address_id` int(11) NOT NULL,
`customer_id` int(11) NOT NULL,
`firstname` varchar(32) NOT NULL,
`lastname` varchar(32) NOT NULL,
`company` varchar(40) NOT NULL,
`address_1` varchar(128) NOT NULL,
`address_2` varchar(128) NOT NULL,
`city` varchar(128) NOT NULL,
`postcode` varchar(10) NOT NULL,
`country_id` int(11) NOT NULL DEFAULT '0',
`zone_id` int(11) NOT NULL DEFAULT '0',
`custom_field` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `oc_address`
INSERT INTO `oc_address` (`address_id`, `customer_id`, `firstname`, `lastname`, `company`, `address_1`, `address_2`, `city`, `postcode`, `country_id`, `zone_id`, `custom_field`) VALUES
-- Table structure for table `oc_affiliate`
--
CREATE TABLE IF NOT EXISTS `oc_affiliate` (
`affiliate_id` int(11) NOT NULL,
`firstname` varchar(32) NOT NULL,
`lastname` varchar(32) NOT NULL,
`email` varchar(96) NOT NULL,
`telephone` varchar(32) NOT NULL,
`fax` varchar(32) NOT NULL,
`password` varchar(40) NOT NULL,
`salt` varchar(9) NOT NULL,
`company` varchar(40) NOT NULL,
`website` varchar(255) NOT NULL,
`address_1` varchar(128) NOT NULL,
`address_2` varchar(128) NOT NULL,
`city` varchar(128) NOT NULL,
`postcode` varchar(10) NOT NULL,
`country_id` int(11) NOT NULL,
`zone_id` int(11) NOT NULL,
`code` varchar(64) NOT NULL,
`commission` decimal(4,2) NOT NULL DEFAULT '0.00',
`tax` varchar(64) NOT NULL,
`payment` varchar(6) NOT NULL,
`paypal` varchar(64) NOT NULL,
`bank_name` varchar(64) NOT NULL,
`bank_branch_number` varchar(64) NOT NULL,
`bank_swift_code` varchar(64) NOT NULL,
`bank_account_name` varchar(64) NOT NULL,
`bank_account_number` varchar(64) NOT NULL,
`ip` varchar(40) NOT NULL,
`status` tinyint(1) NOT NULL,
`approved` tinyint(1) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- ---
--
-- Table structure for table `oc_affiliate_activity`
--
CREATE TABLE IF NOT EXISTS `oc_affiliate_activity` (
`activity_id` int(11) NOT NULL,
`affiliate_id` int(11) NOT NULL,
`key` varchar(64) NOT NULL,
`data` text NOT NULL,
`ip` varchar(40) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--
CREATE TABLE IF NOT EXISTS `oc_affiliate_login` (
`affiliate_login_id` int(11) NOT NULL,
`email` varchar(96) NOT NULL,
`ip` varchar(40) NOT NULL,
`total` int(4) NOT NULL,
`date_added` datetime NOT NULL,
`date_modified` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- ---
--
-- Table structure for table `oc_affiliate_transaction`
--
CREATE TABLE IF NOT EXISTS `oc_affiliate_transaction` (
`affiliate_transaction_id` int(11) NOT NULL,
`affiliate_id` int(11) NOT NULL,
`order_id` int(11) NOT NULL,
`description` text NOT NULL,
`amount` decimal(15,4) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `oc_amazon_login_pay_order` (
`amazon_login_pay_order_id` int(11) NOT NULL,
`order_id` int(11) NOT NULL,
`amazon_order_reference_id` varchar(255) NOT NULL,
`amazon_authorization_id` varchar(255) NOT NULL,
`free_shipping` tinyint(4) NOT NULL DEFAULT '0',
`date_added` datetime NOT NULL,
`modified` datetime NOT NULL,
`capture_status` int(1) DEFAULT NULL,
`cancel_status` int(1) DEFAULT NULL,
`refund_status` int(1) DEFAULT NULL,
`currency_code` char(3) NOT NULL,
`total` decimal(10,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- Table structure for table `oc_amazon_login_pay_order_total_tax`
--
CREATE TABLE IF NOT EXISTS `oc_amazon_login_pay_order_total_tax` (
`order_total_id` int(11) NOT NULL DEFAULT '0',
`code` varchar(255) DEFAULT NULL,
`tax` decimal(10,4) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Table structure for table `oc_amazon_login_pay_order_transaction`
CREATE TABLE IF NOT EXISTS `oc_amazon_login_pay_order_transaction` (
`amazon_login_pay_order_transaction_id` int(11) NOT NULL,
`amazon_login_pay_order_id` int(11) NOT NULL,
`amazon_authorization_id` varchar(255) DEFAULT NULL,
`amazon_capture_id` varchar(255) DEFAULT NULL,
`amazon_refund_id` varchar(255) DEFAULT NULL,
`date_added` datetime NOT NULL,
`type` enum('authorization','capture','refund','cancel') DEFAULT NULL,
`status`
enum('Open','Pending','Completed','Suspended','Declined','Closed','Can celed') DEFAULT NULL,
`amount` decimal(10,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- Table structure for table `oc_api`
--
CREATE TABLE IF NOT EXISTS `oc_api` (
`api_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL,
`key` text NOT NULL,
`status` tinyint(1) NOT NULL,
`date_added` datetime NOT NULL,
`date_modified` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `oc_api`
--
INSERT INTO `oc_api` (`api_id`, `name`, `key`, `status`, `date_added`, `date_modified`) VALUES
-- Table structure for table `oc_api_ip`
CREATE TABLE IF NOT EXISTS `oc_api_ip` (
`api_ip_id` int(11) NOT NULL,
`api_id` int(11) NOT NULL,
`ip` varchar(40) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `oc_api_ip`
--
INSERT INTO `oc_api_ip` (`api_ip_id`, `api_id`, `ip`) VALUES
(1, 1, '::1');
-- ---
--
-- Table structure for table `oc_api_session`
--
`api_session_id` int(11) NOT NULL,
`api_id` int(11) NOT NULL,
`token` varchar(32) NOT NULL,
`session_id` varchar(32) NOT NULL,
`session_name` varchar(32) NOT NULL,
`ip` varchar(40) NOT NULL,
`date_added` datetime NOT NULL,
`date_modified` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ;
--
-- Dumping data for table `oc_api_session`
--
INSERT INTO `oc_api_session` (`api_session_id`, `api_id`, `token`, `session_id`, `session_name`, `ip`, `date_added`, `date_modified`) VALUES
-- Table structure for table `oc_attribute`
--
CREATE TABLE IF NOT EXISTS `oc_attribute` (
`attribute_id` int(11) NOT NULL,
`attribute_group_id` int(11) NOT NULL,
`sort_order` int(3) NOT NULL
--
-- Dumping data for table `oc_attribute`
--
INSERT INTO `oc_attribute` (`attribute_id`, `attribute_group_id`, `sort_order`) VALUES
(1, 6, 1),
(2, 6, 5),
(3, 6, 3),
(4, 3, 1),
-- Table structure for table `oc_attribute_description`
CREATE TABLE IF NOT EXISTS `oc_attribute_description` (
`attribute_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `oc_attribute_description`
--
INSERT INTO `oc_attribute_description` (`attribute_id`, `language_id`, `name`) VALUES
(1, 1, 'Description'),
(4, 1, 'test 1'),
(5, 1, 'test 2'),
(6, 1, 'test 3'),
(7, 1, 'test 4'),
(3, 1, 'Clockspeed');
-- Table structure for table `oc_attribute_group`
--
CREATE TABLE IF NOT EXISTS `oc_attribute_group` (
`attribute_group_id` int(11) NOT NULL,
`sort_order` int(3) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
--
-- Dumping data for table `oc_attribute_group`
--
-- Table structure for table `oc_attribute_group_description`
--
CREATE TABLE IF NOT EXISTS `oc_attribute_group_description` (
`attribute_group_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Dumping data for table `oc_attribute_group_description`
--
INSERT INTO `oc_attribute_group_description` (`attribute_group_id`, `language_id`, `name`) VALUES
(3, 1, 'Memory'),
(4, 1, 'Technical'),
(5, 1, 'Motherboard'),
(6, 1, 'Processor');
-- ---
--
-- Table structure for table `oc_banner`
--
CREATE TABLE IF NOT EXISTS `oc_banner` (
`banner_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL,
`status` tinyint(1) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;
--
-- Dumping data for table `oc_banner`
--
(6, 'HP Products', 1),
(7, 'Home Page Slideshow', 1),
(8, 'Manufacturers', 1);
-- ---
--
-- Table structure for table `oc_banner_image`
--
CREATE TABLE IF NOT EXISTS `oc_banner_image` (
`banner_image_id` int(11) NOT NULL,
`banner_id` int(11) NOT NULL,
`link` varchar(255) NOT NULL,
`image` varchar(255) NOT NULL,
`sort_order` int(3) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=105 ;
--
-- Dumping data for table `oc_banner_image`
--
INSERT INTO `oc_banner_image` (`banner_image_id`, `banner_id`, `link`, `image`, `sort_order`) VALUES
(103, 7, '', 'catalog/demo/banners/MacBookAir.jpg', 0),
(87, 6,
(94, 8, '', 'catalog/demo/manufacturer/nfl.png', 0),
(95, 8, '', 'catalog/demo/manufacturer/redbull.png', 0),
(96, 8, '', 'catalog/demo/manufacturer/sony.png', 0),
(91, 8, '', 'catalog/demo/manufacturer/cocacola.png', 0),
(102, 7,
'index.php?route=product/product&path=57&product_id=49', 'catalog/demo/banners/iPhone6.jpg', 0),
(104, 7, '', 'catalog/vertika.jpg', 0);
CREATE TABLE IF NOT EXISTS `oc_banner_image_description` (
`banner_image_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`banner_id` int(11) NOT NULL,
`title` varchar(64) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Dumping data for table `oc_banner_image_description`
INSERT INTO `oc_banner_image_description` (`banner_image_id`, `language_id`, `banner_id`, `title`) VALUES
(104, 1, 7, 'Mana Pula'),
(87, 1, 6, 'HP Banner'),
(92, 1, 8, 'Burger King'),
(91, 1, 8, 'Coca Cola'),
(90, 1, 8, 'Disney'),
(89, 1, 8, 'Dell'),
CREATE TABLE IF NOT EXISTS `oc_cart` (
`cart_id` int(11) NOT NULL,
`customer_id` int(11) NOT NULL,
`session_id` varchar(32) NOT NULL,
`product_id` int(11) NOT NULL,
`recurring_id` int(11) NOT NULL,
`option` text NOT NULL,
`quantity` int(5) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `oc_cart`
--
INSERT INTO `oc_cart` (`cart_id`, `customer_id`, `session_id`, `product_id`, `recurring_id`, `option`, `quantity`, `date_added`) VALUES
(2, 3, 'qgv18l0posjv9oojosbol1egn3', 30, 0, '{"226":"15"}', 1, '2016-05-19 15:52:14');
-- ---
--
-- Table structure for table `oc_category`
--
`category_id` int(11) NOT NULL,
`image` varchar(255) DEFAULT NULL,
`parent_id` int(11) NOT NULL DEFAULT '0',
`top` tinyint(1) NOT NULL,
`column` int(3) NOT NULL,
`sort_order` int(3) NOT NULL DEFAULT '0',
`status` tinyint(1) NOT NULL,
`date_added` datetime NOT NULL,
`date_modified` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=63 ;
--
-- Dumping data for table `oc_category`
--
INSERT INTO `oc_category` (`category_id`, `image`, `parent_id`, `top`, `column`, `sort_order`, `status`, `date_added`, `date_modified`) VALUES
(25, '', 0, 1, 1, 3, 1, '2009-01-31 01:04:25', '2011-05-30 12:14:55'),
(27, '', 20, 0, 0, 2, 1, '2009-01-31 01:55:34', '2010-08-22 06:32:15'),
(20, 'catalog/demo/compaq_presario.jpg', 0, 1, 1, 1, 1, '2009-01-05 21:49:43', '2011-07-16 02:14:42'),
(18, 'catalog/demo/hp_2.jpg', 0, 1, 0, 2, 1, '2009-01-05 21:49:15', '2011-05-30 12:13:55'),
(17, '', 0, 1, 1, 4, 1, '2009-01-03 21:08:57', '2011-05-30 12:15:11'),
(26, '', 20, 0, 0, 1, 1, '2009-01-31 01:55:14', '2010-08-22 06:31:45'),
(29, '', 25, 0, 0, 1, 1, '2009-02-02 13:11:37', '2010-08-22 06:32:39'),
(30, '', 25, 0, 0, 1, 1, '2009-02-02 13:11:59', '2010-08-22 06:33:00'),
-- Table structure for table `oc_category_description`
--
CREATE TABLE IF NOT EXISTS `oc_category_description` (
`category_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`description` text NOT NULL,
`meta_title` varchar(255) NOT NULL,
`meta_description` varchar(255) NOT NULL,
`meta_keyword` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `oc_category_description`
--
INSERT INTO `oc_category_description` (`category_id`, `language_id`, `name`, `description`, `meta_title`, `meta_description`, `meta_keyword`) VALUES
(28, 1, 'Monitors', '', '', '', ''),
(32, 1, 'Web Cameras', '', '', '', ''),
(31, 1, 'Scanners', '', '', '', ''),
(30, 1, 'Printers', '', '', '', ''),
(29, 1, 'Mice and Trackballs', '', '', '', ''),
(27, 1, 'Mac', '', '', '', ''),
(26, 1, 'PC', '', '', '', ''),
(17, 1, 'Software', '', '', '', ''),
(25, 1, 'Components', '', '', '', ''),
(20, 1, 'Desktops', '<p>\r\n Example of category description text</p>\r\n', '', 'Example of category description', ''),
(35, 1, 'test 1', '', '', '', ''),
(36, 1, 'test 2', '', '', '', ''),
(61, 1, 'Test Kategori', '<p>Ini test kstegori</p>', 'Test', '', ''),
(62, 1, 'Sub Test Kategori', '<p>kgkj</p>', 'Sub Test Kategori', '', ''),
-- Table structure for table `oc_category_filter`
CREATE TABLE IF NOT EXISTS `oc_category_filter` (
`category_id` int(11) NOT NULL,
`filter_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Table structure for table `oc_category_path`
CREATE TABLE IF NOT EXISTS `oc_category_path` (
`category_id` int(11) NOT NULL,
`path_id` int(11) NOT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `oc_category_path`
INSERT INTO `oc_category_path` (`category_id`, `path_id`, `level`) VALUES
(25, 25, 0),
(28, 25, 0),
(28, 28, 1),
(35, 25, 0),
(35, 28, 1),
(35, 35, 2),
(36, 25, 0),
(36, 28, 1),
(36, 36, 2),
(29, 25, 0),
(29, 29, 1),
(30, 25, 0),
(30, 30, 1),
-- Table structure for table `oc_category_to_layout`
--
CREATE TABLE IF NOT EXISTS `oc_category_to_layout` (
`category_id` int(11) NOT NULL,
`store_id` int(11) NOT NULL,
`layout_id` int(11) NOT NULL
-- Dumping data for table `oc_category_to_layout`
INSERT INTO `oc_category_to_layout` (`category_id`, `store_id`, `layout_id`) VALUES
(59, 0, 0),
(60, 0, 0),
(61, 0, 0),
(62, 0, 0);
-- Table structure for table `oc_category_to_store`
--
CREATE TABLE IF NOT EXISTS `oc_category_to_store` (
`category_id` int(11) NOT NULL,
`store_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `oc_category_to_store`
--
-- Table structure for table `oc_coupon`
--
CREATE TABLE IF NOT EXISTS `oc_coupon` (
`coupon_id` int(11) NOT NULL,
`name` varchar(128) NOT NULL,
`code` varchar(10) NOT NULL,
`type` char(1) NOT NULL,
`logged` tinyint(1) NOT NULL,
`shipping` tinyint(1) NOT NULL,
`total` decimal(15,4) NOT NULL,
`date_start` date NOT NULL DEFAULT '0000-00-00',
`date_end` date NOT NULL DEFAULT '0000-00-00',
`uses_total` int(11) NOT NULL,
`uses_customer` varchar(11) NOT NULL,
`status` tinyint(1) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;
--
-- Dumping data for table `oc_coupon`
-- Table structure for table `oc_coupon_category`
CREATE TABLE IF NOT EXISTS `oc_coupon_category` (
`coupon_id` int(11) NOT NULL,
`category_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Table structure for table `oc_coupon_history`
CREATE TABLE IF NOT EXISTS `oc_coupon_history` (
`coupon_history_id` int(11) NOT NULL,
`coupon_id` int(11) NOT NULL,
`order_id` int(11) NOT NULL,
`amount` decimal(15,4) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- Table structure for table `oc_coupon_product`
CREATE TABLE IF NOT EXISTS `oc_coupon_product` (
`coupon_product_id` int(11) NOT NULL,
`coupon_id` int(11) NOT NULL,
`product_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- Table structure for table `oc_currency`
CREATE TABLE IF NOT EXISTS `oc_currency` (
`currency_id` int(11) NOT NULL,
`title` varchar(32) NOT NULL,
`code` varchar(3) NOT NULL,
`symbol_left` varchar(12) NOT NULL,
`symbol_right` varchar(12) NOT NULL,
`decimal_place` char(1) NOT NULL,
`value` float(15,8) NOT NULL,
`status` tinyint(1) NOT NULL,
`date_modified` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
--
-- Dumping data for table `oc_currency`
INSERT INTO `oc_currency` (`currency_id`, `title`, `code`, `symbol_left`, `symbol_right`, `decimal_place`, `value`, `status`, `date_modified`) VALUES
(1, 'Pound Sterling', 'GBP', '£', '', '2', 0.68640000, 1, '2016-05-19 06:23:24'),
(2, 'US Dollar', 'USD', '$', '', '2', 1.00000000, 1, '2016-05-19 14:23:34'),
(3, 'Euro', 'EUR', '', '€', '2', 0.89160001, 1, '2016-05-19
06:23:24'),
(4, 'Rupiah', 'INA', 'Rp', '', '2', 1.00000000, 1, '2016-05-13 06:49:11');
-- Table structure for table `oc_customer`
CREATE TABLE IF NOT EXISTS `oc_customer` (
`customer_id` int(11) NOT NULL,
`customer_group_id` int(11) NOT NULL,
`store_id` int(11) NOT NULL DEFAULT '0',
`firstname` varchar(32) NOT NULL,
`lastname` varchar(32) NOT NULL,
`email` varchar(96) NOT NULL,
`telephone` varchar(32) NOT NULL,
`fax` varchar(32) NOT NULL,
`password` varchar(40) NOT NULL,
`salt` varchar(9) NOT NULL,
`cart` text,
`wishlist` text,
`newsletter` tinyint(1) NOT NULL DEFAULT '0',
`custom_field` text NOT NULL,
`ip` varchar(40) NOT NULL,
`status` tinyint(1) NOT NULL,
`approved` tinyint(1) NOT NULL,
`safe` tinyint(1) NOT NULL,
`token` text NOT NULL,
`date_added` datetime NOT NULL
-- Table structure for table `oc_customer_activity`
CREATE TABLE IF NOT EXISTS `oc_customer_activity` (
`activity_id` int(11) NOT NULL,
`customer_id` int(11) NOT NULL,
`key` varchar(64) NOT NULL,
`data` text NOT NULL,
`ip` varchar(40) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ;
--
-- Dumping data for table `oc_customer_activity`
--
INSERT INTO `oc_customer_activity` (`activity_id`, `customer_id`, `key`, `data`, `ip`, `date_added`) VALUES
CREATE TABLE IF NOT EXISTS `oc_download` (
`filename` varchar(128) NOT NULL,
`mask` varchar(128) NOT NULL,
`date_added` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `oc_download_description` (
`download_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`name` varchar(64) NOT NULL