MySQL Create Table SQL
Table Structure: okayapi_openant_store:/tablelist/okayapi_openant_store.html
-- MySQL Table okayapi_openant_store
-- From: OkayAPI.com
CREATE TABLE `okayapi_openant_store` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`store_id` int(11) NOT NULL COMMENT '',
`url` varchar(255) NOT NULL COMMENT '',
`ratings` float(11,4) NOT NULL COMMENT '',
`quality` float(11,4) NOT NULL COMMENT '',
`attitude` float(11,4) NOT NULL COMMENT '',
`store_address_id` int(11) NOT NULL COMMENT '',
`store_status` tinyint(1) NOT NULL COMMENT '',
`date_added` datetime NOT NULL COMMENT '',
`date_invalid` datetime NOT NULL COMMENT '屏蔽时限',
`okayapi_openant_store_check` tinyint(1) NOT NULL COMMENT '',
KEY `store_id` (`store_id`),
KEY `url` (`url`),
KEY `ratings` (`ratings`),
KEY `quality` (`quality`),
KEY `attitude` (`attitude`),
KEY `store_address_id` (`store_address_id`),
KEY `store_status` (`store_status`),
KEY `date_added` (`date_added`),
KEY `date_invalid` (`date_invalid`),
KEY `okayapi_openant_store_check` (`okayapi_openant_store_check`),
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 |
---|---|---|---|---|---|---|
store_id | int(11) | 否 | ||||
url | varchar(255) | 否 | ||||
ratings | float(11,4) | 否 | ||||
quality | float(11,4) | 否 | ||||
attitude | float(11,4) | 否 | ||||
store_address_id | int(11) | 否 | ||||
store_status | tinyint(1) | 否 | ||||
date_added | datetime | 否 | ||||
date_invalid | datetime | 否 | 屏蔽时限 | |||
okayapi_openant_store_check | tinyint(1) | 否 |