MySQL Create Table SQL
Table Structure: okayapi_openant_user_cart:/tablelist/okayapi_openant_user_cart.html
-- MySQL Table okayapi_openant_user_cart
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_user_cart` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`rowid` varchar(128) NULL COMMENT '',
`user_id` int(11) NULL COMMENT '',
`qty` int(11) NULL COMMENT '',
`price` float(15,3) NULL COMMENT '',
`okayapi_openant_user_cart_name` varchar(128) NULL COMMENT '',
`okayapi_openant_user_cart_options` varchar(128) NULL COMMENT '',
`points` int(11) NULL COMMENT '',
`preferential_type` varchar(25) NULL COMMENT '',
`preferential_value` float(15,3) NULL COMMENT '',
`date_added` datetime NULL COMMENT '',
KEY `rowid` (`rowid`),
KEY `user_id` (`user_id`),
KEY `qty` (`qty`),
KEY `price` (`price`),
KEY `okayapi_openant_user_cart_name` (`okayapi_openant_user_cart_name`),
KEY `okayapi_openant_user_cart_options` (`okayapi_openant_user_cart_options`),
KEY `points` (`points`),
KEY `preferential_type` (`preferential_type`),
KEY `preferential_value` (`preferential_value`),
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-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
rowid | varchar(128) | 否 | ||||
user_id | int(11) | 否 | ||||
qty | int(11) | 否 | ||||
price | float(15,3) | 否 | ||||
okayapi_openant_user_cart_name | varchar(128) | 否 | ||||
okayapi_openant_user_cart_options | varchar(128) | 否 | ||||
points | int(11) | 否 | ||||
preferential_type | varchar(25) | 否 | ||||
preferential_value | float(15,3) | 否 | ||||
date_added | datetime | 是 |