MySQL Create Table SQL
Table Structure: okayapi_ios_rank:/tablelist/okayapi_ios_rank.html
-- MySQL Table okayapi_ios_rank
-- From: OkayAPI.com
CREATE TABLE `okayapi_ios_rank` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`country` varchar(20) NULL COMMENT '国家或地区',
`feed_type` varchar(20) NULL COMMENT 'Feed类型',
`app_type` varchar(20) NULL COMMENT '类型',
`artistName` varchar(100) NULL COMMENT '作者姓名',
`apple_id` varchar(20) NULL COMMENT '苹果ID',
`apple_name` varchar(200) NULL COMMENT 'App应用名称',
`kind` varchar(50) NULL COMMENT 'kind分类',
`genre` varchar(100) NULL COMMENT '多个标签',
`url` varchar(500) NULL COMMENT 'App地址',
`feed_id` int(11) NULL DEFAULT '0' COMMENT '批次ID',
`rank_pos` int(11) NULL DEFAULT '0' COMMENT '返回序号',
`artwork_url` varchar(500) NULL COMMENT 'artwork_url',
`artwork_height` int(11) NULL DEFAULT '0' COMMENT 'artwork_height',
`artwork_width` int(11) NULL DEFAULT '0' COMMENT 'artwork_width',
`artwork_2x_url` varchar(500) NULL COMMENT 'artwork_2x_url',
`artwork_2x_height` int(11) NULL DEFAULT '0' COMMENT 'artwork_2x_height',
`artwork_2x_width` int(11) NULL DEFAULT '0' COMMENT 'artwork_2x_width',
`release_date` varchar(50) NULL COMMENT 'release_date',
`parental_control_attributes` text NULL COMMENT 'parental_control_attributes',
`user_rating` varchar(20) NULL COMMENT 'user_rating',
`user_rating_count` varchar(20) NULL COMMENT 'user_rating_count',
`buyData` text NULL COMMENT 'buyData',
`button_text` varchar(20) NULL COMMENT 'button_text',
`is_universal_app` varchar(10) NULL COMMENT 'is_universal_app',
KEY `country` (`country`),
KEY `feed_type` (`feed_type`),
KEY `app_type` (`app_type`),
KEY `artistName` (`artistName`),
KEY `apple_id` (`apple_id`),
KEY `apple_name` (`apple_name`),
KEY `kind` (`kind`),
KEY `genre` (`genre`),
KEY `url` (`url`),
KEY `feed_id` (`feed_id`),
KEY `rank_pos` (`rank_pos`),
KEY `artwork_url` (`artwork_url`),
KEY `artwork_height` (`artwork_height`),
KEY `artwork_width` (`artwork_width`),
KEY `artwork_2x_url` (`artwork_2x_url`),
KEY `artwork_2x_height` (`artwork_2x_height`),
KEY `artwork_2x_width` (`artwork_2x_width`),
KEY `release_date` (`release_date`),
KEY `parental_control_attributes` (`parental_control_attributes`),
KEY `user_rating` (`user_rating`),
KEY `user_rating_count` (`user_rating_count`),
KEY `buyData` (`buyData`),
KEY `button_text` (`button_text`),
KEY `is_universal_app` (`is_universal_app`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'App Store排行榜';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-24 of 24 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
country | varchar(20) | 是 | 国家或地区 | |||
feed_type | varchar(20) | 是 | Feed类型 | |||
app_type | varchar(20) | 是 | 类型 | |||
artistName | varchar(100) | 是 | 作者姓名 | |||
apple_id | varchar(20) | 是 | 苹果ID | |||
apple_name | varchar(200) | 是 | App应用名称 | |||
kind | varchar(50) | 是 | kind分类 | |||
genre | varchar(100) | 是 | 多个标签 | |||
url | varchar(500) | 是 | App地址 | |||
feed_id | int(11) | 0 | 是 | 批次ID | 0 | |
rank_pos | int(11) | 0 | 是 | 返回序号 | 0 | |
artwork_url | varchar(500) | 是 | artwork_url | |||
artwork_height | int(11) | 0 | 是 | artwork_height | 0 | |
artwork_width | int(11) | 0 | 是 | artwork_width | 0 | |
artwork_2x_url | varchar(500) | 是 | artwork_2x_url | |||
artwork_2x_height | int(11) | 0 | 是 | artwork_2x_height | 0 | |
artwork_2x_width | int(11) | 0 | 是 | artwork_2x_width | 0 | |
release_date | varchar(50) | 是 | release_date | |||
parental_control_attributes | text | 是 | parental_control_attributes | |||
user_rating | varchar(20) | 是 | user_rating | |||
user_rating_count | varchar(20) | 是 | user_rating_count | |||
buyData | text | 是 | buyData | |||
button_text | varchar(20) | 是 | button_text | |||
is_universal_app | varchar(10) | 是 | is_universal_app |