MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_goods_favor:/tablelist/okayapi_shopxo_s_goods_favor.html
-- MySQL Table okayapi_shopxo_s_goods_favor
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_goods_favor` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品id',
`user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
KEY `goods_id` (`goods_id`),
KEY `user_id` (`user_id`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ShopXO商城-用户商品收藏';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-2 of 2 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
goods_id | int(11) | 0 | 否 | 商品id | 0 | |
user_id | int(11) | 0 | 否 | 用户id | 0 |