MySQL Create Table SQL
Table Structure: okayapi_openant_product_to_category:/tablelist/okayapi_openant_product_to_category.html
-- MySQL Table okayapi_openant_product_to_category
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_product_to_category` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`product_id` int(11) NOT NULL COMMENT '',
`category_id` int(11) NOT NULL COMMENT '',
`parent_id` int(11) NOT NULL COMMENT '',
`child_id` int(11) NOT NULL COMMENT '',
`store_id` int(11) NOT NULL COMMENT '',
`date_added` datetime NOT NULL COMMENT '',
KEY `product_id` (`product_id`),
KEY `category_id` (`category_id`),
KEY `parent_id` (`parent_id`),
KEY `child_id` (`child_id`),
KEY `store_id` (`store_id`),
KEY `date_added` (`date_added`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'openant电商-商品分类';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
product_id | int(11) | 否 | ||||
category_id | int(11) | 否 | ||||
parent_id | int(11) | 否 | ||||
child_id | int(11) | 否 | ||||
store_id | int(11) | 否 | ||||
date_added | datetime | 否 |