Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE `ps_product` (
- `id_product` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `id_supplier` int(10) unsigned DEFAULT NULL,
- `id_manufacturer` int(10) unsigned DEFAULT NULL,
- `id_tax_rules_group` int(10) unsigned NOT NULL,
- `id_category_default` int(10) unsigned DEFAULT NULL,
- `id_color_default` int(10) unsigned DEFAULT NULL,
- `on_sale` tinyint(1) unsigned NOT NULL DEFAULT '0',
- `online_only` tinyint(1) NOT NULL DEFAULT '0',
- `ean13` varchar(13) DEFAULT NULL,
- `upc` varchar(12) DEFAULT NULL,
- `ecotax` decimal(17,6) NOT NULL DEFAULT '0.000000',
- `quantity` int(10) NOT NULL DEFAULT '0',
- `minimal_quantity` int(11) NOT NULL DEFAULT '1',
- `price` decimal(20,2) NOT NULL DEFAULT '0.00',
- `wholesale_price` decimal(20,2) NOT NULL DEFAULT '0.00',
- `unit_price_ratio` decimal(20,6) NOT NULL DEFAULT '0.000000',
- `additional_shipping_cost` decimal(20,2) NOT NULL DEFAULT '0.00',
- `unity` varchar(10) NOT NULL DEFAULT '0.000000',
- `reference` varchar(32) DEFAULT NULL,
- `supplier_reference` varchar(32) DEFAULT NULL,
- `location` varchar(64) DEFAULT NULL,
- `width` float NOT NULL,
- `height` float NOT NULL,
- `depth` float NOT NULL,
- `weight` float NOT NULL DEFAULT '0',
- `out_of_stock` int(10) unsigned NOT NULL DEFAULT '2',
- `quantity_discount` tinyint(1) DEFAULT '0',
- `customizable` tinyint(2) NOT NULL DEFAULT '0',
- `uploadable_files` tinyint(4) NOT NULL DEFAULT '0',
- `text_fields` tinyint(4) NOT NULL DEFAULT '0',
- `active` tinyint(1) unsigned NOT NULL DEFAULT '0',
- `available_for_order` tinyint(1) NOT NULL DEFAULT '1',
- `condition` enum('new','used','refurbished') NOT NULL DEFAULT 'new',
- `show_price` tinyint(1) NOT NULL DEFAULT '1',
- `indexed` tinyint(1) NOT NULL DEFAULT '0',
- `cache_is_pack` tinyint(1) NOT NULL DEFAULT '0',
- `cache_has_attachments` tinyint(1) NOT NULL DEFAULT '0',
- `cache_default_attribute` int(10) unsigned DEFAULT NULL,
- `date_add` datetime NOT NULL,
- `date_upd` datetime NOT NULL,
- PRIMARY KEY (`id_product`),
- KEY `product_supplier` (`id_supplier`),
- KEY `product_manufacturer` (`id_manufacturer`),
- KEY `date_add` (`date_add`),
- KEY `id_category_default` (`id_category_default`),
- KEY `id_color_default` (`id_color_default`)
- ) ENGINE=InnoDB AUTO_INCREMENT=3427 DEFAULT CHARSET=utf8 COMMENT='Таблица товаров'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement